diff --git a/CHANGELOG.md b/CHANGELOG.md index f17e3f8c0c122..fefc44ddda89d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ + +## [0.15.2](https://github.com/awslabs/aws-cdk/compare/v0.15.1...v0.15.2) (2018-11-08) + + +### Bug Fixes + +* correctly emit quoted YAML for account numbers ([#1105](https://github.com/awslabs/aws-cdk/issues/1105)) ([b4d9155](https://github.com/awslabs/aws-cdk/commit/b4d9155)), closes [#1100](https://github.com/awslabs/aws-cdk/issues/1100) [#1098](https://github.com/awslabs/aws-cdk/issues/1098) +* **aws-ecs:** fix use of published NPM package with TypeScript ([#1117](https://github.com/awslabs/aws-cdk/issues/1117)) ([ebfb522](https://github.com/awslabs/aws-cdk/commit/ebfb522)) + + +### Features + +* **aws-ecs:** Add desired count to LoadBalanced[Fargate|EC2]Service ([#1111](https://github.com/awslabs/aws-cdk/issues/1111)) ([cafcc11](https://github.com/awslabs/aws-cdk/commit/cafcc11)) + ## [0.15.1](https://github.com/awslabs/aws-cdk/compare/v0.15.0...v0.15.1) (2018-11-06) diff --git a/examples/cdk-examples-java/package.json b/examples/cdk-examples-java/package.json index 882e17c505a21..ab5f2694b0e26 100644 --- a/examples/cdk-examples-java/package.json +++ b/examples/cdk-examples-java/package.json @@ -1,6 +1,6 @@ { "name": "cdk-examples-java", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK examples in Java", "private": true, "repository": { @@ -22,7 +22,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "aws-cdk": "^0.15.1", - "pkgtools": "^0.15.1" + "aws-cdk": "^0.15.2", + "pkgtools": "^0.15.2" } } diff --git a/examples/cdk-examples-typescript/package.json b/examples/cdk-examples-typescript/package.json index 2a4f5c506f9de..11d947956463f 100644 --- a/examples/cdk-examples-typescript/package.json +++ b/examples/cdk-examples-typescript/package.json @@ -1,6 +1,6 @@ { "name": "cdk-examples-typescript", - "version": "0.15.1", + "version": "0.15.2", "description": "A bunch of CDK examples", "private": true, "scripts": { @@ -18,28 +18,28 @@ }, "license": "Apache-2.0", "devDependencies": { - "aws-cdk": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "aws-cdk": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-autoscaling": "^0.15.1", - "@aws-cdk/aws-cloudformation": "^0.15.1", - "@aws-cdk/aws-cognito": "^0.15.1", - "@aws-cdk/aws-dynamodb": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-ecs": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancing": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-neptune": "^0.15.1", - "@aws-cdk/aws-rds": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", - "@aws-cdk/aws-sqs": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1", - "@aws-cdk/runtime-values": "^0.15.1" + "@aws-cdk/aws-autoscaling": "^0.15.2", + "@aws-cdk/aws-cloudformation": "^0.15.2", + "@aws-cdk/aws-cognito": "^0.15.2", + "@aws-cdk/aws-dynamodb": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-ecs": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancing": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-neptune": "^0.15.2", + "@aws-cdk/aws-rds": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", + "@aws-cdk/aws-sqs": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2", + "@aws-cdk/runtime-values": "^0.15.2" }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", diff --git a/lerna.json b/lerna.json index 963d6fd81d2a2..6efdd09ba0266 100644 --- a/lerna.json +++ b/lerna.json @@ -14,5 +14,5 @@ } }, "rejectCycles": "true", - "version": "0.15.1" + "version": "0.15.2" } diff --git a/packages/@aws-cdk/app-delivery/package.json b/packages/@aws-cdk/app-delivery/package.json index 8f47d4cae740a..4ca03ea7a9cc9 100644 --- a/packages/@aws-cdk/app-delivery/package.json +++ b/packages/@aws-cdk/app-delivery/package.json @@ -1,7 +1,7 @@ { "name": "@aws-cdk/app-delivery", "description": "Continuous Integration / Continuous Delivery for CDK Applications", - "version": "0.15.1", + "version": "0.15.2", "main": "lib/index.js", "types": "lib/index.d.ts", "jsii": { @@ -32,19 +32,19 @@ "integ": "cdk-integ" }, "dependencies": { - "@aws-cdk/aws-cloudformation": "^0.15.1", - "@aws-cdk/aws-codebuild": "^0.15.1", - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1" + "@aws-cdk/aws-cloudformation": "^0.15.2", + "@aws-cdk/aws-codebuild": "^0.15.2", + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2" }, "devDependencies": { - "@aws-cdk/aws-codepipeline": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", + "@aws-cdk/aws-codepipeline": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", "fast-check": "^1.7.0", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "repository": { "type": "git", diff --git a/packages/@aws-cdk/applet-js/bin/cdk-applet-js.ts b/packages/@aws-cdk/applet-js/bin/cdk-applet-js.ts index 1569888fb6314..f75a94a1338f3 100644 --- a/packages/@aws-cdk/applet-js/bin/cdk-applet-js.ts +++ b/packages/@aws-cdk/applet-js/bin/cdk-applet-js.ts @@ -4,9 +4,9 @@ import 'source-map-support/register'; import cdk = require('@aws-cdk/cdk'); import child_process = require('child_process'); import fs = require('fs-extra'); -import YAML = require('js-yaml'); import os = require('os'); import path = require('path'); +import YAML = require('yaml'); import { isStackConstructor, parseApplet } from '../lib/applet-helpers'; @@ -25,7 +25,7 @@ async function main() { } // read applet(s) properties from the provided file - const fileContents = YAML.safeLoad(await fs.readFile(appletFile, { encoding: 'utf-8' })); + const fileContents = YAML.parse(await fs.readFile(appletFile, { encoding: 'utf-8' })); if (typeof fileContents !== 'object') { throw new Error(`${appletFile}: should contain a YAML object`); } diff --git a/packages/@aws-cdk/applet-js/package.json b/packages/@aws-cdk/applet-js/package.json index b272b1d811376..05b8e5e15457b 100644 --- a/packages/@aws-cdk/applet-js/package.json +++ b/packages/@aws-cdk/applet-js/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/applet-js", - "version": "0.15.1", + "version": "0.15.2", "description": "Javascript CDK applet host program", "main": "bin/cdk-applet-js.js", "types": "bin/cdk-applet-js.d.ts", @@ -23,15 +23,15 @@ "license": "Apache-2.0", "devDependencies": { "@types/fs-extra": "^5.0.4", - "@types/js-yaml": "^3.11.2", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "@types/yaml": "^1.0.0", + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1", + "@aws-cdk/cdk": "^0.15.2", "fs-extra": "^7.0.0", "source-map-support": "^0.5.6", - "js-yaml": "^3.12.0" + "yaml": "^1.0.1" }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", diff --git a/packages/@aws-cdk/assert/package.json b/packages/@aws-cdk/assert/package.json index 125b50965dd80..1d925f9744b0b 100644 --- a/packages/@aws-cdk/assert/package.json +++ b/packages/@aws-cdk/assert/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/assert", - "version": "0.15.1", + "version": "0.15.2", "description": "An assertion library for use with CDK Apps", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -23,13 +23,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1", - "@aws-cdk/cloudformation-diff": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1", + "@aws-cdk/cdk": "^0.15.2", + "@aws-cdk/cloudformation-diff": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2", "source-map-support": "^0.5.6" }, "repository": { diff --git a/packages/@aws-cdk/assets/package.json b/packages/@aws-cdk/assets/package.json index b676dcb618fe3..0228efba8beb4 100644 --- a/packages/@aws-cdk/assets/package.json +++ b/packages/@aws-cdk/assets/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/assets", - "version": "0.15.1", + "version": "0.15.2", "description": "Integration of CDK apps with local assets", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -49,17 +49,17 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "aws-cdk": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "aws-cdk": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-amazonmq/package.json b/packages/@aws-cdk/aws-amazonmq/package.json index c1ec1f197be06..d69f08efb0003 100644 --- a/packages/@aws-cdk/aws-amazonmq/package.json +++ b/packages/@aws-cdk/aws-amazonmq/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-amazonmq", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::AmazonMQ", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,13 +53,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "peerDependencies": { "@aws-cdk/cdk": "^0.15.1" diff --git a/packages/@aws-cdk/aws-apigateway/package.json b/packages/@aws-cdk/aws-apigateway/package.json index 1290108811327..b2294ed74081b 100644 --- a/packages/@aws-cdk/aws-apigateway/package.json +++ b/packages/@aws-cdk/aws-apigateway/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-apigateway", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ApiGateway", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,16 +52,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-applicationautoscaling/package.json b/packages/@aws-cdk/aws-applicationautoscaling/package.json index 6947779bd77bc..fb6c51ad45796 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/package.json +++ b/packages/@aws-cdk/aws-applicationautoscaling/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-applicationautoscaling", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ApplicationAutoScaling", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,16 +52,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", "fast-check": "^1.6.1", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-appstream/package.json b/packages/@aws-cdk/aws-appstream/package.json index fa034a96cd8cf..1e49e3243c685 100644 --- a/packages/@aws-cdk/aws-appstream/package.json +++ b/packages/@aws-cdk/aws-appstream/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-appstream", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::AppStream", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,12 +53,12 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" } } diff --git a/packages/@aws-cdk/aws-appsync/package.json b/packages/@aws-cdk/aws-appsync/package.json index 269f4831689d0..370423714e8c3 100644 --- a/packages/@aws-cdk/aws-appsync/package.json +++ b/packages/@aws-cdk/aws-appsync/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-appsync", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::AppSync", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-athena/package.json b/packages/@aws-cdk/aws-athena/package.json index 4f19af7c8af32..4bff8f8f55db6 100644 --- a/packages/@aws-cdk/aws-athena/package.json +++ b/packages/@aws-cdk/aws-athena/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-athena", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Athena", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-autoscaling/package.json b/packages/@aws-cdk/aws-autoscaling/package.json index e08981e82559e..759304662e911 100644 --- a/packages/@aws-cdk/aws-autoscaling/package.json +++ b/packages/@aws-cdk/aws-autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-autoscaling", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::AutoScaling", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,19 +52,19 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancing": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancing": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-autoscalingplans/package.json b/packages/@aws-cdk/aws-autoscalingplans/package.json index cc026a54a80e9..7a8fcf502b541 100644 --- a/packages/@aws-cdk/aws-autoscalingplans/package.json +++ b/packages/@aws-cdk/aws-autoscalingplans/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-autoscalingplans", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::AutoScalingPlans", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-batch/package.json b/packages/@aws-cdk/aws-batch/package.json index b6bc52999612a..30d6607b7905e 100644 --- a/packages/@aws-cdk/aws-batch/package.json +++ b/packages/@aws-cdk/aws-batch/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-batch", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Batch", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-budgets/package.json b/packages/@aws-cdk/aws-budgets/package.json index 9f392958c4cbe..c5b6cba318f7b 100644 --- a/packages/@aws-cdk/aws-budgets/package.json +++ b/packages/@aws-cdk/aws-budgets/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-budgets", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Budgets", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-certificatemanager/package.json b/packages/@aws-cdk/aws-certificatemanager/package.json index 39a4656f245f8..ef35a3e02d472 100644 --- a/packages/@aws-cdk/aws-certificatemanager/package.json +++ b/packages/@aws-cdk/aws-certificatemanager/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-certificatemanager", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::CertificateManager", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,14 +52,14 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-cloud9/package.json b/packages/@aws-cdk/aws-cloud9/package.json index 83a624987b3f5..a48fa3c2e8c0b 100644 --- a/packages/@aws-cdk/aws-cloud9/package.json +++ b/packages/@aws-cdk/aws-cloud9/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-cloud9", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Cloud9", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-cloudformation/package.json b/packages/@aws-cdk/aws-cloudformation/package.json index 750264f3443ca..0af4af8b83284 100644 --- a/packages/@aws-cdk/aws-cloudformation/package.json +++ b/packages/@aws-cdk/aws-cloudformation/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-cloudformation", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS CloudFormation", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -56,21 +56,21 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", "@types/lodash": "^4.14.116", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", "lodash": "^4.17.11", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-cloudfront/package.json b/packages/@aws-cdk/aws-cloudfront/package.json index 6cb079b0ec449..9d6790a2079c9 100644 --- a/packages/@aws-cdk/aws-cloudfront/package.json +++ b/packages/@aws-cdk/aws-cloudfront/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-cloudfront", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS CloudFront", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,19 +52,19 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", "aws-sdk": "^2.259.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-certificatemanager": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-certificatemanager": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-cloudtrail/package.json b/packages/@aws-cdk/aws-cloudtrail/package.json index d24a284a89cdd..67510f9939e07 100644 --- a/packages/@aws-cdk/aws-cloudtrail/package.json +++ b/packages/@aws-cdk/aws-cloudtrail/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-cloudtrail", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS CloudTrail", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -51,19 +51,19 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", "aws-sdk": "^2.259.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", "colors": "^1.2.1", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/aws-logs": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/aws-logs": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-cloudwatch/package.json b/packages/@aws-cdk/aws-cloudwatch/package.json index 4ddece0193076..76e39dfe374d6 100644 --- a/packages/@aws-cdk/aws-cloudwatch/package.json +++ b/packages/@aws-cdk/aws-cloudwatch/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-cloudwatch", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS CloudWatch", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,15 +52,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-codebuild/package.json b/packages/@aws-cdk/aws-codebuild/package.json index 089b89c204ee4..8bad4c728ca18 100644 --- a/packages/@aws-cdk/aws-codebuild/package.json +++ b/packages/@aws-cdk/aws-codebuild/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-codebuild", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS CodeBuild", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -55,25 +55,25 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", - "@aws-cdk/aws-sqs": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", + "@aws-cdk/aws-sqs": "^0.15.2", "aws-sdk": "^2.259.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/assets": "^0.15.1", - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-codecommit": "^0.15.1", - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/assets": "^0.15.2", + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-codecommit": "^0.15.2", + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-codecommit/package.json b/packages/@aws-cdk/aws-codecommit/package.json index 96cdcf82e5cab..98ea84ef693b8 100644 --- a/packages/@aws-cdk/aws-codecommit/package.json +++ b/packages/@aws-cdk/aws-codecommit/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-codecommit", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS CodeCommit", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -56,19 +56,19 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", "aws-sdk": "^2.259.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-codedeploy-api/package.json b/packages/@aws-cdk/aws-codedeploy-api/package.json index fffdba3c731b9..4e65ec30880d6 100644 --- a/packages/@aws-cdk/aws-codedeploy-api/package.json +++ b/packages/@aws-cdk/aws-codedeploy-api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-codedeploy-api", - "version": "0.15.1", + "version": "0.15.2", "description": "Load Balancer API for AWS CodeDeploy", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -49,13 +49,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk" } diff --git a/packages/@aws-cdk/aws-codedeploy/package.json b/packages/@aws-cdk/aws-codedeploy/package.json index 8f9c7b336cfd3..16c06ab997ee0 100644 --- a/packages/@aws-cdk/aws-codedeploy/package.json +++ b/packages/@aws-cdk/aws-codedeploy/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-codedeploy", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::CodeDeploy", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,23 +52,23 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancing": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancing": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-autoscaling": "^0.15.1", - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-codedeploy-api": "^0.15.1", - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-autoscaling": "^0.15.2", + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-codedeploy-api": "^0.15.2", + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-codepipeline-api/package.json b/packages/@aws-cdk/aws-codepipeline-api/package.json index c3f401d5cdb1d..d01531003e90f 100644 --- a/packages/@aws-cdk/aws-codepipeline-api/package.json +++ b/packages/@aws-cdk/aws-codepipeline-api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-codepipeline-api", - "version": "0.15.1", + "version": "0.15.2", "description": "Actions API for AWS Code Pipeline", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,15 +52,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-codepipeline/package.json b/packages/@aws-cdk/aws-codepipeline/package.json index 5ee81092c61f8..25ba794b27bd0 100644 --- a/packages/@aws-cdk/aws-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codepipeline/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-codepipeline", - "version": "0.15.1", + "version": "0.15.2", "description": "Better interface to AWS Code Pipeline", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -58,24 +58,24 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-cloudformation": "^0.15.1", - "@aws-cdk/aws-codebuild": "^0.15.1", - "@aws-cdk/aws-codecommit": "^0.15.1", - "@aws-cdk/aws-codedeploy": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-cloudformation": "^0.15.2", + "@aws-cdk/aws-codebuild": "^0.15.2", + "@aws-cdk/aws-codecommit": "^0.15.2", + "@aws-cdk/aws-codedeploy": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-cognito/package.json b/packages/@aws-cdk/aws-cognito/package.json index 5b77c64de10d7..5908b605fb4a8 100644 --- a/packages/@aws-cdk/aws-cognito/package.json +++ b/packages/@aws-cdk/aws-cognito/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-cognito", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Cognito", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-config/package.json b/packages/@aws-cdk/aws-config/package.json index d49f72e857b03..648511004af74 100644 --- a/packages/@aws-cdk/aws-config/package.json +++ b/packages/@aws-cdk/aws-config/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-config", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Config", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-datapipeline/package.json b/packages/@aws-cdk/aws-datapipeline/package.json index b2d71015ed1e1..3e16bd584fdeb 100644 --- a/packages/@aws-cdk/aws-datapipeline/package.json +++ b/packages/@aws-cdk/aws-datapipeline/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-datapipeline", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::DataPipeline", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-dax/package.json b/packages/@aws-cdk/aws-dax/package.json index 9e52ed1bee504..e394835510912 100644 --- a/packages/@aws-cdk/aws-dax/package.json +++ b/packages/@aws-cdk/aws-dax/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-dax", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::DAX", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-directoryservice/package.json b/packages/@aws-cdk/aws-directoryservice/package.json index 380ebee285f5f..7233b695ba1aa 100644 --- a/packages/@aws-cdk/aws-directoryservice/package.json +++ b/packages/@aws-cdk/aws-directoryservice/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-directoryservice", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::DirectoryService", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-dms/package.json b/packages/@aws-cdk/aws-dms/package.json index 7ea51194dc93c..39638920a60f5 100644 --- a/packages/@aws-cdk/aws-dms/package.json +++ b/packages/@aws-cdk/aws-dms/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-dms", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::DMS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-dynamodb/package.json b/packages/@aws-cdk/aws-dynamodb/package.json index b3f91ea6d2a0c..c4175aef7040b 100644 --- a/packages/@aws-cdk/aws-dynamodb/package.json +++ b/packages/@aws-cdk/aws-dynamodb/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-dynamodb", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS DynamoDB", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,16 +52,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-applicationautoscaling": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-applicationautoscaling": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-ec2/package.json b/packages/@aws-cdk/aws-ec2/package.json index a72f8dc737240..323fcb4c173fb 100644 --- a/packages/@aws-cdk/aws-ec2/package.json +++ b/packages/@aws-cdk/aws-ec2/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-ec2", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS EC2", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,15 +52,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-ecr/package.json b/packages/@aws-cdk/aws-ecr/package.json index caf6880aa6dd4..daa0bdeef07e5 100644 --- a/packages/@aws-cdk/aws-ecr/package.json +++ b/packages/@aws-cdk/aws-ecr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-ecr", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ECR", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,15 +52,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-ecs/README.md b/packages/@aws-cdk/aws-ecs/README.md index dd6ab6f81859a..dd405828938c9 100644 --- a/packages/@aws-cdk/aws-ecs/README.md +++ b/packages/@aws-cdk/aws-ecs/README.md @@ -172,7 +172,7 @@ obtained from either DockerHub or from ECR repositories: DockerHub. * `ecs.ContaienrImage.fromEcrRepository(repo, tag)`: use the given ECR repository as the image to start. -* `ecs.ContainerImage.fromAsset({ directory: './image' })`: build and upload an +* `ecs.ContainerImage.fromAsset(this, 'Image', { directory: './image' })`: build and upload an image directly from a `Dockerfile` in your source directory. ### Service diff --git a/packages/@aws-cdk/aws-ecs/lib/fargate/fargate-task-definition.ts b/packages/@aws-cdk/aws-ecs/lib/fargate/fargate-task-definition.ts index 2c700e03ffd71..475e90faa2d01 100644 --- a/packages/@aws-cdk/aws-ecs/lib/fargate/fargate-task-definition.ts +++ b/packages/@aws-cdk/aws-ecs/lib/fargate/fargate-task-definition.ts @@ -46,7 +46,10 @@ export class FargateTaskDefinition extends TaskDefinition { /** * The configured network mode */ - public readonly networkMode = NetworkMode.AwsVpc; + public readonly networkMode: NetworkMode = NetworkMode.AwsVpc; + // NOTE: Until the fix to https://github.com/Microsoft/TypeScript/issues/26969 gets released, + // we need to explicitly write the type here, as type deduction for enums won't lead to + // the import being generated in the .d.ts file. constructor(parent: cdk.Construct, name: string, props: FargateTaskDefinitionProps = {}) { super(parent, name, { diff --git a/packages/@aws-cdk/aws-ecs/lib/load-balanced-ecs-service.ts b/packages/@aws-cdk/aws-ecs/lib/load-balanced-ecs-service.ts index 6979ecacb8bfd..e3657437dff73 100644 --- a/packages/@aws-cdk/aws-ecs/lib/load-balanced-ecs-service.ts +++ b/packages/@aws-cdk/aws-ecs/lib/load-balanced-ecs-service.ts @@ -54,6 +54,13 @@ export interface LoadBalancedEc2ServiceProps { * @default true */ publicLoadBalancer?: boolean; + + /** + * Number of desired copies of running tasks + * + * @default 1 + */ + desiredCount?: number; } /** @@ -81,6 +88,7 @@ export class LoadBalancedEc2Service extends cdk.Construct { const service = new Ec2Service(this, "Service", { cluster: props.cluster, + desiredCount: props.desiredCount || 1, taskDefinition, }); diff --git a/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service-applet.ts b/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service-applet.ts index 1e3d00bb983de..1049a19bf7645 100644 --- a/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service-applet.ts +++ b/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service-applet.ts @@ -70,6 +70,13 @@ export interface LoadBalancedFargateServiceAppletProps extends cdk.StackProps { * @default false */ publicTasks?: boolean; + + /** + * Number of desired copies of running tasks + * + * @default 1 + */ + desiredCount?: number; } /** @@ -91,6 +98,7 @@ export class LoadBalancedFargateServiceApplet extends cdk.Stack { publicLoadBalancer: props.publicLoadBalancer, publicTasks: props.publicTasks, image: DockerHub.image(props.image), + desiredCount: props.desiredCount, }); } } \ No newline at end of file diff --git a/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service.ts b/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service.ts index 82d3b0f3095e4..f4c0f101d1f50 100644 --- a/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service.ts +++ b/packages/@aws-cdk/aws-ecs/lib/load-balanced-fargate-service.ts @@ -78,6 +78,13 @@ export interface LoadBalancedFargateServiceProps { */ publicTasks?: boolean; + /** + * Number of desired copies of running tasks + * + * @default 1 + */ + desiredCount?: number; + /** * Domain name for the service, e.g. api.example.com */ @@ -93,6 +100,7 @@ export interface LoadBalancedFargateServiceProps { * Setting this option will set the load balancer port to 443. */ certificateArn?: string; + } /** @@ -120,6 +128,7 @@ export class LoadBalancedFargateService extends cdk.Construct { const assignPublicIp = props.publicTasks !== undefined ? props.publicTasks : false; const service = new FargateService(this, "Service", { cluster: props.cluster, + desiredCount: props.desiredCount || 1, taskDefinition, assignPublicIp }); diff --git a/packages/@aws-cdk/aws-ecs/package.json b/packages/@aws-cdk/aws-ecs/package.json index 75bc8c7116a31..83fc1258d3e9a 100644 --- a/packages/@aws-cdk/aws-ecs/package.json +++ b/packages/@aws-cdk/aws-ecs/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-ecs", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ECS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,29 +52,29 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", "@types/proxyquire": "^1.3.28", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2", "proxyquire": "^2.1.0" }, "dependencies": { - "@aws-cdk/aws-applicationautoscaling": "^0.15.1", - "@aws-cdk/aws-autoscaling": "^0.15.1", - "@aws-cdk/aws-cloudformation": "^0.15.1", - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-ecr": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancing": "^0.15.1", - "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-logs": "^0.15.1", - "@aws-cdk/aws-route53": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1" + "@aws-cdk/aws-applicationautoscaling": "^0.15.2", + "@aws-cdk/aws-autoscaling": "^0.15.2", + "@aws-cdk/aws-cloudformation": "^0.15.2", + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-ecr": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancing": "^0.15.2", + "@aws-cdk/aws-elasticloadbalancingv2": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-logs": "^0.15.2", + "@aws-cdk/aws-route53": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-ecs/test/test.l3s.ts b/packages/@aws-cdk/aws-ecs/test/test.l3s.ts index 1bd66e7b8d612..264b7135cc8d7 100644 --- a/packages/@aws-cdk/aws-ecs/test/test.l3s.ts +++ b/packages/@aws-cdk/aws-ecs/test/test.l3s.ts @@ -16,12 +16,18 @@ export = { new ecs.LoadBalancedEc2Service(stack, 'Service', { cluster, memoryLimitMiB: 1024, - image: ecs.DockerHub.image('test') + image: ecs.DockerHub.image('test'), + desiredCount: 2 }); - // THEN - stack containers a load balancer + // THEN - stack containers a load balancer and a service expect(stack).to(haveResource('AWS::ElasticLoadBalancingV2::LoadBalancer')); + expect(stack).to(haveResource("AWS::ECS::Service", { + DesiredCount: 2, + LaunchType: "EC2", + })); + test.done(); }, @@ -34,16 +40,22 @@ export = { // WHEN new ecs.LoadBalancedFargateService(stack, 'Service', { cluster, - image: ecs.DockerHub.image('test') + image: ecs.DockerHub.image('test'), + desiredCount: 2 }); - // THEN - stack containers a load balancer + // THEN - stack contains a load balancer and a service expect(stack).to(haveResource('AWS::ElasticLoadBalancingV2::LoadBalancer')); expect(stack).to(haveResource('AWS::ElasticLoadBalancingV2::Listener', { Port: 80 })); + expect(stack).to(haveResource("AWS::ECS::Service", { + DesiredCount: 2, + LaunchType: "FARGATE", + })); + test.done(); }, @@ -109,6 +121,25 @@ export = { }); }); + test.done(); + }, + + 'test Fargateloadbalanced applet'(test: Test) { + // WHEN + const app = new cdk.App(); + const stack = new ecs.LoadBalancedFargateServiceApplet(app, 'Service', { + image: 'test', + desiredCount: 2 + }); + + // THEN - stack contains a load balancer and a service + expect(stack).to(haveResource('AWS::ElasticLoadBalancingV2::LoadBalancer')); + + expect(stack).to(haveResource("AWS::ECS::Service", { + DesiredCount: 2, + LaunchType: "FARGATE", + })); + test.done(); } }; diff --git a/packages/@aws-cdk/aws-efs/package.json b/packages/@aws-cdk/aws-efs/package.json index d20d1830a823b..a53cfb439b66c 100644 --- a/packages/@aws-cdk/aws-efs/package.json +++ b/packages/@aws-cdk/aws-efs/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-efs", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::EFS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-eks/package.json b/packages/@aws-cdk/aws-eks/package.json index c0494e8accf3e..0e9ff369a4b8e 100644 --- a/packages/@aws-cdk/aws-eks/package.json +++ b/packages/@aws-cdk/aws-eks/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-eks", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::EKS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-elasticache/package.json b/packages/@aws-cdk/aws-elasticache/package.json index 3f7d756091a6c..1f55087fbee53 100644 --- a/packages/@aws-cdk/aws-elasticache/package.json +++ b/packages/@aws-cdk/aws-elasticache/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-elasticache", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ElastiCache", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-elasticbeanstalk/package.json b/packages/@aws-cdk/aws-elasticbeanstalk/package.json index 7f8b0e466e34d..d4f0c9cd79012 100644 --- a/packages/@aws-cdk/aws-elasticbeanstalk/package.json +++ b/packages/@aws-cdk/aws-elasticbeanstalk/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-elasticbeanstalk", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ElasticBeanstalk", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-elasticloadbalancing/package.json b/packages/@aws-cdk/aws-elasticloadbalancing/package.json index 1e67f931081f1..8c0582ad81dbe 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancing/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancing/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-elasticloadbalancing", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS ElasticLoadBalancing", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,16 +52,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-codedeploy-api": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-codedeploy-api": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json index df340371bbbd7..ce95c748c5a4b 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-elasticloadbalancingv2", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ElasticLoadBalancingV2", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,18 +52,18 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-codedeploy-api": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-codedeploy-api": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-elasticsearch/package.json b/packages/@aws-cdk/aws-elasticsearch/package.json index f2ca54cd32647..0bd545b3100c7 100644 --- a/packages/@aws-cdk/aws-elasticsearch/package.json +++ b/packages/@aws-cdk/aws-elasticsearch/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-elasticsearch", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Elasticsearch", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-emr/package.json b/packages/@aws-cdk/aws-emr/package.json index 32e01b5e31f67..2f534ee918287 100644 --- a/packages/@aws-cdk/aws-emr/package.json +++ b/packages/@aws-cdk/aws-emr/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-emr", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::EMR", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-events/package.json b/packages/@aws-cdk/aws-events/package.json index daa6883eacee1..da78ee61e4c19 100644 --- a/packages/@aws-cdk/aws-events/package.json +++ b/packages/@aws-cdk/aws-events/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-events", - "version": "0.15.1", + "version": "0.15.2", "description": "AWS CloudWatch Events Construct Library", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,14 +53,14 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-gamelift/package.json b/packages/@aws-cdk/aws-gamelift/package.json index ddba56311043a..3c2f61917a31c 100644 --- a/packages/@aws-cdk/aws-gamelift/package.json +++ b/packages/@aws-cdk/aws-gamelift/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-gamelift", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::GameLift", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-glue/package.json b/packages/@aws-cdk/aws-glue/package.json index 6edc8a2170fa1..6f0a0c108c341 100644 --- a/packages/@aws-cdk/aws-glue/package.json +++ b/packages/@aws-cdk/aws-glue/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-glue", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Glue", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-guardduty/package.json b/packages/@aws-cdk/aws-guardduty/package.json index 9f9d5e50a3680..9f33139daa291 100644 --- a/packages/@aws-cdk/aws-guardduty/package.json +++ b/packages/@aws-cdk/aws-guardduty/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-guardduty", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::GuardDuty", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-iam/package.json b/packages/@aws-cdk/aws-iam/package.json index e15221a9c9e66..20e4d76fe002f 100644 --- a/packages/@aws-cdk/aws-iam/package.json +++ b/packages/@aws-cdk/aws-iam/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-iam", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK routines for easily assigning correct and minimal IAM permissions", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -54,14 +54,14 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-inspector/package.json b/packages/@aws-cdk/aws-inspector/package.json index a1e020febda99..75b42d71ebba6 100644 --- a/packages/@aws-cdk/aws-inspector/package.json +++ b/packages/@aws-cdk/aws-inspector/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-inspector", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Inspector", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-iot/package.json b/packages/@aws-cdk/aws-iot/package.json index d33958cb5c053..f67b195dbd97d 100644 --- a/packages/@aws-cdk/aws-iot/package.json +++ b/packages/@aws-cdk/aws-iot/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-iot", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::IoT", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-iot1click/package.json b/packages/@aws-cdk/aws-iot1click/package.json index 47d62b1787600..3f4e73a681cf4 100644 --- a/packages/@aws-cdk/aws-iot1click/package.json +++ b/packages/@aws-cdk/aws-iot1click/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-iot1click", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::IoT1Click", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,13 +53,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "peerDependencies": { "@aws-cdk/cdk": "^0.15.1" diff --git a/packages/@aws-cdk/aws-kinesis/package.json b/packages/@aws-cdk/aws-kinesis/package.json index f6e9cc0f45e9b..0141e6f14aa3d 100644 --- a/packages/@aws-cdk/aws-kinesis/package.json +++ b/packages/@aws-cdk/aws-kinesis/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-kinesis", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS Kinesis", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -51,16 +51,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/aws-logs": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/aws-logs": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-kinesisanalytics/package.json b/packages/@aws-cdk/aws-kinesisanalytics/package.json index 17582d26432db..82fd9b7c09016 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-kinesisanalytics", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::KinesisAnalytics", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-kinesisfirehose/package.json b/packages/@aws-cdk/aws-kinesisfirehose/package.json index 3c0a53a12c41a..29bffc8937eb3 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-kinesisfirehose", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::KinesisFirehose", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-kms/package.json b/packages/@aws-cdk/aws-kms/package.json index 0def5ea5ed4ce..b7ad0413d431f 100644 --- a/packages/@aws-cdk/aws-kms/package.json +++ b/packages/@aws-cdk/aws-kms/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-kms", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS KMS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,15 +52,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-lambda-event-sources/package.json b/packages/@aws-cdk/aws-lambda-event-sources/package.json index e169b3c4b474c..66df4256cb75f 100644 --- a/packages/@aws-cdk/aws-lambda-event-sources/package.json +++ b/packages/@aws-cdk/aws-lambda-event-sources/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-lambda-event-sources", - "version": "0.15.1", + "version": "0.15.2", "description": "Event sources for AWS Lambda", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -49,18 +49,18 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/aws-sns": "^0.15.1", - "@aws-cdk/aws-sqs": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/aws-sns": "^0.15.2", + "@aws-cdk/aws-sqs": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-lambda/package.json b/packages/@aws-cdk/aws-lambda/package.json index 295b0e359ca1a..29d94a99889a3 100644 --- a/packages/@aws-cdk/aws-lambda/package.json +++ b/packages/@aws-cdk/aws-lambda/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-lambda", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS Lambda", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -55,26 +55,26 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/assets": "^0.15.1", - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-logs": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/aws-s3-notifications": "^0.15.1", - "@aws-cdk/aws-sqs": "^0.15.1", - "@aws-cdk/aws-stepfunctions": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1" + "@aws-cdk/assets": "^0.15.2", + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-logs": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/aws-s3-notifications": "^0.15.2", + "@aws-cdk/aws-sqs": "^0.15.2", + "@aws-cdk/aws-stepfunctions": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-logs/package.json b/packages/@aws-cdk/aws-logs/package.json index a1717f963911d..b4a94172a8d42 100644 --- a/packages/@aws-cdk/aws-logs/package.json +++ b/packages/@aws-cdk/aws-logs/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-logs", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Logs", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,16 +52,16 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-neptune/package.json b/packages/@aws-cdk/aws-neptune/package.json index ec979abd491b7..376b2a76f6e46 100644 --- a/packages/@aws-cdk/aws-neptune/package.json +++ b/packages/@aws-cdk/aws-neptune/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-neptune", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Neptune", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,13 +53,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "peerDependencies": { "@aws-cdk/cdk": "^0.15.1" diff --git a/packages/@aws-cdk/aws-opsworks/package.json b/packages/@aws-cdk/aws-opsworks/package.json index d22a4405ed201..d02f09cfd15c6 100644 --- a/packages/@aws-cdk/aws-opsworks/package.json +++ b/packages/@aws-cdk/aws-opsworks/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-opsworks", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::OpsWorks", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-quickstarts/package.json b/packages/@aws-cdk/aws-quickstarts/package.json index a5b7441fab352..1fcd4d5b0c565 100644 --- a/packages/@aws-cdk/aws-quickstarts/package.json +++ b/packages/@aws-cdk/aws-quickstarts/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-quickstarts", - "version": "0.15.1", + "version": "0.15.2", "description": "AWS Quickstarts for the CDK", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -48,15 +48,15 @@ }, "license": "Apache-2.0", "devDependencies": { - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-cloudformation": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-rds": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-cloudformation": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-rds": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-rds/package.json b/packages/@aws-cdk/aws-rds/package.json index b9d7007688753..7e8e647dab71c 100644 --- a/packages/@aws-cdk/aws-rds/package.json +++ b/packages/@aws-cdk/aws-rds/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-rds", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS RDS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,17 +52,17 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-redshift/package.json b/packages/@aws-cdk/aws-redshift/package.json index 25d09eb9013b2..0786637f83e38 100644 --- a/packages/@aws-cdk/aws-redshift/package.json +++ b/packages/@aws-cdk/aws-redshift/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-redshift", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Redshift", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-route53/package.json b/packages/@aws-cdk/aws-route53/package.json index 2e4dc55c46f00..ea046aa56be25 100644 --- a/packages/@aws-cdk/aws-route53/package.json +++ b/packages/@aws-cdk/aws-route53/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-route53", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS Route53", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,17 +52,17 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", "aws-sdk": "^2.259.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-logs": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-logs": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-s3-deployment/package.json b/packages/@aws-cdk/aws-s3-deployment/package.json index 9c02ae5b66141..26aa73bd43704 100644 --- a/packages/@aws-cdk/aws-s3-deployment/package.json +++ b/packages/@aws-cdk/aws-s3-deployment/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-s3-deployment", - "version": "0.15.1", + "version": "0.15.2", "description": "Constructs for deploying contents to S3 buckets", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -67,18 +67,18 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/assets": "^0.15.1", - "@aws-cdk/aws-cloudformation": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/assets": "^0.15.2", + "@aws-cdk/aws-cloudformation": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-s3-notifications/package.json b/packages/@aws-cdk/aws-s3-notifications/package.json index ea70d6e5564a1..107a92af6c6a0 100644 --- a/packages/@aws-cdk/aws-s3-notifications/package.json +++ b/packages/@aws-cdk/aws-s3-notifications/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-s3-notifications", - "version": "0.15.1", + "version": "0.15.2", "description": "Bucket Notifications API for AWS S3", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -49,11 +49,11 @@ }, "license": "Apache-2.0", "devDependencies": { - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-s3/package.json b/packages/@aws-cdk/aws-s3/package.json index c36a467a19ec9..300925d60b48f 100644 --- a/packages/@aws-cdk/aws-s3/package.json +++ b/packages/@aws-cdk/aws-s3/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-s3", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS S3", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,18 +52,18 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-codepipeline-api": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/aws-s3-notifications": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-codepipeline-api": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/aws-s3-notifications": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-sagemaker/package.json b/packages/@aws-cdk/aws-sagemaker/package.json index 713784930eb9b..877d4cd253413 100644 --- a/packages/@aws-cdk/aws-sagemaker/package.json +++ b/packages/@aws-cdk/aws-sagemaker/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-sagemaker", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::SageMaker", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,13 +53,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "peerDependencies": { "@aws-cdk/cdk": "^0.15.1" diff --git a/packages/@aws-cdk/aws-sdb/package.json b/packages/@aws-cdk/aws-sdb/package.json index c325bccd617fd..7e526ff22bd24 100644 --- a/packages/@aws-cdk/aws-sdb/package.json +++ b/packages/@aws-cdk/aws-sdb/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-sdb", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::SDB", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-serverless/package.json b/packages/@aws-cdk/aws-serverless/package.json index a52bf1070fd0d..8bca67bc6613d 100644 --- a/packages/@aws-cdk/aws-serverless/package.json +++ b/packages/@aws-cdk/aws-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-serverless", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::Serverless", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -53,13 +53,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "peerDependencies": { "@aws-cdk/cdk": "^0.15.1" diff --git a/packages/@aws-cdk/aws-servicecatalog/package.json b/packages/@aws-cdk/aws-servicecatalog/package.json index 73778c4e616fe..60c049732ef95 100644 --- a/packages/@aws-cdk/aws-servicecatalog/package.json +++ b/packages/@aws-cdk/aws-servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-servicecatalog", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ServiceCatalog", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-servicediscovery/package.json b/packages/@aws-cdk/aws-servicediscovery/package.json index cc4450faa626f..46237a8cdcef2 100644 --- a/packages/@aws-cdk/aws-servicediscovery/package.json +++ b/packages/@aws-cdk/aws-servicediscovery/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-servicediscovery", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::ServiceDiscovery", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-ses/package.json b/packages/@aws-cdk/aws-ses/package.json index 60f00096552e9..1ed3bc455a8dd 100644 --- a/packages/@aws-cdk/aws-ses/package.json +++ b/packages/@aws-cdk/aws-ses/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-ses", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::SES", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-sns/package.json b/packages/@aws-cdk/aws-sns/package.json index c6088ebca1437..92d51c74a0170 100644 --- a/packages/@aws-cdk/aws-sns/package.json +++ b/packages/@aws-cdk/aws-sns/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-sns", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS SNS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,21 +52,21 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-s3-notifications": "^0.15.1", - "@aws-cdk/aws-sqs": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-s3-notifications": "^0.15.2", + "@aws-cdk/aws-sqs": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-sqs/package.json b/packages/@aws-cdk/aws-sqs/package.json index cb1a1116c42b4..150bb7440d99f 100644 --- a/packages/@aws-cdk/aws-sqs/package.json +++ b/packages/@aws-cdk/aws-sqs/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-sqs", - "version": "0.15.1", + "version": "0.15.2", "description": "CDK Constructs for AWS SQS", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,19 +52,19 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-s3": "^0.15.1", + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-s3": "^0.15.2", "aws-sdk": "^2.259.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-kms": "^0.15.1", - "@aws-cdk/aws-s3-notifications": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-kms": "^0.15.2", + "@aws-cdk/aws-s3-notifications": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-ssm/package.json b/packages/@aws-cdk/aws-ssm/package.json index 625b1bb26a2e4..268e4d048bcd3 100644 --- a/packages/@aws-cdk/aws-ssm/package.json +++ b/packages/@aws-cdk/aws-ssm/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-ssm", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::SSM", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-stepfunctions/package.json b/packages/@aws-cdk/aws-stepfunctions/package.json index 399a534748f37..a742aacca2ada 100644 --- a/packages/@aws-cdk/aws-stepfunctions/package.json +++ b/packages/@aws-cdk/aws-stepfunctions/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-stepfunctions", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::StepFunctions", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,17 +52,17 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-cloudwatch": "^0.15.1", - "@aws-cdk/aws-events": "^0.15.1", - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-cloudwatch": "^0.15.2", + "@aws-cdk/aws-events": "^0.15.2", + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-waf/package.json b/packages/@aws-cdk/aws-waf/package.json index 63f319d4e3920..a9e07b4d3f469 100644 --- a/packages/@aws-cdk/aws-waf/package.json +++ b/packages/@aws-cdk/aws-waf/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-waf", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::WAF", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-wafregional/package.json b/packages/@aws-cdk/aws-wafregional/package.json index 24400e90bd04b..f2d7166d47cbd 100644 --- a/packages/@aws-cdk/aws-wafregional/package.json +++ b/packages/@aws-cdk/aws-wafregional/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-wafregional", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::WAFRegional", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/aws-workspaces/package.json b/packages/@aws-cdk/aws-workspaces/package.json index e8b050b96250c..1419506637558 100644 --- a/packages/@aws-cdk/aws-workspaces/package.json +++ b/packages/@aws-cdk/aws-workspaces/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/aws-workspaces", - "version": "0.15.1", + "version": "0.15.2", "description": "The CDK Construct Library for AWS::WorkSpaces", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -52,13 +52,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/@aws-cdk/cdk/package.json b/packages/@aws-cdk/cdk/package.json index c715ee3d7938d..1213bf84bf207 100644 --- a/packages/@aws-cdk/cdk/package.json +++ b/packages/@aws-cdk/cdk/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/cdk", - "version": "0.15.1", + "version": "0.15.2", "description": "AWS Cloud Development Kit Core Library", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -54,14 +54,14 @@ "devDependencies": { "@types/js-base64": "^2.3.1", "@types/lodash": "^4.14.117", - "cdk-build-tools": "^0.15.1", - "cfn2ts": "^0.15.1", + "cdk-build-tools": "^0.15.2", + "cfn2ts": "^0.15.2", "fast-check": "^1.7.0", "lodash": "^4.17.11", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cx-api": "^0.15.1", + "@aws-cdk/cx-api": "^0.15.2", "js-base64": "^2.4.5", "json-diff": "^0.3.1" }, diff --git a/packages/@aws-cdk/cfnspec/package.json b/packages/@aws-cdk/cfnspec/package.json index a4e271e9b453b..e6925a666e0b3 100644 --- a/packages/@aws-cdk/cfnspec/package.json +++ b/packages/@aws-cdk/cfnspec/package.json @@ -1,7 +1,7 @@ { "name": "@aws-cdk/cfnspec", "description": "The CloudFormation resource specification used by @aws-cdk packages", - "version": "0.15.1", + "version": "0.15.2", "scripts": { "update": "cdk-build && /bin/bash build-tools/update.sh", "build": "cdk-build && node build-tools/build", @@ -21,11 +21,11 @@ "devDependencies": { "@types/fs-extra": "^4.0.8", "@types/md5": "^2.1.32", - "cdk-build-tools": "^0.15.1", + "cdk-build-tools": "^0.15.2", "fast-json-patch": "^2.0.6", "fs-extra": "^4.0.2", "json-diff": "^0.3.1", - "pkglint": "^0.15.1", + "pkglint": "^0.15.2", "sort-json": "^2.0.0" }, "dependencies": { diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index ccd5bfddf5abd..4a858080690f5 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/cloudformation-diff", - "version": "0.15.1", + "version": "0.15.2", "description": "Utilities to diff CDK stacks against CloudFormation templates", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -23,13 +23,13 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/cfnspec": "^0.15.1", + "@aws-cdk/cfnspec": "^0.15.2", "colors": "^1.2.1", "source-map-support": "^0.5.6" }, "devDependencies": { - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index 01ae0686996f2..85efe12db953e 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/cx-api", - "version": "0.15.1", + "version": "0.15.2", "description": "Cloud executable protocol", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -38,8 +38,8 @@ }, "license": "Apache-2.0", "devDependencies": { - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", diff --git a/packages/@aws-cdk/runtime-values/package.json b/packages/@aws-cdk/runtime-values/package.json index 92d2127b09fc9..47a4954656cd0 100644 --- a/packages/@aws-cdk/runtime-values/package.json +++ b/packages/@aws-cdk/runtime-values/package.json @@ -1,6 +1,6 @@ { "name": "@aws-cdk/runtime-values", - "version": "0.15.1", + "version": "0.15.2", "description": "Runtime values support for the AWS CDK", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -48,18 +48,18 @@ }, "license": "Apache-2.0", "devDependencies": { - "@aws-cdk/assert": "^0.15.1", - "@aws-cdk/aws-ec2": "^0.15.1", - "@aws-cdk/aws-lambda": "^0.15.1", - "@aws-cdk/aws-sqs": "^0.15.1", - "cdk-build-tools": "^0.15.1", - "cdk-integ-tools": "^0.15.1", - "pkglint": "^0.15.1" + "@aws-cdk/assert": "^0.15.2", + "@aws-cdk/aws-ec2": "^0.15.2", + "@aws-cdk/aws-lambda": "^0.15.2", + "@aws-cdk/aws-sqs": "^0.15.2", + "cdk-build-tools": "^0.15.2", + "cdk-integ-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/aws-iam": "^0.15.1", - "@aws-cdk/aws-ssm": "^0.15.1", - "@aws-cdk/cdk": "^0.15.1" + "@aws-cdk/aws-iam": "^0.15.2", + "@aws-cdk/aws-ssm": "^0.15.2", + "@aws-cdk/cdk": "^0.15.2" }, "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { diff --git a/packages/aws-cdk/bin/cdk.ts b/packages/aws-cdk/bin/cdk.ts index 032e229a55ee0..3e36a8a4ed68a 100644 --- a/packages/aws-cdk/bin/cdk.ts +++ b/packages/aws-cdk/bin/cdk.ts @@ -4,7 +4,6 @@ import 'source-map-support/register'; import cxapi = require('@aws-cdk/cx-api'); import colors = require('colors/safe'); import fs = require('fs-extra'); -import YAML = require('js-yaml'); import minimatch = require('minimatch'); import util = require('util'); import yargs = require('yargs'); @@ -19,6 +18,7 @@ import { interactive } from '../lib/interactive'; import { data, debug, error, highlight, print, setVerbose, success, warning } from '../lib/logging'; import { PluginHost } from '../lib/plugin'; import { parseRenames } from '../lib/renames'; +import { deserializeStructure, serializeStructure } from '../lib/serialize'; import { DEFAULTS, PER_USER_DEFAULTS, Settings } from '../lib/settings'; import { VERSION } from '../lib/version'; @@ -609,11 +609,7 @@ async function initCommandLine() { /* Attempt to parse YAML, fall back to JSON. */ function parseTemplate(text: string): any { - try { - return YAML.safeLoad(text); - } catch (e) { - return JSON.parse(text); - } + return deserializeStructure(text); } } @@ -679,13 +675,7 @@ async function initCommandLine() { } function toJsonOrYaml(object: any): string { - if (argv.json) { - const noFiltering = undefined; - const indentWidth = 2; - return JSON.stringify(object, noFiltering, indentWidth); - } else { - return YAML.safeDump(object); - } + return serializeStructure(object, argv.json); } } diff --git a/packages/aws-cdk/integ-tests/test-cdk-synth.sh b/packages/aws-cdk/integ-tests/test-cdk-synth.sh index 54775c9c73290..50a7ebdbaa9bb 100755 --- a/packages/aws-cdk/integ-tests/test-cdk-synth.sh +++ b/packages/aws-cdk/integ-tests/test-cdk-synth.sh @@ -8,17 +8,17 @@ setup assert "cdk synth cdk-toolkit-integration-test-1" < { - const templateJson = YAML.safeDump(stack.template, { indent: 4, flowLevel: 16 }); + const templateJson = toYAML(stack.template); if (toolkitInfo) { const s3KeyPrefix = `cdk/${stack.name}/`; const s3KeySuffix = '.yml'; diff --git a/packages/aws-cdk/lib/serialize.ts b/packages/aws-cdk/lib/serialize.ts new file mode 100644 index 0000000000000..3219cb5a48836 --- /dev/null +++ b/packages/aws-cdk/lib/serialize.ts @@ -0,0 +1,38 @@ +import YAML = require('yaml'); + +/** + * Stringify to YAML + */ +export function toYAML(obj: any): string { + return YAML.stringify(obj, { schema: 'yaml-1.1' }); +} + +/** + * Parse YAML + */ +export function fromYAML(str: string): any { + return YAML.parse(str, { schema: 'yaml-1.1' }); +} + +/** + * Parse either YAML or JSON + */ +export function deserializeStructure(str: string) { + try { + return fromYAML(str); + } catch (e) { + // This shouldn't really ever happen I think, but it's the code we had so I'm leaving it. + return JSON.parse(str); + } +} + +/** + * Serialize to either YAML or JSON + */ +export function serializeStructure(object: any, json: boolean) { + if (json) { + return JSON.stringify(object, undefined, 2); + } else { + return toYAML(object); + } +} \ No newline at end of file diff --git a/packages/aws-cdk/package.json b/packages/aws-cdk/package.json index 89b0b7d53dd7e..3dbdaa759639b 100644 --- a/packages/aws-cdk/package.json +++ b/packages/aws-cdk/package.json @@ -1,7 +1,7 @@ { "name": "aws-cdk", "description": "CDK Toolkit, the command line tool for CDK apps", - "version": "0.15.1", + "version": "0.15.2", "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { @@ -38,23 +38,22 @@ "@types/request": "^2.47.1", "@types/semver": "^5.5.0", "@types/uuid": "^3.4.3", + "@types/yaml": "^1.0.0", "@types/yargs": "^8.0.3", - "@types/js-yaml": "^3.11.2", - "cdk-build-tools": "^0.15.1", + "cdk-build-tools": "^0.15.2", "mockery": "^2.1.0", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/applet-js": "^0.15.1", - "@aws-cdk/cloudformation-diff": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1", + "@aws-cdk/applet-js": "^0.15.2", + "@aws-cdk/cloudformation-diff": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2", "archiver": "^2.1.1", "aws-sdk": "^2.259.1", "camelcase": "^5.0.0", "colors": "^1.2.1", "decamelize": "^2.0.0", "fs-extra": "^4.0.2", - "js-yaml": "^3.12.0", "json-diff": "^0.3.1", "minimatch": ">=3.0", "promptly": "^0.2.0", @@ -62,6 +61,7 @@ "request": "^2.83.0", "semver": "^5.5.0", "source-map-support": "^0.5.6", + "yaml": "^1.0.1", "yargs": "^9.0.1" }, "repository": { diff --git a/packages/aws-cdk/test/test.yaml.ts b/packages/aws-cdk/test/test.yaml.ts index 092f46dbebd3d..5df96ee06b708 100644 --- a/packages/aws-cdk/test/test.yaml.ts +++ b/packages/aws-cdk/test/test.yaml.ts @@ -1,44 +1,47 @@ import { Test } from 'nodeunit'; +import { toYAML } from '../lib/serialize'; -import YAML = require('js-yaml'); - -function yamlStringify(obj: any) { - return YAML.dump(obj); -} +// Preferred quote of the YAML library +const q = '"'; export = { 'quote the word "ON"'(test: Test) { // NON NEGOTIABLE! If not quoted, will be interpreted as the boolean TRUE // tslint:disable-next-line:no-console - const output = yamlStringify({ + const output = toYAML({ notABoolean: "ON" }); - test.equals(output.trim(), `notABoolean: 'ON'`); + test.equals(output.trim(), `notABoolean: ${q}ON${q}`); test.done(); }, 'quote number-like strings with a leading 0'(test: Test) { - const output = yamlStringify({ + const output = toYAML({ leadingZero: "012345" }); - test.equals(output.trim(), `leadingZero: '012345'`); + test.equals(output.trim(), `leadingZero: ${q}012345${q}`); test.done(); }, 'do not quote octal numbers that arent really octal'(test: Test) { - // Under contention: this seems to be okay, pyyaml parses it - // correctly. Unsure of what CloudFormation does about it. + // This is a contentious one, and something that might have changed in YAML1.2 vs YAML1.1 + // + // One could make the argument that a sequence of characters that couldn't ever + // be an octal value doesn't need to be quoted, and pyyaml parses it correctly. + // + // However, CloudFormation's parser interprets it as a decimal number (eating the + // leading 0) if it's unquoted, so that's the behavior we're testing for. - const output = yamlStringify({ + const output = toYAML({ leadingZero: "0123456789" }); - test.equals(output.trim(), `leadingZero: 0123456789`); + test.equals(output.trim(), `leadingZero: ${q}0123456789${q}`); test.done(); }, @@ -48,14 +51,14 @@ export = { // // 'yaml' fails this. - const output = yamlStringify({ + const output = toYAML({ colons: ['arn', ':', 'aws'] }); test.equals(output.trim(), [ 'colons:', ' - arn', - ` - ':'`, + ` - ${q}:${q}`, ' - aws' ].join('\n')); diff --git a/packages/simple-resource-bundler/package.json b/packages/simple-resource-bundler/package.json index f7f918d884c36..b39057c50b407 100644 --- a/packages/simple-resource-bundler/package.json +++ b/packages/simple-resource-bundler/package.json @@ -1,6 +1,6 @@ { "name": "simple-resource-bundler", - "version": "0.15.1", + "version": "0.15.2", "description": "Command-line tool to embed resources into JS libraries", "main": "bundler.js", "types": "bundler.d.ts", @@ -24,8 +24,8 @@ "devDependencies": { "@types/fs-extra": "^4.0.8", "@types/yargs": "^8.0.3", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { "fs-extra": "^4.0.2", diff --git a/tools/cdk-build-tools/package.json b/tools/cdk-build-tools/package.json index 19d6c54167f44..03bda6f886861 100644 --- a/tools/cdk-build-tools/package.json +++ b/tools/cdk-build-tools/package.json @@ -1,7 +1,7 @@ { "name": "cdk-build-tools", "private": true, - "version": "0.15.1", + "version": "0.15.2", "description": "Tools package with shared build scripts for CDK packages", "main": "lib/index.js", "repository": { @@ -28,13 +28,13 @@ "devDependencies": { "@types/fs-extra": "^5.0.4", "@types/yargs": "^8.0.3", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { "fs-extra": "^7.0.0", "jsii": "^0.7.8", "jsii-pacmak": "^0.7.7", - "merkle-build": "^0.15.1", + "merkle-build": "^0.15.2", "nodeunit": "^0.11.3", "nyc": "^13.0.1", "typescript": "^3.1.2", diff --git a/tools/cdk-integ-tools/package.json b/tools/cdk-integ-tools/package.json index 7aec47dc092da..90880d0c9801a 100644 --- a/tools/cdk-integ-tools/package.json +++ b/tools/cdk-integ-tools/package.json @@ -1,7 +1,7 @@ { "name": "cdk-integ-tools", "private": true, - "version": "0.15.1", + "version": "0.15.2", "description": "Package with integration test scripts for CDK packages", "main": "index.js", "repository": { @@ -27,13 +27,13 @@ "license": "Apache-2.0", "devDependencies": { "@types/yargs": "^8.0.3", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { - "@aws-cdk/cloudformation-diff": "^0.15.1", - "@aws-cdk/cx-api": "^0.15.1", - "aws-cdk": "^0.15.1", + "@aws-cdk/cloudformation-diff": "^0.15.2", + "@aws-cdk/cx-api": "^0.15.2", + "aws-cdk": "^0.15.2", "yargs": "^9.0.1" }, "keywords": [ diff --git a/tools/cfn2ts/package.json b/tools/cfn2ts/package.json index 4b2fd779c5213..8047260e40252 100644 --- a/tools/cfn2ts/package.json +++ b/tools/cfn2ts/package.json @@ -1,7 +1,7 @@ { "name": "cfn2ts", "private": true, - "version": "0.15.1", + "version": "0.15.2", "description": "Generates typescript types from CloudFormation spec, with support for enrichments", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -30,7 +30,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/cfnspec": "^0.15.1", + "@aws-cdk/cfnspec": "^0.15.2", "codemaker": "^0.6.4", "colors": "^1.2.1", "fast-json-patch": "^2.0.6", @@ -41,8 +41,8 @@ "devDependencies": { "@types/fs-extra": "^4.0.8", "@types/yargs": "^8.0.3", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "keywords": [ "aws", diff --git a/tools/merkle-build/package.json b/tools/merkle-build/package.json index 27a96b71a7304..20d173786e50e 100644 --- a/tools/merkle-build/package.json +++ b/tools/merkle-build/package.json @@ -1,7 +1,7 @@ { "name": "merkle-build", "private": true, - "version": "0.15.1", + "version": "0.15.2", "description": "Build tool helper for calculating hashes of a Merkle tree", "main": "lib/index.js", "types": "lib/index.ts", @@ -22,7 +22,7 @@ "license": "Apache-2.0", "devDependencies": { "@types/fs-extra": "^4.0.8", - "pkglint": "^0.15.1" + "pkglint": "^0.15.2" }, "dependencies": { "fs-extra": "^4.0.2" diff --git a/tools/pkglint/lib/packagejson.ts b/tools/pkglint/lib/packagejson.ts index 6b2fafcc79720..aaeb6e9ad8bf0 100644 --- a/tools/pkglint/lib/packagejson.ts +++ b/tools/pkglint/lib/packagejson.ts @@ -64,6 +64,18 @@ export class PackageJson { this.reports.push(report); } + public get dependencies(): {[key: string]: string} { + return this.json.dependencies || {}; + } + + public get devDependencies(): {[key: string]: string} { + return this.json.devDependencies || {}; + } + + public get peerDependencies(): {[key: string]: string} { + return this.json.peerDependencies || {}; + } + public applyFixes() { const fixable = this.reports.filter(r => r.fix); const nonFixable = this.reports.filter(r => !r.fix); @@ -174,6 +186,14 @@ export class PackageJson { } } + public addPeerDependency(module: string, version: string) { + if (!('peerDependencies' in this.json)) { + this.json.peerDependencies = {}; + } + + this.peerDependencies[module] = version; + } + /** * Whether the package-level file contains the given line */ diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index 7ad2e75e863be..41ff747a18a4e 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -1,6 +1,7 @@ import caseUtils = require('case'); import fs = require('fs'); import path = require('path'); +import semver = require('semver'); import { LICENSE, NOTICE } from './licensing'; import { PackageJson, ValidationRule } from './packagejson'; import { deepGet, deepSet, expectDevDependency, expectJSON, fileShouldBe, fileShouldContain, monoRepoVersion } from './util'; @@ -310,6 +311,39 @@ export class MustUseCDKBuild extends ValidationRule { } } +/** + * Dependencies in both regular and peerDependencies must agree in semver + * + * In particular, verify that depVersion satisfies peerVersion. This prevents + * us from instructing NPM to construct impossible closures, where we say: + * + * peerDependency: A@1.0.0 + * dependency: A@2.0.0 + * + * There is no version of A that would satisfy this. + * + * The other way around is not necessary--the depVersion can be bumped without + * bumping the peerVersion (if the API didn't change this may be perfectly + * valid). This prevents us from restricting a user's potential combinations of + * libraries unnecessarily. + */ +export class RegularDependenciesMustSatisfyPeerDependencies extends ValidationRule { + public validate(pkg: PackageJson): void { + for (const [depName, peerVersion] of Object.entries(pkg.peerDependencies)) { + const depVersion = pkg.dependencies[depName]; + if (depVersion === undefined) { continue; } + + // Make sure that depVersion satisfies peerVersion. + if (!semver.intersects(depVersion, peerVersion)) { + pkg.report({ + message: `dependency ${depName}: concrete version ${depVersion} does not match peer version '${peerVersion}'`, + fix: () => pkg.addPeerDependency(depName, depVersion) + }); + } + } + } +} + export class MustIgnoreSNK extends ValidationRule { public validate(pkg: PackageJson): void { fileShouldContain(pkg, '.npmignore', '*.snk'); diff --git a/tools/pkglint/package-lock.json b/tools/pkglint/package-lock.json index 15df5566cae93..0467a560152e4 100644 --- a/tools/pkglint/package-lock.json +++ b/tools/pkglint/package-lock.json @@ -1,12 +1,12 @@ { "name": "pkglint", - "version": "0.12.0", + "version": "0.15.1", "lockfileVersion": 1, "requires": true, "dependencies": { "@types/fs-extra": { "version": "4.0.8", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-4.0.8.tgz", + "resolved": "http://registry.npmjs.org/@types/fs-extra/-/fs-extra-4.0.8.tgz", "integrity": "sha512-Z5nu9Pbxj9yNeXIK3UwGlRdJth4cZ5sCq05nI7FaI6B0oz28nxkOtp6Lsz0ZnmLHJGvOJfB/VHxSTbVq/i6ujA==", "dev": true, "requires": { @@ -19,6 +19,11 @@ "integrity": "sha512-fCHV45gS+m3hH17zgkgADUSi2RR1Vht6wOZ0jyHP8rjiQra9f+mIcgwPQHllmDocYOstIEbKlxbFDYlgrTPYqw==", "dev": true }, + "@types/semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-41qEJgBH/TWgo5NFSvBCJ1qkoi3Q6ONSF2avrHq1LVEZfYpdHmj0y9SuTK+u9ZhG1sYQKBL1AWXKyLWP4RaUoQ==" + }, "@types/yargs": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-8.0.3.tgz", @@ -134,7 +139,7 @@ }, "get-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" }, "graceful-fs": { @@ -159,7 +164,7 @@ }, "is-builtin-module": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "requires": { "builtin-modules": "^1.0.0" @@ -201,7 +206,7 @@ }, "load-json-file": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "requires": { "graceful-fs": "^4.1.2", @@ -329,7 +334,7 @@ }, "pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" }, "pseudomap": { @@ -367,9 +372,9 @@ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" }, "semver": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", - "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==" + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", + "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==" }, "set-blocking": { "version": "2.0.0", @@ -453,7 +458,7 @@ }, "strip-ansi": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "requires": { "ansi-regex": "^2.0.0" @@ -466,7 +471,7 @@ }, "strip-eof": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" }, "universalify": { diff --git a/tools/pkglint/package.json b/tools/pkglint/package.json index 80ecaffe5744e..51f2ebbd24332 100644 --- a/tools/pkglint/package.json +++ b/tools/pkglint/package.json @@ -1,6 +1,6 @@ { "name": "pkglint", - "version": "0.15.1", + "version": "0.15.2", "private": true, "description": "Validate and fix package.json files", "main": "lib/index.js", @@ -36,8 +36,10 @@ "@types/yargs": "^8.0.3" }, "dependencies": { + "@types/semver": "^5.5.0", "case": "^1.5.5", "fs-extra": "^4.0.2", + "semver": "^5.6.0", "yargs": "^9.0.1" } } diff --git a/tools/pkgtools/package.json b/tools/pkgtools/package.json index 6d897df6398b2..1f80714573817 100644 --- a/tools/pkgtools/package.json +++ b/tools/pkgtools/package.json @@ -1,7 +1,7 @@ { "name": "pkgtools", "private": true, - "version": "0.15.1", + "version": "0.15.2", "description": "Tools for generating cross-package artifacts", "main": "index.js", "repository": { @@ -28,8 +28,8 @@ "devDependencies": { "@types/fs-extra": "^4.0.8", "@types/yargs": "^8.0.3", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "dependencies": { "fs-extra": "^4.0.2", diff --git a/tools/y-npm/package.json b/tools/y-npm/package.json index a9ee65ea9a32f..da289ac631ff7 100644 --- a/tools/y-npm/package.json +++ b/tools/y-npm/package.json @@ -1,6 +1,6 @@ { "name": "y-npm", - "version": "0.15.1", + "version": "0.15.2", "description": "Run npm commands using a local registry overlay", "private": true, "author": { @@ -35,8 +35,8 @@ "@types/colors": "^1.2.1", "@types/fs-extra": "^4.0.8", "@types/semver": "^5.5.0", - "cdk-build-tools": "^0.15.1", - "pkglint": "^0.15.1" + "cdk-build-tools": "^0.15.2", + "pkglint": "^0.15.2" }, "keywords": [ "aws",