0.2.3 • Published 4 years ago
@jet-cdk/jet-nx v0.2.3
jet-nx
Nx support for @jet-cdk/jet
Usage
Install
npm install -D @jet-cdk/jet-nxGenerate
To generate a new app using jet:
nx g @jet-cdk/jet-nx:jet-cdk-appTo add jet tasks and a basic ts-focused config file to your existing cdk app:
nx g @jet-cdk/jet-nx:add-to-cdk-appIt is recommended to set some default stages in the jet config file to avoid having to pass them in repeatedly.
List stages
After generating to list stages:
nx list-stages my-appDevelop
To enter the development workflow:
nx dev my-app --stage=dev-chrisYou may also add varying configurations to your workspace.json, running against different stages and stacks
Deploy
nx deploy my-app --stage=productionThe original cdk deploy target is renamed to cdk-deploy.