From b595cf0f3ab6291a4ce70b528506193232eb26c3 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Thu, 13 Dec 2018 18:21:38 +0100 Subject: [PATCH] feat: add "engines.node" key to all packages (#1358) This will make NPM throw an error if users try to install any of the packages on an incompatible version of NodeJS. Fixes #1337. --- examples/cdk-examples-typescript/package.json | 5 ++++- packages/@aws-cdk/alexa-ask/package.json | 5 ++++- packages/@aws-cdk/app-delivery/package.json | 5 ++++- packages/@aws-cdk/applet-js/package.json | 5 ++++- packages/@aws-cdk/assert/package.json | 5 ++++- packages/@aws-cdk/assets-docker/package.json | 5 ++++- packages/@aws-cdk/assets/package.json | 5 ++++- packages/@aws-cdk/aws-amazonmq/package.json | 5 ++++- packages/@aws-cdk/aws-apigateway/package.json | 5 ++++- .../@aws-cdk/aws-applicationautoscaling/package.json | 5 ++++- packages/@aws-cdk/aws-appstream/package.json | 5 ++++- packages/@aws-cdk/aws-appsync/package.json | 5 ++++- packages/@aws-cdk/aws-athena/package.json | 5 ++++- packages/@aws-cdk/aws-autoscaling-api/package.json | 5 ++++- packages/@aws-cdk/aws-autoscaling-common/package.json | 5 ++++- packages/@aws-cdk/aws-autoscaling/package.json | 5 ++++- packages/@aws-cdk/aws-autoscalingplans/package.json | 5 ++++- packages/@aws-cdk/aws-batch/package.json | 5 ++++- packages/@aws-cdk/aws-budgets/package.json | 5 ++++- packages/@aws-cdk/aws-certificatemanager/package.json | 5 ++++- packages/@aws-cdk/aws-cloud9/package.json | 5 ++++- packages/@aws-cdk/aws-cloudformation/package.json | 5 ++++- packages/@aws-cdk/aws-cloudfront/package.json | 5 ++++- packages/@aws-cdk/aws-cloudtrail/package.json | 5 ++++- packages/@aws-cdk/aws-cloudwatch/package.json | 5 ++++- packages/@aws-cdk/aws-codebuild/package.json | 5 ++++- packages/@aws-cdk/aws-codecommit/package.json | 5 ++++- packages/@aws-cdk/aws-codedeploy-api/package.json | 5 ++++- packages/@aws-cdk/aws-codedeploy/package.json | 5 ++++- packages/@aws-cdk/aws-codepipeline-api/package.json | 5 ++++- packages/@aws-cdk/aws-codepipeline/package.json | 5 ++++- packages/@aws-cdk/aws-cognito/package.json | 5 ++++- packages/@aws-cdk/aws-config/package.json | 5 ++++- packages/@aws-cdk/aws-datapipeline/package.json | 5 ++++- packages/@aws-cdk/aws-dax/package.json | 5 ++++- packages/@aws-cdk/aws-directoryservice/package.json | 5 ++++- packages/@aws-cdk/aws-dlm/package.json | 5 ++++- packages/@aws-cdk/aws-dms/package.json | 5 ++++- packages/@aws-cdk/aws-dynamodb/package.json | 5 ++++- packages/@aws-cdk/aws-ec2/package.json | 5 ++++- packages/@aws-cdk/aws-ecr/package.json | 5 ++++- packages/@aws-cdk/aws-ecs/package.json | 5 ++++- packages/@aws-cdk/aws-efs/package.json | 5 ++++- packages/@aws-cdk/aws-eks/package.json | 5 ++++- packages/@aws-cdk/aws-elasticache/package.json | 5 ++++- packages/@aws-cdk/aws-elasticbeanstalk/package.json | 5 ++++- .../@aws-cdk/aws-elasticloadbalancing/package.json | 5 ++++- .../@aws-cdk/aws-elasticloadbalancingv2/package.json | 5 ++++- packages/@aws-cdk/aws-elasticsearch/package.json | 5 ++++- packages/@aws-cdk/aws-emr/package.json | 5 ++++- packages/@aws-cdk/aws-events/package.json | 5 ++++- packages/@aws-cdk/aws-gamelift/package.json | 5 ++++- packages/@aws-cdk/aws-glue/package.json | 5 ++++- packages/@aws-cdk/aws-guardduty/package.json | 5 ++++- packages/@aws-cdk/aws-iam/package.json | 5 ++++- packages/@aws-cdk/aws-inspector/package.json | 5 ++++- packages/@aws-cdk/aws-iot/package.json | 5 ++++- packages/@aws-cdk/aws-iot1click/package.json | 5 ++++- packages/@aws-cdk/aws-kinesis/package.json | 5 ++++- packages/@aws-cdk/aws-kinesisanalytics/package.json | 5 ++++- packages/@aws-cdk/aws-kinesisfirehose/package.json | 5 ++++- packages/@aws-cdk/aws-kms/package.json | 5 ++++- .../@aws-cdk/aws-lambda-event-sources/package.json | 5 ++++- packages/@aws-cdk/aws-lambda/package.json | 5 ++++- packages/@aws-cdk/aws-logs/package.json | 5 ++++- packages/@aws-cdk/aws-neptune/package.json | 5 ++++- packages/@aws-cdk/aws-opsworks/package.json | 5 ++++- packages/@aws-cdk/aws-quickstarts/package.json | 5 ++++- packages/@aws-cdk/aws-rds/package.json | 5 ++++- packages/@aws-cdk/aws-redshift/package.json | 5 ++++- packages/@aws-cdk/aws-route53/package.json | 5 ++++- packages/@aws-cdk/aws-route53resolver/package.json | 5 ++++- packages/@aws-cdk/aws-s3-deployment/package.json | 5 ++++- packages/@aws-cdk/aws-s3-notifications/package.json | 5 ++++- packages/@aws-cdk/aws-s3/package.json | 5 ++++- packages/@aws-cdk/aws-sagemaker/package.json | 5 ++++- packages/@aws-cdk/aws-sdb/package.json | 5 ++++- packages/@aws-cdk/aws-secretsmanager/package.json | 5 ++++- packages/@aws-cdk/aws-serverless/package.json | 5 ++++- packages/@aws-cdk/aws-servicecatalog/package.json | 5 ++++- packages/@aws-cdk/aws-servicediscovery/package.json | 5 ++++- packages/@aws-cdk/aws-ses/package.json | 5 ++++- packages/@aws-cdk/aws-sns/package.json | 5 ++++- packages/@aws-cdk/aws-sqs/package.json | 5 ++++- packages/@aws-cdk/aws-ssm/package.json | 5 ++++- packages/@aws-cdk/aws-stepfunctions/package.json | 5 ++++- packages/@aws-cdk/aws-waf/package.json | 5 ++++- packages/@aws-cdk/aws-wafregional/package.json | 5 ++++- packages/@aws-cdk/aws-workspaces/package.json | 5 ++++- packages/@aws-cdk/cdk/package.json | 5 ++++- packages/@aws-cdk/cloudformation-diff/package.json | 5 ++++- packages/@aws-cdk/cx-api/package.json | 5 ++++- packages/@aws-cdk/runtime-values/package.json | 5 ++++- packages/aws-cdk/package.json | 5 ++++- packages/simple-resource-bundler/package.json | 5 ++++- tools/cdk-build-tools/package.json | 5 ++++- tools/cdk-integ-tools/package.json | 5 ++++- tools/cfn2ts/package.json | 5 ++++- tools/merkle-build/package.json | 5 ++++- tools/pkglint/lib/rules.ts | 11 +++++++++++ tools/pkgtools/package.json | 5 ++++- tools/y-npm/package.json | 5 ++++- 102 files changed, 415 insertions(+), 101 deletions(-) diff --git a/examples/cdk-examples-typescript/package.json b/examples/cdk-examples-typescript/package.json index 426a072bf6ca1..9af34ba5b2f99 100644 --- a/examples/cdk-examples-typescript/package.json +++ b/examples/cdk-examples-typescript/package.json @@ -49,5 +49,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/@aws-cdk/alexa-ask/package.json b/packages/@aws-cdk/alexa-ask/package.json index 2784c35c18dcd..77b1be6ba1b44 100644 --- a/packages/@aws-cdk/alexa-ask/package.json +++ b/packages/@aws-cdk/alexa-ask/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/app-delivery/package.json b/packages/@aws-cdk/app-delivery/package.json index ec8be8030746b..9d16f815c77bb 100644 --- a/packages/@aws-cdk/app-delivery/package.json +++ b/packages/@aws-cdk/app-delivery/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-codepipeline-api": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/applet-js/package.json b/packages/@aws-cdk/applet-js/package.json index 2edc7e43e6e9e..2c4a9adea8675 100644 --- a/packages/@aws-cdk/applet-js/package.json +++ b/packages/@aws-cdk/applet-js/package.json @@ -41,5 +41,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/@aws-cdk/assert/package.json b/packages/@aws-cdk/assert/package.json index 3fd4d308a13b1..721d5c1644987 100644 --- a/packages/@aws-cdk/assert/package.json +++ b/packages/@aws-cdk/assert/package.json @@ -40,5 +40,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/@aws-cdk/assets-docker/package.json b/packages/@aws-cdk/assets-docker/package.json index ec3b4248aa07e..0c7e4218fd977 100644 --- a/packages/@aws-cdk/assets-docker/package.json +++ b/packages/@aws-cdk/assets-docker/package.json @@ -73,5 +73,8 @@ "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/assets/package.json b/packages/@aws-cdk/assets/package.json index b45bae0e447c2..99d855d0f274b 100644 --- a/packages/@aws-cdk/assets/package.json +++ b/packages/@aws-cdk/assets/package.json @@ -66,5 +66,8 @@ "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-amazonmq/package.json b/packages/@aws-cdk/aws-amazonmq/package.json index 0ee9b3fa20d53..0608994a81918 100644 --- a/packages/@aws-cdk/aws-amazonmq/package.json +++ b/packages/@aws-cdk/aws-amazonmq/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-apigateway/package.json b/packages/@aws-cdk/aws-apigateway/package.json index 92109630162da..fdb16cb4c6336 100644 --- a/packages/@aws-cdk/aws-apigateway/package.json +++ b/packages/@aws-cdk/aws-apigateway/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/aws-lambda": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-applicationautoscaling/package.json b/packages/@aws-cdk/aws-applicationautoscaling/package.json index 922d534680f40..49cf69bcf8ddd 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/package.json +++ b/packages/@aws-cdk/aws-applicationautoscaling/package.json @@ -69,5 +69,8 @@ "@aws-cdk/aws-cloudwatch": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-appstream/package.json b/packages/@aws-cdk/aws-appstream/package.json index 2d45485f99f30..f614285abfe36 100644 --- a/packages/@aws-cdk/aws-appstream/package.json +++ b/packages/@aws-cdk/aws-appstream/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-appsync/package.json b/packages/@aws-cdk/aws-appsync/package.json index 0b754e255f11f..a0cf63f0487d1 100644 --- a/packages/@aws-cdk/aws-appsync/package.json +++ b/packages/@aws-cdk/aws-appsync/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-athena/package.json b/packages/@aws-cdk/aws-athena/package.json index 9f2f1ed7119d8..e91ac32fef710 100644 --- a/packages/@aws-cdk/aws-athena/package.json +++ b/packages/@aws-cdk/aws-athena/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscaling-api/package.json b/packages/@aws-cdk/aws-autoscaling-api/package.json index fe642f3e4df0a..6deef85de6fe9 100644 --- a/packages/@aws-cdk/aws-autoscaling-api/package.json +++ b/packages/@aws-cdk/aws-autoscaling-api/package.json @@ -72,5 +72,8 @@ "peerDependencies": { "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscaling-common/package.json b/packages/@aws-cdk/aws-autoscaling-common/package.json index ccc1c360c34b2..560d7a1610cbd 100644 --- a/packages/@aws-cdk/aws-autoscaling-common/package.json +++ b/packages/@aws-cdk/aws-autoscaling-common/package.json @@ -63,5 +63,8 @@ "peerDependencies": { "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscaling/package.json b/packages/@aws-cdk/aws-autoscaling/package.json index 00f35059b186b..57a329405d89f 100644 --- a/packages/@aws-cdk/aws-autoscaling/package.json +++ b/packages/@aws-cdk/aws-autoscaling/package.json @@ -79,5 +79,8 @@ "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/aws-sns": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscalingplans/package.json b/packages/@aws-cdk/aws-autoscalingplans/package.json index d9902796b5d29..5bda8191e867c 100644 --- a/packages/@aws-cdk/aws-autoscalingplans/package.json +++ b/packages/@aws-cdk/aws-autoscalingplans/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-batch/package.json b/packages/@aws-cdk/aws-batch/package.json index cc6d9710bc7ca..a698f4a706f53 100644 --- a/packages/@aws-cdk/aws-batch/package.json +++ b/packages/@aws-cdk/aws-batch/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-budgets/package.json b/packages/@aws-cdk/aws-budgets/package.json index df966e5d74c38..2db9bce1783aa 100644 --- a/packages/@aws-cdk/aws-budgets/package.json +++ b/packages/@aws-cdk/aws-budgets/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-certificatemanager/package.json b/packages/@aws-cdk/aws-certificatemanager/package.json index ee32d36b6f4b9..b69c5b1cd3464 100644 --- a/packages/@aws-cdk/aws-certificatemanager/package.json +++ b/packages/@aws-cdk/aws-certificatemanager/package.json @@ -64,5 +64,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloud9/package.json b/packages/@aws-cdk/aws-cloud9/package.json index fc43fc561f76d..dcc3397abc0ee 100644 --- a/packages/@aws-cdk/aws-cloud9/package.json +++ b/packages/@aws-cdk/aws-cloud9/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudformation/package.json b/packages/@aws-cdk/aws-cloudformation/package.json index d4e2bc59265c3..72ed01f548b82 100644 --- a/packages/@aws-cdk/aws-cloudformation/package.json +++ b/packages/@aws-cdk/aws-cloudformation/package.json @@ -79,5 +79,8 @@ "@aws-cdk/aws-lambda": "^0.20.0", "@aws-cdk/aws-sns": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudfront/package.json b/packages/@aws-cdk/aws-cloudfront/package.json index 9118290c178f2..d55517a38446b 100644 --- a/packages/@aws-cdk/aws-cloudfront/package.json +++ b/packages/@aws-cdk/aws-cloudfront/package.json @@ -72,5 +72,8 @@ "@aws-cdk/aws-route53": "^0.20.0", "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudtrail/package.json b/packages/@aws-cdk/aws-cloudtrail/package.json index 9ae81ad521e92..2c4d918208465 100644 --- a/packages/@aws-cdk/aws-cloudtrail/package.json +++ b/packages/@aws-cdk/aws-cloudtrail/package.json @@ -69,5 +69,8 @@ "peerDependencies": { "@aws-cdk/aws-kms": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudwatch/package.json b/packages/@aws-cdk/aws-cloudwatch/package.json index 95a3f76e5630c..e59e69807298b 100644 --- a/packages/@aws-cdk/aws-cloudwatch/package.json +++ b/packages/@aws-cdk/aws-cloudwatch/package.json @@ -66,5 +66,8 @@ "peerDependencies": { "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codebuild/package.json b/packages/@aws-cdk/aws-codebuild/package.json index 0f6a8374da15e..7458fc5981c60 100644 --- a/packages/@aws-cdk/aws-codebuild/package.json +++ b/packages/@aws-cdk/aws-codebuild/package.json @@ -90,5 +90,8 @@ "@aws-cdk/aws-kms": "^0.20.0", "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codecommit/package.json b/packages/@aws-cdk/aws-codecommit/package.json index e7bac59cca7d1..06b05cfcc3996 100644 --- a/packages/@aws-cdk/aws-codecommit/package.json +++ b/packages/@aws-cdk/aws-codecommit/package.json @@ -75,5 +75,8 @@ "@aws-cdk/aws-codepipeline-api": "^0.20.0", "@aws-cdk/aws-events": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codedeploy-api/package.json b/packages/@aws-cdk/aws-codedeploy-api/package.json index f4e3ed6eccf17..24398ef143b21 100644 --- a/packages/@aws-cdk/aws-codedeploy-api/package.json +++ b/packages/@aws-cdk/aws-codedeploy-api/package.json @@ -57,5 +57,8 @@ "dependencies": { "@aws-cdk/cdk": "^0.20.0" }, - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/@aws-cdk/aws-codedeploy/package.json b/packages/@aws-cdk/aws-codedeploy/package.json index 8d3b4e2b60518..4c6e3d0e80a89 100644 --- a/packages/@aws-cdk/aws-codedeploy/package.json +++ b/packages/@aws-cdk/aws-codedeploy/package.json @@ -78,5 +78,8 @@ "@aws-cdk/aws-codepipeline-api": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codepipeline-api/package.json b/packages/@aws-cdk/aws-codepipeline-api/package.json index 155ab02ce6135..ea46475483808 100644 --- a/packages/@aws-cdk/aws-codepipeline-api/package.json +++ b/packages/@aws-cdk/aws-codepipeline-api/package.json @@ -67,5 +67,8 @@ "@aws-cdk/aws-events": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codepipeline/package.json b/packages/@aws-cdk/aws-codepipeline/package.json index e31241c885f52..03585d14bdc82 100644 --- a/packages/@aws-cdk/aws-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codepipeline/package.json @@ -85,5 +85,8 @@ "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cognito/package.json b/packages/@aws-cdk/aws-cognito/package.json index c5996ea2cf77f..a6d3da6dd41d2 100644 --- a/packages/@aws-cdk/aws-cognito/package.json +++ b/packages/@aws-cdk/aws-cognito/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-config/package.json b/packages/@aws-cdk/aws-config/package.json index 519a223b3066a..191e00ab98b15 100644 --- a/packages/@aws-cdk/aws-config/package.json +++ b/packages/@aws-cdk/aws-config/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-datapipeline/package.json b/packages/@aws-cdk/aws-datapipeline/package.json index 1ea78b6538293..76254a5076857 100644 --- a/packages/@aws-cdk/aws-datapipeline/package.json +++ b/packages/@aws-cdk/aws-datapipeline/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dax/package.json b/packages/@aws-cdk/aws-dax/package.json index a050ccfd702d8..d3bb50ea5f381 100644 --- a/packages/@aws-cdk/aws-dax/package.json +++ b/packages/@aws-cdk/aws-dax/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-directoryservice/package.json b/packages/@aws-cdk/aws-directoryservice/package.json index bc7d3cb8717de..73cab49b09334 100644 --- a/packages/@aws-cdk/aws-directoryservice/package.json +++ b/packages/@aws-cdk/aws-directoryservice/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dlm/package.json b/packages/@aws-cdk/aws-dlm/package.json index 0c2ff894ad7ea..9d23efa2270ea 100644 --- a/packages/@aws-cdk/aws-dlm/package.json +++ b/packages/@aws-cdk/aws-dlm/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dms/package.json b/packages/@aws-cdk/aws-dms/package.json index eb4bffe16d56b..3b2638f2a2806 100644 --- a/packages/@aws-cdk/aws-dms/package.json +++ b/packages/@aws-cdk/aws-dms/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dynamodb/package.json b/packages/@aws-cdk/aws-dynamodb/package.json index 36d74635c0424..74171df404f99 100644 --- a/packages/@aws-cdk/aws-dynamodb/package.json +++ b/packages/@aws-cdk/aws-dynamodb/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-applicationautoscaling": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ec2/package.json b/packages/@aws-cdk/aws-ec2/package.json index 50cd6cf9d8aeb..c6f06e7231e49 100644 --- a/packages/@aws-cdk/aws-ec2/package.json +++ b/packages/@aws-cdk/aws-ec2/package.json @@ -67,5 +67,8 @@ "peerDependencies": { "@aws-cdk/cdk": "^0.20.0", "@aws-cdk/cx-api": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ecr/package.json b/packages/@aws-cdk/aws-ecr/package.json index fcf4e3de721af..909fd8b8b88d5 100644 --- a/packages/@aws-cdk/aws-ecr/package.json +++ b/packages/@aws-cdk/aws-ecr/package.json @@ -70,5 +70,8 @@ "@aws-cdk/aws-events": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ecs/package.json b/packages/@aws-cdk/aws-ecs/package.json index e21dee2eb8bc3..953ea9affeeaf 100644 --- a/packages/@aws-cdk/aws-ecs/package.json +++ b/packages/@aws-cdk/aws-ecs/package.json @@ -94,5 +94,8 @@ "@aws-cdk/aws-logs": "^0.20.0", "@aws-cdk/aws-route53": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-efs/package.json b/packages/@aws-cdk/aws-efs/package.json index fa780ef2756e7..3d9bc4bacdde5 100644 --- a/packages/@aws-cdk/aws-efs/package.json +++ b/packages/@aws-cdk/aws-efs/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-eks/package.json b/packages/@aws-cdk/aws-eks/package.json index 28bfe25babda0..b259687584521 100644 --- a/packages/@aws-cdk/aws-eks/package.json +++ b/packages/@aws-cdk/aws-eks/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticache/package.json b/packages/@aws-cdk/aws-elasticache/package.json index cedba2312cf1e..536b5db70499b 100644 --- a/packages/@aws-cdk/aws-elasticache/package.json +++ b/packages/@aws-cdk/aws-elasticache/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticbeanstalk/package.json b/packages/@aws-cdk/aws-elasticbeanstalk/package.json index 21ce3471901fb..9d7d503b2562c 100644 --- a/packages/@aws-cdk/aws-elasticbeanstalk/package.json +++ b/packages/@aws-cdk/aws-elasticbeanstalk/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticloadbalancing/package.json b/packages/@aws-cdk/aws-elasticloadbalancing/package.json index 680fbaabd4790..d966dcfbea44b 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancing/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancing/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-codedeploy-api": "^0.20.0", "@aws-cdk/aws-ec2": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json index 938b17ed116ea..48597bc065a33 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json @@ -75,5 +75,8 @@ "@aws-cdk/aws-route53": "^0.20.0", "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticsearch/package.json b/packages/@aws-cdk/aws-elasticsearch/package.json index 2f5c8899746bb..cfeec244d7466 100644 --- a/packages/@aws-cdk/aws-elasticsearch/package.json +++ b/packages/@aws-cdk/aws-elasticsearch/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-emr/package.json b/packages/@aws-cdk/aws-emr/package.json index ede5df1305d70..4f14ff010273a 100644 --- a/packages/@aws-cdk/aws-emr/package.json +++ b/packages/@aws-cdk/aws-emr/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-events/package.json b/packages/@aws-cdk/aws-events/package.json index 17da79ef42e62..3f41bbcb00afb 100644 --- a/packages/@aws-cdk/aws-events/package.json +++ b/packages/@aws-cdk/aws-events/package.json @@ -65,5 +65,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-gamelift/package.json b/packages/@aws-cdk/aws-gamelift/package.json index a5d2a340af867..e2b3280927678 100644 --- a/packages/@aws-cdk/aws-gamelift/package.json +++ b/packages/@aws-cdk/aws-gamelift/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-glue/package.json b/packages/@aws-cdk/aws-glue/package.json index 9b1779fe9cdd5..72ff23c13a2cd 100644 --- a/packages/@aws-cdk/aws-glue/package.json +++ b/packages/@aws-cdk/aws-glue/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-guardduty/package.json b/packages/@aws-cdk/aws-guardduty/package.json index 970d1db443136..ac9c356f07acc 100644 --- a/packages/@aws-cdk/aws-guardduty/package.json +++ b/packages/@aws-cdk/aws-guardduty/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iam/package.json b/packages/@aws-cdk/aws-iam/package.json index ea0fe802fccb3..be7af9ddee4f2 100644 --- a/packages/@aws-cdk/aws-iam/package.json +++ b/packages/@aws-cdk/aws-iam/package.json @@ -66,5 +66,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-inspector/package.json b/packages/@aws-cdk/aws-inspector/package.json index 4a4a5863de4e3..97b7462e9c49c 100644 --- a/packages/@aws-cdk/aws-inspector/package.json +++ b/packages/@aws-cdk/aws-inspector/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iot/package.json b/packages/@aws-cdk/aws-iot/package.json index 0e6d7b1042abb..63656e7205bf0 100644 --- a/packages/@aws-cdk/aws-iot/package.json +++ b/packages/@aws-cdk/aws-iot/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iot1click/package.json b/packages/@aws-cdk/aws-iot1click/package.json index 15a81acb1962c..58b969a4fc1df 100644 --- a/packages/@aws-cdk/aws-iot1click/package.json +++ b/packages/@aws-cdk/aws-iot1click/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kinesis/package.json b/packages/@aws-cdk/aws-kinesis/package.json index b6e36add86391..a5c6f5c2b01c7 100644 --- a/packages/@aws-cdk/aws-kinesis/package.json +++ b/packages/@aws-cdk/aws-kinesis/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-kms": "^0.20.0", "@aws-cdk/aws-logs": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kinesisanalytics/package.json b/packages/@aws-cdk/aws-kinesisanalytics/package.json index c85292606cb1a..177929fd16554 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kinesisfirehose/package.json b/packages/@aws-cdk/aws-kinesisfirehose/package.json index 4927e4d96a387..ef82431dbbb51 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kms/package.json b/packages/@aws-cdk/aws-kms/package.json index f0f174afc9abb..e35258e66fbe9 100644 --- a/packages/@aws-cdk/aws-kms/package.json +++ b/packages/@aws-cdk/aws-kms/package.json @@ -66,5 +66,8 @@ "peerDependencies": { "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-lambda-event-sources/package.json b/packages/@aws-cdk/aws-lambda-event-sources/package.json index a2afd00d907e9..9694fc24fd9f0 100644 --- a/packages/@aws-cdk/aws-lambda-event-sources/package.json +++ b/packages/@aws-cdk/aws-lambda-event-sources/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/aws-sns": "^0.20.0", "@aws-cdk/aws-sqs": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-lambda/package.json b/packages/@aws-cdk/aws-lambda/package.json index a6c7d475de622..67081dc0a4732 100644 --- a/packages/@aws-cdk/aws-lambda/package.json +++ b/packages/@aws-cdk/aws-lambda/package.json @@ -90,5 +90,8 @@ "@aws-cdk/aws-sqs": "^0.20.0", "@aws-cdk/aws-stepfunctions": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-logs/package.json b/packages/@aws-cdk/aws-logs/package.json index c79884e409fdd..64a398111ec9d 100644 --- a/packages/@aws-cdk/aws-logs/package.json +++ b/packages/@aws-cdk/aws-logs/package.json @@ -68,5 +68,8 @@ "@aws-cdk/aws-cloudwatch": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-neptune/package.json b/packages/@aws-cdk/aws-neptune/package.json index c103349267e3e..bd4b4ce5dc7a0 100644 --- a/packages/@aws-cdk/aws-neptune/package.json +++ b/packages/@aws-cdk/aws-neptune/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-opsworks/package.json b/packages/@aws-cdk/aws-opsworks/package.json index 2ad6e5d9b75f4..69ea77a33208e 100644 --- a/packages/@aws-cdk/aws-opsworks/package.json +++ b/packages/@aws-cdk/aws-opsworks/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-quickstarts/package.json b/packages/@aws-cdk/aws-quickstarts/package.json index de97475adbde1..f72925e343eb7 100644 --- a/packages/@aws-cdk/aws-quickstarts/package.json +++ b/packages/@aws-cdk/aws-quickstarts/package.json @@ -62,5 +62,8 @@ "peerDependencies": { "@aws-cdk/aws-ec2": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-rds/package.json b/packages/@aws-cdk/aws-rds/package.json index bdb78e43570b4..0d803d5dda8b1 100644 --- a/packages/@aws-cdk/aws-rds/package.json +++ b/packages/@aws-cdk/aws-rds/package.json @@ -68,5 +68,8 @@ "peerDependencies": { "@aws-cdk/aws-ec2": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-redshift/package.json b/packages/@aws-cdk/aws-redshift/package.json index 7da4f99fedb9d..c8e2a1ad4c25d 100644 --- a/packages/@aws-cdk/aws-redshift/package.json +++ b/packages/@aws-cdk/aws-redshift/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-route53/package.json b/packages/@aws-cdk/aws-route53/package.json index d45dcafcbf309..cd9275314a986 100644 --- a/packages/@aws-cdk/aws-route53/package.json +++ b/packages/@aws-cdk/aws-route53/package.json @@ -69,5 +69,8 @@ "peerDependencies": { "@aws-cdk/aws-ec2": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-route53resolver/package.json b/packages/@aws-cdk/aws-route53resolver/package.json index 702236560bfb7..542c04ec247c9 100644 --- a/packages/@aws-cdk/aws-route53resolver/package.json +++ b/packages/@aws-cdk/aws-route53resolver/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-s3-deployment/package.json b/packages/@aws-cdk/aws-s3-deployment/package.json index 08c9c9472ed38..6b1d7942e0a31 100644 --- a/packages/@aws-cdk/aws-s3-deployment/package.json +++ b/packages/@aws-cdk/aws-s3-deployment/package.json @@ -84,5 +84,8 @@ "peerDependencies": { "@aws-cdk/aws-s3": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-s3-notifications/package.json b/packages/@aws-cdk/aws-s3-notifications/package.json index ae3da23499f90..9bad565bc6062 100644 --- a/packages/@aws-cdk/aws-s3-notifications/package.json +++ b/packages/@aws-cdk/aws-s3-notifications/package.json @@ -58,5 +58,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-s3/package.json b/packages/@aws-cdk/aws-s3/package.json index 2b608b2075f8a..81880cd5b012a 100644 --- a/packages/@aws-cdk/aws-s3/package.json +++ b/packages/@aws-cdk/aws-s3/package.json @@ -72,5 +72,8 @@ "@aws-cdk/aws-kms": "^0.20.0", "@aws-cdk/aws-s3-notifications": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sagemaker/package.json b/packages/@aws-cdk/aws-sagemaker/package.json index 4a0fd5d04d855..2e9311dacec25 100644 --- a/packages/@aws-cdk/aws-sagemaker/package.json +++ b/packages/@aws-cdk/aws-sagemaker/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sdb/package.json b/packages/@aws-cdk/aws-sdb/package.json index bf86ab2e90a8a..02cea195cdadc 100644 --- a/packages/@aws-cdk/aws-sdb/package.json +++ b/packages/@aws-cdk/aws-sdb/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-secretsmanager/package.json b/packages/@aws-cdk/aws-secretsmanager/package.json index de3b104a42e39..fa5443cc5b86b 100644 --- a/packages/@aws-cdk/aws-secretsmanager/package.json +++ b/packages/@aws-cdk/aws-secretsmanager/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-serverless/package.json b/packages/@aws-cdk/aws-serverless/package.json index 52d9a681d18f8..a05c9f0c5e09d 100644 --- a/packages/@aws-cdk/aws-serverless/package.json +++ b/packages/@aws-cdk/aws-serverless/package.json @@ -63,5 +63,8 @@ }, "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-servicecatalog/package.json b/packages/@aws-cdk/aws-servicecatalog/package.json index 90d737fa77f1c..8fef037c5b4ca 100644 --- a/packages/@aws-cdk/aws-servicecatalog/package.json +++ b/packages/@aws-cdk/aws-servicecatalog/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-servicediscovery/package.json b/packages/@aws-cdk/aws-servicediscovery/package.json index b0a3b7f0e4cd0..e4c2041a865e8 100644 --- a/packages/@aws-cdk/aws-servicediscovery/package.json +++ b/packages/@aws-cdk/aws-servicediscovery/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ses/package.json b/packages/@aws-cdk/aws-ses/package.json index 65d69e313c796..dc84ee21672a1 100644 --- a/packages/@aws-cdk/aws-ses/package.json +++ b/packages/@aws-cdk/aws-ses/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sns/package.json b/packages/@aws-cdk/aws-sns/package.json index d1947c4ea4dc2..f58fa9cac2f66 100644 --- a/packages/@aws-cdk/aws-sns/package.json +++ b/packages/@aws-cdk/aws-sns/package.json @@ -79,5 +79,8 @@ "@aws-cdk/aws-s3-notifications": "^0.20.0", "@aws-cdk/aws-sqs": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sqs/package.json b/packages/@aws-cdk/aws-sqs/package.json index 090d139a2b7d0..12d5de60e3bf5 100644 --- a/packages/@aws-cdk/aws-sqs/package.json +++ b/packages/@aws-cdk/aws-sqs/package.json @@ -74,5 +74,8 @@ "@aws-cdk/aws-kms": "^0.20.0", "@aws-cdk/aws-s3-notifications": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ssm/package.json b/packages/@aws-cdk/aws-ssm/package.json index af9c7b791a638..2c8fe528f31aa 100644 --- a/packages/@aws-cdk/aws-ssm/package.json +++ b/packages/@aws-cdk/aws-ssm/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-stepfunctions/package.json b/packages/@aws-cdk/aws-stepfunctions/package.json index e52926aafa820..1529585573460 100644 --- a/packages/@aws-cdk/aws-stepfunctions/package.json +++ b/packages/@aws-cdk/aws-stepfunctions/package.json @@ -70,5 +70,8 @@ "@aws-cdk/aws-events": "^0.20.0", "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-waf/package.json b/packages/@aws-cdk/aws-waf/package.json index c01aad9699afc..904c39ab6cafc 100644 --- a/packages/@aws-cdk/aws-waf/package.json +++ b/packages/@aws-cdk/aws-waf/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-wafregional/package.json b/packages/@aws-cdk/aws-wafregional/package.json index 4a96f978d248a..a74e97090f224 100644 --- a/packages/@aws-cdk/aws-wafregional/package.json +++ b/packages/@aws-cdk/aws-wafregional/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-workspaces/package.json b/packages/@aws-cdk/aws-workspaces/package.json index 29fad75dd0716..9eb78563c1d16 100644 --- a/packages/@aws-cdk/aws-workspaces/package.json +++ b/packages/@aws-cdk/aws-workspaces/package.json @@ -63,5 +63,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/cdk/package.json b/packages/@aws-cdk/cdk/package.json index 4ccf9145f23ad..948af1098440c 100644 --- a/packages/@aws-cdk/cdk/package.json +++ b/packages/@aws-cdk/cdk/package.json @@ -72,5 +72,8 @@ "homepage": "https://github.com/awslabs/aws-cdk", "peerDependencies": { "@aws-cdk/cx-api": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index d6cae8eb9da96..27a56a45e8001 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -44,5 +44,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index da702d4c8ce67..31009ea58dd41 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -49,5 +49,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/@aws-cdk/runtime-values/package.json b/packages/@aws-cdk/runtime-values/package.json index b4ea2389cc13c..bf072d82c2e18 100644 --- a/packages/@aws-cdk/runtime-values/package.json +++ b/packages/@aws-cdk/runtime-values/package.json @@ -65,5 +65,8 @@ "peerDependencies": { "@aws-cdk/aws-iam": "^0.20.0", "@aws-cdk/cdk": "^0.20.0" + }, + "engines": { + "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/aws-cdk/package.json b/packages/aws-cdk/package.json index 426cdfa3dde49..9d668f236312d 100644 --- a/packages/aws-cdk/package.json +++ b/packages/aws-cdk/package.json @@ -75,5 +75,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/packages/simple-resource-bundler/package.json b/packages/simple-resource-bundler/package.json index d6ed938c4d61c..30baffb9f7d6c 100644 --- a/packages/simple-resource-bundler/package.json +++ b/packages/simple-resource-bundler/package.json @@ -40,5 +40,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/tools/cdk-build-tools/package.json b/tools/cdk-build-tools/package.json index 490b21201b700..7f39e07d087c3 100644 --- a/tools/cdk-build-tools/package.json +++ b/tools/cdk-build-tools/package.json @@ -44,5 +44,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/tools/cdk-integ-tools/package.json b/tools/cdk-integ-tools/package.json index 715d3eb3a1420..d3c1ebeb4d6c7 100644 --- a/tools/cdk-integ-tools/package.json +++ b/tools/cdk-integ-tools/package.json @@ -40,5 +40,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/tools/cfn2ts/package.json b/tools/cfn2ts/package.json index bdb0ab345a2af..932a26b3aacce 100644 --- a/tools/cfn2ts/package.json +++ b/tools/cfn2ts/package.json @@ -48,5 +48,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/tools/merkle-build/package.json b/tools/merkle-build/package.json index 944c401766e20..52e1b3796aaf6 100644 --- a/tools/merkle-build/package.json +++ b/tools/merkle-build/package.json @@ -31,5 +31,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index 245d2b754dd59..df951f5651185 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -521,6 +521,17 @@ export class MustUseCDKTest extends ValidationRule { } } +/** + * Must declare minimum node version + */ +export class MustHaveNodeEnginesDeclaration extends ValidationRule { + public readonly name = 'package-info/engines'; + + public validate(pkg: PackageJson): void { + expectJSON(this.name, pkg, 'engines.node', '>= 8.10.0'); + } +} + /** * Scripts that run integ tests must also have the individual 'integ' script to update them * diff --git a/tools/pkgtools/package.json b/tools/pkgtools/package.json index adfc44d621d18..b9a4fa0521ea7 100644 --- a/tools/pkgtools/package.json +++ b/tools/pkgtools/package.json @@ -39,5 +39,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } } diff --git a/tools/y-npm/package.json b/tools/y-npm/package.json index 3f3fef3db0229..98e1560e20f17 100644 --- a/tools/y-npm/package.json +++ b/tools/y-npm/package.json @@ -42,5 +42,8 @@ "aws", "cdk" ], - "homepage": "https://github.com/awslabs/aws-cdk" + "homepage": "https://github.com/awslabs/aws-cdk", + "engines": { + "node": ">= 8.10.0" + } }