This is a blank project for AWS CDK development with TypeScript. The app is executed with tsx and tested with Vitest.
The cdk.json file tells the CDK Toolkit how to execute your app.
- Node.js >= 24
- pnpm >= 10 (
corepack enable pnpm)
pnpm install
pnpm buildcompile typescript to jspnpm watchwatch for changes and compilepnpm testrun the Vitest unit testspnpm cdk synthemits the synthesized CloudFormation templatepnpm cdk diffcompare deployed stack with current statepnpm cdk deploydeploy this stack to your default AWS account/regionpnpm lintlint the source with ESLint (flat config ineslint.config.mjs)pnpm formatformat the codebase with Prettier
The prepare script wires husky so lint-staged runs ESLint and Prettier on every commit.
