This repository template helps you generate JSII construct library for AWS CDK.
- customize your
.projenrc.js
- run
npx projen
to generate thepackage.json
and.github/workflows
from.projenrc.js
yarn install
to install all required npm packages
- run
yarn watch
in a seperate terminal - edit
test/integ.api.ts
cdk diff
andcdk deploy
cdk --app 'test/integ.api.js' diff
cdk --app 'test/integ.api.js' deploy
- validate the stack
- edit
test/*.test.ts
- run
yarn test
Command | Description |
---|---|
yarn install |
Install dependencies |
yarn compile |
Compile to JavaScript |
yarn watch |
Watch for changes and compile |
yarn test |
Run tests |
yarn run package |
Create dist with bundles for all languages |
yarn build |
Compile + test + package |
yarn bump |
Bump a new version (based on conventional commits) |
yarn compat |
Run API compatibility check against latest |