This template is an opinionated template on top of AWS CDK v2 default Typescript template.
It adds:
- Linting through ESLint with Prettier and Typescript;
- Git hooks through Husky (before commit and before push);
- CI/CD through GitHub Actions;
- Node 14 as default through
.nvmrc
andtsconfig.json
; - Dependabot to update dependencies (NPM and Actions);
Rename files, especially the stack file, in order to bring a better naming to your project.
npm test
: runs Jestcdk:synth
: shorthand tocdk synth
cdk:deploy
: shorthand tocdk deploy --all
lint
: runs ESLint with some configurationlint:fix
: same aslint
but--fix
is applied