aws-cdk 2.12.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/bin/cdk.d.ts +1 -3
- package/bin/cdk.js +3 -511
- package/build-info.json +2 -2
- package/lib/api/aws-auth/sdk.d.ts +2 -0
- package/lib/api/aws-auth/sdk.js +4 -1
- package/lib/api/cxapp/cloud-executable.js +12 -8
- package/lib/api/evaluate-cloudformation-template.js +34 -2
- package/lib/api/hotswap/appsync-mapping-templates.d.ts +3 -0
- package/lib/api/hotswap/appsync-mapping-templates.js +69 -0
- package/lib/api/hotswap-deployments.js +3 -1
- package/lib/cli.d.ts +3 -0
- package/lib/cli.js +545 -0
- package/lib/commands/context.d.ts +0 -16
- package/lib/commands/context.js +2 -20
- package/lib/commands/docs.d.ts +0 -13
- package/lib/commands/docs.js +2 -19
- package/lib/commands/doctor.d.ts +0 -5
- package/lib/commands/doctor.js +2 -9
- package/lib/index.d.ts +3 -0
- package/lib/index.js +17 -0
- package/lib/init-templates/v1/app/javascript/README.md +5 -5
- package/lib/init-templates/v1/app/typescript/README.md +7 -7
- package/lib/init-templates/v1/lib/typescript/README.template.md +4 -4
- package/lib/init-templates/v1/sample-app/javascript/README.template.md +7 -6
- package/lib/init-templates/v1/sample-app/typescript/README.template.md +9 -9
- package/lib/init-templates/v2/app/javascript/README.md +5 -5
- package/lib/init-templates/v2/app/typescript/README.md +7 -7
- package/lib/init-templates/v2/lib/typescript/README.template.md +4 -4
- package/lib/init-templates/v2/sample-app/javascript/README.template.md +5 -5
- package/lib/init-templates/v2/sample-app/typescript/README.template.md +7 -7
- package/npm-shrinkwrap.json +75 -31
- package/package.json +11 -11
- package/test/api/cloud-executable.test.js +57 -32
- package/test/api/hotswap/appsync-mapping-templates-hotswap-deployments.test.d.ts +1 -0
- package/test/api/hotswap/appsync-mapping-templates-hotswap-deployments.test.js +336 -0
- package/test/api/hotswap/hotswap-test-setup.d.ts +1 -0
- package/test/api/hotswap/hotswap-test-setup.js +4 -1
- package/test/api/hotswap/state-machine-hotswap-deployments.test.js +72 -1
- package/test/cdk-docs.test.js +4 -7
- package/test/cdk-doctor.test.js +3 -4
- package/test/util/mock-sdk.d.ts +6 -0
- package/test/util/mock-sdk.js +11 -1
package/README.md
CHANGED
|
@@ -368,6 +368,7 @@ Hotswapping is currently supported for the following changes
|
|
|
368
368
|
- Container asset changes of AWS ECS Services.
|
|
369
369
|
- Website asset changes of AWS S3 Bucket Deployments.
|
|
370
370
|
- Source and Environment changes of AWS CodeBuild Projects.
|
|
371
|
+
- VTL mapping template changes for AppSync Resolvers and Functions
|
|
371
372
|
|
|
372
373
|
**⚠ Note #1**: This command deliberately introduces drift in CloudFormation stacks in order to speed up deployments.
|
|
373
374
|
For this reason, only use it for development purposes.
|
|
@@ -549,8 +550,8 @@ Some of the interesting keys that can be used in the JSON configuration files:
|
|
|
549
550
|
```
|
|
550
551
|
|
|
551
552
|
If specified, the command in the `build` key will be executed immediately before synthesis.
|
|
552
|
-
This can be used to build Lambda Functions, CDK Application code, or other assets.
|
|
553
|
-
`build` cannot be specified on the command line or in the User configuration,
|
|
553
|
+
This can be used to build Lambda Functions, CDK Application code, or other assets.
|
|
554
|
+
`build` cannot be specified on the command line or in the User configuration,
|
|
554
555
|
and must be specified in the Project configuration. The command specified
|
|
555
556
|
in `build` will be executed by the "watch" process before deployment.
|
|
556
557
|
|
package/bin/cdk.d.ts
CHANGED