From 109625d472d871ca2bce5b4c8b5b05592182368c Mon Sep 17 00:00:00 2001 From: Romain Marcadier-Muller Date: Wed, 10 Apr 2019 18:02:53 +0200 Subject: [PATCH] chore(pkglint): Add rule to specify repository.directory (#2218) This is used in `package.json` to denote the path of a module's root relative to the repository, so that links can be emitted to the correct location instead of the root of the repository. See: https://docs.npmjs.com/files/package.json#repository --- packages/@aws-cdk/alexa-ask/package.json | 5 +++-- packages/@aws-cdk/app-delivery/package.json | 5 +++-- packages/@aws-cdk/applet-js/package.json | 3 ++- packages/@aws-cdk/assert/package.json | 3 ++- 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-appmesh/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 | 3 ++- 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 | 3 ++- packages/@aws-cdk/aws-codedeploy/package.json | 5 +++-- .../@aws-cdk/aws-codepipeline-actions/package.json | 3 ++- packages/@aws-cdk/aws-codepipeline-api/package.json | 3 ++- packages/@aws-cdk/aws-codepipeline/package.json | 3 ++- 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-docdb/package.json | 5 +++-- packages/@aws-cdk/aws-dynamodb/package.json | 5 +++-- packages/@aws-cdk/aws-ec2/package.json | 3 ++- 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-fsx/package.json | 5 +++-- packages/@aws-cdk/aws-gamelift/package.json | 5 +++-- packages/@aws-cdk/aws-glue/package.json | 5 +++-- packages/@aws-cdk/aws-greengrass/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-iotanalytics/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-opsworkscm/package.json | 5 +++-- packages/@aws-cdk/aws-quickstarts/package.json | 5 +++-- packages/@aws-cdk/aws-ram/package.json | 5 +++-- packages/@aws-cdk/aws-rds/package.json | 5 +++-- packages/@aws-cdk/aws-redshift/package.json | 5 +++-- packages/@aws-cdk/aws-robomaker/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-sam/package.json | 5 +++-- packages/@aws-cdk/aws-sdb/package.json | 5 +++-- packages/@aws-cdk/aws-secretsmanager/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 | 3 ++- packages/@aws-cdk/cx-api/package.json | 3 ++- packages/@aws-cdk/region-info/package.json | 3 ++- packages/@aws-cdk/runtime-values/package.json | 5 +++-- packages/aws-cdk/package.json | 3 ++- packages/simple-resource-bundler/package.json | 3 ++- tools/cdk-build-tools/package.json | 3 ++- tools/cdk-integ-tools/package.json | 3 ++- tools/cfn2ts/package.json | 3 ++- tools/pkglint/lib/rules.ts | 10 +++++++++- tools/pkglint/lib/util.ts | 8 ++++++-- tools/pkgtools/package.json | 3 ++- 110 files changed, 322 insertions(+), 202 deletions(-) diff --git a/packages/@aws-cdk/alexa-ask/package.json b/packages/@aws-cdk/alexa-ask/package.json index afa35f3693bc0..71867be19d174 100644 --- a/packages/@aws-cdk/alexa-ask/package.json +++ b/packages/@aws-cdk/alexa-ask/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/alexa-ask" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 1c22a747cef6a..df47462c5b26a 100644 --- a/packages/@aws-cdk/app-delivery/package.json +++ b/packages/@aws-cdk/app-delivery/package.json @@ -55,7 +55,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/app-delivery" }, "homepage": "https://github.com/awslabs/aws-cdk", "license": "Apache-2.0", @@ -78,4 +79,4 @@ "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 f4352f156e337..b7b9848cc394b 100644 --- a/packages/@aws-cdk/applet-js/package.json +++ b/packages/@aws-cdk/applet-js/package.json @@ -35,7 +35,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/@aws-cdk/applet-js" }, "keywords": [ "aws", diff --git a/packages/@aws-cdk/assert/package.json b/packages/@aws-cdk/assert/package.json index b824fc71d1b28..b33bdb9c5f9cb 100644 --- a/packages/@aws-cdk/assert/package.json +++ b/packages/@aws-cdk/assert/package.json @@ -35,7 +35,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/@aws-cdk/assert" }, "keywords": [ "aws", diff --git a/packages/@aws-cdk/assets-docker/package.json b/packages/@aws-cdk/assets-docker/package.json index bd0c9111e8c0a..3026076d33fa1 100644 --- a/packages/@aws-cdk/assets-docker/package.json +++ b/packages/@aws-cdk/assets-docker/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/assets-docker" }, "scripts": { "build": "cdk-build", @@ -84,4 +85,4 @@ "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 1c74a692d79b3..a2e2d66613d07 100644 --- a/packages/@aws-cdk/assets/package.json +++ b/packages/@aws-cdk/assets/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/assets" }, "scripts": { "build": "cdk-build", @@ -43,7 +44,7 @@ }, "cdk-build": { "pre": [ - "cd test/fs && tar -xzvf fixtures.tar.gz" + "cd test/fs && tar -xzvf fixtures.tar.gz" ] }, "keywords": [ diff --git a/packages/@aws-cdk/aws-amazonmq/package.json b/packages/@aws-cdk/aws-amazonmq/package.json index 88ea8bdd4bb10..46162267c092c 100644 --- a/packages/@aws-cdk/aws-amazonmq/package.json +++ b/packages/@aws-cdk/aws-amazonmq/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-amazonmq" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 8a1b314bdf9a5..b32a46863bd4a 100644 --- a/packages/@aws-cdk/aws-apigateway/package.json +++ b/packages/@aws-cdk/aws-apigateway/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-apigateway" }, "scripts": { "build": "cdk-build", @@ -89,4 +90,4 @@ "resource-attribute:@aws-cdk/aws-apigateway.IRestApi.restApiRootResourceId" ] } -} \ 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 d755978725558..a584c26fd9e3e 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/package.json +++ b/packages/@aws-cdk/aws-applicationautoscaling/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-applicationautoscaling" }, "scripts": { "build": "cdk-build", @@ -79,4 +80,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-appmesh/package.json b/packages/@aws-cdk/aws-appmesh/package.json index a83812c5bf9b6..387d857396235 100644 --- a/packages/@aws-cdk/aws-appmesh/package.json +++ b/packages/@aws-cdk/aws-appmesh/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-appmesh" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 9d8b8651db123..8d5ebc8fe8f84 100644 --- a/packages/@aws-cdk/aws-appstream/package.json +++ b/packages/@aws-cdk/aws-appstream/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-appstream" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 d9f1569e2adfd..284407087b1ba 100644 --- a/packages/@aws-cdk/aws-appsync/package.json +++ b/packages/@aws-cdk/aws-appsync/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-appsync" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 93c2a495ac472..f77d65d1bcc38 100644 --- a/packages/@aws-cdk/aws-athena/package.json +++ b/packages/@aws-cdk/aws-athena/package.json @@ -32,7 +32,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-athena" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 4f868df202507..8158fd9e0d877 100644 --- a/packages/@aws-cdk/aws-autoscaling-api/package.json +++ b/packages/@aws-cdk/aws-autoscaling-api/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-autoscaling-api" }, "scripts": { "build": "cdk-build", @@ -81,4 +82,4 @@ "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 2919cdfdda3da..9f41e29648c26 100644 --- a/packages/@aws-cdk/aws-autoscaling-common/package.json +++ b/packages/@aws-cdk/aws-autoscaling-common/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-autoscaling-common" }, "scripts": { "build": "cdk-build", @@ -72,4 +73,4 @@ "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 623d63d606e9a..18174f95c5626 100644 --- a/packages/@aws-cdk/aws-autoscaling/package.json +++ b/packages/@aws-cdk/aws-autoscaling/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-autoscaling" }, "scripts": { "build": "cdk-build", @@ -96,4 +97,4 @@ "export:@aws-cdk/aws-autoscaling.IAutoScalingGroup" ] } -} \ 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 17b8b1f956951..41cb8aebf2caa 100644 --- a/packages/@aws-cdk/aws-autoscalingplans/package.json +++ b/packages/@aws-cdk/aws-autoscalingplans/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-autoscalingplans" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 d9e1071c55c69..b9375a70d98d1 100644 --- a/packages/@aws-cdk/aws-batch/package.json +++ b/packages/@aws-cdk/aws-batch/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-batch" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 b60b8d02c02f4..07909810526b1 100644 --- a/packages/@aws-cdk/aws-budgets/package.json +++ b/packages/@aws-cdk/aws-budgets/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-budgets" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 f2c874438f2dc..e72c9cae9230e 100644 --- a/packages/@aws-cdk/aws-certificatemanager/package.json +++ b/packages/@aws-cdk/aws-certificatemanager/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-certificatemanager" }, "scripts": { "build": "cdk-build", diff --git a/packages/@aws-cdk/aws-cloud9/package.json b/packages/@aws-cdk/aws-cloud9/package.json index f775459a6e9da..dfaeff798084e 100644 --- a/packages/@aws-cdk/aws-cloud9/package.json +++ b/packages/@aws-cdk/aws-cloud9/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-cloud9" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 74a3c4e77a21b..42fd9cf838ca3 100644 --- a/packages/@aws-cdk/aws-cloudformation/package.json +++ b/packages/@aws-cdk/aws-cloudformation/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-cloudformation" }, "scripts": { "build": "cdk-build", @@ -87,4 +88,4 @@ "construct-ctor:@aws-cdk/aws-cloudformation.PipelineCloudFormationDeployAction." ] } -} \ 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 a0775a912d8e9..2faba6030aeb2 100644 --- a/packages/@aws-cdk/aws-cloudfront/package.json +++ b/packages/@aws-cdk/aws-cloudfront/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-cloudfront" }, "scripts": { "build": "cdk-build", @@ -82,4 +83,4 @@ "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 000bccf8ab7dd..dda523a6fc725 100644 --- a/packages/@aws-cdk/aws-cloudtrail/package.json +++ b/packages/@aws-cdk/aws-cloudtrail/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-cloudtrail" }, "scripts": { "build": "cdk-build", @@ -82,4 +83,4 @@ "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 d7a66a46532e4..282a4ee65f053 100644 --- a/packages/@aws-cdk/aws-cloudwatch/package.json +++ b/packages/@aws-cdk/aws-cloudwatch/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-cloudwatch" }, "scripts": { "build": "cdk-build", @@ -76,4 +77,4 @@ "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 3b44940bb155a..a224d640bd513 100644 --- a/packages/@aws-cdk/aws-codebuild/package.json +++ b/packages/@aws-cdk/aws-codebuild/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codebuild" }, "scripts": { "build": "cdk-build", @@ -101,4 +102,4 @@ "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 b312aefa3a3e4..8bcb1d20b810e 100644 --- a/packages/@aws-cdk/aws-codecommit/package.json +++ b/packages/@aws-cdk/aws-codecommit/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codecommit" }, "scripts": { "build": "cdk-build", @@ -85,4 +86,4 @@ "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 cd50df236f4f2..ce357ea3140e0 100644 --- a/packages/@aws-cdk/aws-codedeploy-api/package.json +++ b/packages/@aws-cdk/aws-codedeploy-api/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codedeploy-api" }, "scripts": { "build": "cdk-build", diff --git a/packages/@aws-cdk/aws-codedeploy/package.json b/packages/@aws-cdk/aws-codedeploy/package.json index fe1a52563871e..46f5a91e3802a 100644 --- a/packages/@aws-cdk/aws-codedeploy/package.json +++ b/packages/@aws-cdk/aws-codedeploy/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codedeploy" }, "scripts": { "build": "cdk-build", @@ -96,4 +97,4 @@ "construct-ctor:@aws-cdk/aws-codedeploy.ServerDeploymentGroupBase..params[2]" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codepipeline-actions/package.json b/packages/@aws-cdk/aws-codepipeline-actions/package.json index c487120f25f8d..c0140f19a2f54 100644 --- a/packages/@aws-cdk/aws-codepipeline-actions/package.json +++ b/packages/@aws-cdk/aws-codepipeline-actions/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codepipeline-actions" }, "scripts": { "build": "cdk-build", diff --git a/packages/@aws-cdk/aws-codepipeline-api/package.json b/packages/@aws-cdk/aws-codepipeline-api/package.json index de7f69e320849..2f40f64cb9483 100644 --- a/packages/@aws-cdk/aws-codepipeline-api/package.json +++ b/packages/@aws-cdk/aws-codepipeline-api/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codepipeline-api" }, "scripts": { "build": "cdk-build", diff --git a/packages/@aws-cdk/aws-codepipeline/package.json b/packages/@aws-cdk/aws-codepipeline/package.json index ffbcaa7cd7341..359d657a6ad93 100644 --- a/packages/@aws-cdk/aws-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codepipeline/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-codepipeline" }, "scripts": { "build": "cdk-build", diff --git a/packages/@aws-cdk/aws-cognito/package.json b/packages/@aws-cdk/aws-cognito/package.json index 8c72a2224e5c7..41521a638050a 100644 --- a/packages/@aws-cdk/aws-cognito/package.json +++ b/packages/@aws-cdk/aws-cognito/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-cognito" }, "scripts": { "build": "cdk-build", @@ -76,4 +77,4 @@ "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 ca25f682f2b89..c17f153c9c788 100644 --- a/packages/@aws-cdk/aws-config/package.json +++ b/packages/@aws-cdk/aws-config/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-config" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 bfabc4830887a..016f267fdb37c 100644 --- a/packages/@aws-cdk/aws-datapipeline/package.json +++ b/packages/@aws-cdk/aws-datapipeline/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-datapipeline" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 df38efcaae2da..b26b6bf5f9bad 100644 --- a/packages/@aws-cdk/aws-dax/package.json +++ b/packages/@aws-cdk/aws-dax/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-dax" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 720ee3f2d13af..08090cd3bfb02 100644 --- a/packages/@aws-cdk/aws-directoryservice/package.json +++ b/packages/@aws-cdk/aws-directoryservice/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-directoryservice" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 8e12c4938bf37..eea4905c128aa 100644 --- a/packages/@aws-cdk/aws-dlm/package.json +++ b/packages/@aws-cdk/aws-dlm/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-dlm" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 0305266137217..4f7d93ea784ba 100644 --- a/packages/@aws-cdk/aws-dms/package.json +++ b/packages/@aws-cdk/aws-dms/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-dms" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-docdb/package.json b/packages/@aws-cdk/aws-docdb/package.json index 1bc8e8bed56c4..ded5a66b2148c 100644 --- a/packages/@aws-cdk/aws-docdb/package.json +++ b/packages/@aws-cdk/aws-docdb/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-docdb" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 adbf9f18e9b49..54f2d4510486b 100644 --- a/packages/@aws-cdk/aws-dynamodb/package.json +++ b/packages/@aws-cdk/aws-dynamodb/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-dynamodb" }, "scripts": { "build": "cdk-build", @@ -78,4 +79,4 @@ "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 f2bdffb2bcfea..b098e7205dbff 100644 --- a/packages/@aws-cdk/aws-ec2/package.json +++ b/packages/@aws-cdk/aws-ec2/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-ec2" }, "scripts": { "build": "cdk-build", diff --git a/packages/@aws-cdk/aws-ecr/package.json b/packages/@aws-cdk/aws-ecr/package.json index 982341bfcdb2d..f20d7fb06f2a9 100644 --- a/packages/@aws-cdk/aws-ecr/package.json +++ b/packages/@aws-cdk/aws-ecr/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-ecr" }, "scripts": { "build": "cdk-build", @@ -87,4 +88,4 @@ "import:@aws-cdk/aws-ecr.Repository" ] } -} \ 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 af0ac63d205fb..f613de1ea7960 100644 --- a/packages/@aws-cdk/aws-ecs/package.json +++ b/packages/@aws-cdk/aws-ecs/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-ecs" }, "scripts": { "build": "cdk-build", @@ -117,4 +118,4 @@ "construct-ctor:@aws-cdk/aws-ecs.LoadBalancedFargateServiceApplet..params[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 9426b13ba17bc..98f8a4f7ca78d 100644 --- a/packages/@aws-cdk/aws-efs/package.json +++ b/packages/@aws-cdk/aws-efs/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-efs" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 5a40a077a126e..e029753104306 100644 --- a/packages/@aws-cdk/aws-eks/package.json +++ b/packages/@aws-cdk/aws-eks/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-eks" }, "scripts": { "build": "cdk-build", @@ -80,4 +81,4 @@ "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 38bfcb17d8a70..8e6bb561ce28e 100644 --- a/packages/@aws-cdk/aws-elasticache/package.json +++ b/packages/@aws-cdk/aws-elasticache/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-elasticache" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 02665c944a7a0..b99bc3bca9ee5 100644 --- a/packages/@aws-cdk/aws-elasticbeanstalk/package.json +++ b/packages/@aws-cdk/aws-elasticbeanstalk/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-elasticbeanstalk" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 ea2e6ed8f0415..5a34dd2ff5a69 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancing/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancing/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-elasticloadbalancing" }, "scripts": { "build": "cdk-build", @@ -78,4 +79,4 @@ "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 60da85f6f2a1e..865750f894c9e 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-elasticloadbalancingv2" }, "scripts": { "build": "cdk-build", @@ -92,4 +93,4 @@ "construct-ctor:@aws-cdk/aws-elasticloadbalancingv2.TargetGroupBase." ] } -} \ 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 d833c19d93682..18ddb719e5993 100644 --- a/packages/@aws-cdk/aws-elasticsearch/package.json +++ b/packages/@aws-cdk/aws-elasticsearch/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-elasticsearch" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 4505d62ec6553..ff77f8c0d8ffc 100644 --- a/packages/@aws-cdk/aws-emr/package.json +++ b/packages/@aws-cdk/aws-emr/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-emr" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 ddd6771850d37..6e5277b59a74c 100644 --- a/packages/@aws-cdk/aws-events/package.json +++ b/packages/@aws-cdk/aws-events/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-events" }, "scripts": { "build": "cdk-build", @@ -75,4 +76,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-fsx/package.json b/packages/@aws-cdk/aws-fsx/package.json index 0b2bdd1e8c97c..c17810ac1f87c 100644 --- a/packages/@aws-cdk/aws-fsx/package.json +++ b/packages/@aws-cdk/aws-fsx/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-fsx" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 4da96313d786b..6ca4f8b23493f 100644 --- a/packages/@aws-cdk/aws-gamelift/package.json +++ b/packages/@aws-cdk/aws-gamelift/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-gamelift" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 2d63055b63201..bd1c18f36d236 100644 --- a/packages/@aws-cdk/aws-glue/package.json +++ b/packages/@aws-cdk/aws-glue/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-glue" }, "scripts": { "build": "cdk-build", @@ -80,4 +81,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-greengrass/package.json b/packages/@aws-cdk/aws-greengrass/package.json index 26dfd7a059c31..23f6a1a299bda 100644 --- a/packages/@aws-cdk/aws-greengrass/package.json +++ b/packages/@aws-cdk/aws-greengrass/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-greengrass" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 d96b498884ce3..90503be6e49e3 100644 --- a/packages/@aws-cdk/aws-guardduty/package.json +++ b/packages/@aws-cdk/aws-guardduty/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-guardduty" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 9af1155e1fbf7..ed37c5f76de38 100644 --- a/packages/@aws-cdk/aws-iam/package.json +++ b/packages/@aws-cdk/aws-iam/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-iam" }, "scripts": { "build": "cdk-build", @@ -78,4 +79,4 @@ "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 22802020137bc..f0f21f2f18892 100644 --- a/packages/@aws-cdk/aws-inspector/package.json +++ b/packages/@aws-cdk/aws-inspector/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-inspector" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 038760085a80f..7f254fb301ed8 100644 --- a/packages/@aws-cdk/aws-iot/package.json +++ b/packages/@aws-cdk/aws-iot/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-iot" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 0eb89e202d9df..37d015698c5e1 100644 --- a/packages/@aws-cdk/aws-iot1click/package.json +++ b/packages/@aws-cdk/aws-iot1click/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-iot1click" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iotanalytics/package.json b/packages/@aws-cdk/aws-iotanalytics/package.json index 8be8b5681bb21..32ed2ffb3087e 100644 --- a/packages/@aws-cdk/aws-iotanalytics/package.json +++ b/packages/@aws-cdk/aws-iotanalytics/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-iotanalytics" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 98ce9cb488718..7625a3806905b 100644 --- a/packages/@aws-cdk/aws-kinesis/package.json +++ b/packages/@aws-cdk/aws-kinesis/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-kinesis" }, "scripts": { "build": "cdk-build", @@ -78,4 +79,4 @@ "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 81971953d33cf..912734619573b 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-kinesisanalytics" }, "scripts": { "build": "cdk-build", @@ -76,4 +77,4 @@ "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 0e3bda5238826..f96e34fdedeae 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-kinesisfirehose" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 84f42532ae069..0a9475142f75f 100644 --- a/packages/@aws-cdk/aws-kms/package.json +++ b/packages/@aws-cdk/aws-kms/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-kms" }, "scripts": { "build": "cdk-build", @@ -76,4 +77,4 @@ "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 9e0c17a81970f..84352368ac838 100644 --- a/packages/@aws-cdk/aws-lambda-event-sources/package.json +++ b/packages/@aws-cdk/aws-lambda-event-sources/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-lambda-event-sources" }, "scripts": { "build": "cdk-build", @@ -84,4 +85,4 @@ "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 6012891a4a079..16b968b017767 100644 --- a/packages/@aws-cdk/aws-lambda/package.json +++ b/packages/@aws-cdk/aws-lambda/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-lambda" }, "scripts": { "build": "cdk-build", @@ -111,4 +112,4 @@ "grant-result:@aws-cdk/aws-lambda.LayerVersionBase.grantUsage" ] } -} \ 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 eeca6228fab1a..ab59961c7c55f 100644 --- a/packages/@aws-cdk/aws-logs/package.json +++ b/packages/@aws-cdk/aws-logs/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-logs" }, "scripts": { "build": "cdk-build", @@ -78,4 +79,4 @@ "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 cd07eca40eb7e..6591f1f960e8c 100644 --- a/packages/@aws-cdk/aws-neptune/package.json +++ b/packages/@aws-cdk/aws-neptune/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-neptune" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 acb5786a5a037..5771b7e3374da 100644 --- a/packages/@aws-cdk/aws-opsworks/package.json +++ b/packages/@aws-cdk/aws-opsworks/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-opsworks" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-opsworkscm/package.json b/packages/@aws-cdk/aws-opsworkscm/package.json index 315ea91c33460..5c06987302a16 100644 --- a/packages/@aws-cdk/aws-opsworkscm/package.json +++ b/packages/@aws-cdk/aws-opsworkscm/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-opsworkscm" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 26e60f79b8917..782ee19cc2d22 100644 --- a/packages/@aws-cdk/aws-quickstarts/package.json +++ b/packages/@aws-cdk/aws-quickstarts/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-quickstarts" }, "scripts": { "build": "cdk-build", @@ -71,4 +72,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ram/package.json b/packages/@aws-cdk/aws-ram/package.json index b0bc84fa883d7..4af58bd3f3390 100644 --- a/packages/@aws-cdk/aws-ram/package.json +++ b/packages/@aws-cdk/aws-ram/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-ram" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 bea246fbbf81a..48586de0e0d4b 100644 --- a/packages/@aws-cdk/aws-rds/package.json +++ b/packages/@aws-cdk/aws-rds/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-rds" }, "scripts": { "build": "cdk-build", @@ -83,4 +84,4 @@ "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 26f15e527fd24..6cec43e6917a0 100644 --- a/packages/@aws-cdk/aws-redshift/package.json +++ b/packages/@aws-cdk/aws-redshift/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-redshift" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-robomaker/package.json b/packages/@aws-cdk/aws-robomaker/package.json index cc0fc247718ea..d458a10313986 100644 --- a/packages/@aws-cdk/aws-robomaker/package.json +++ b/packages/@aws-cdk/aws-robomaker/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-robomaker" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -74,4 +75,4 @@ "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 7941e9087ff47..6637f48dcd57f 100644 --- a/packages/@aws-cdk/aws-route53/package.json +++ b/packages/@aws-cdk/aws-route53/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-route53" }, "scripts": { "build": "cdk-build", @@ -79,4 +80,4 @@ "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 69cbfe6cd4735..143aae8a2dfaa 100644 --- a/packages/@aws-cdk/aws-route53resolver/package.json +++ b/packages/@aws-cdk/aws-route53resolver/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-route53resolver" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 aca82a36192b8..4a9d005acbf10 100644 --- a/packages/@aws-cdk/aws-s3-deployment/package.json +++ b/packages/@aws-cdk/aws-s3-deployment/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-s3-deployment" }, "scripts": { "build": "cdk-build", @@ -93,4 +94,4 @@ "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 f80b3abb9a4d7..ab5b87bebb992 100644 --- a/packages/@aws-cdk/aws-s3-notifications/package.json +++ b/packages/@aws-cdk/aws-s3-notifications/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-s3-notifications" }, "scripts": { "build": "cdk-build", @@ -67,4 +68,4 @@ "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 7bcf138e16f07..b1057fc4dc627 100644 --- a/packages/@aws-cdk/aws-s3/package.json +++ b/packages/@aws-cdk/aws-s3/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-s3" }, "scripts": { "build": "cdk-build", @@ -91,4 +92,4 @@ "resource-interface:@aws-cdk/aws-s3.IBucketPolicy" ] } -} \ 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 035ec9427f965..e433e399ac782 100644 --- a/packages/@aws-cdk/aws-sagemaker/package.json +++ b/packages/@aws-cdk/aws-sagemaker/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-sagemaker" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sam/package.json b/packages/@aws-cdk/aws-sam/package.json index 73a4dd2be2b7a..dbb63fa3f8f1b 100644 --- a/packages/@aws-cdk/aws-sam/package.json +++ b/packages/@aws-cdk/aws-sam/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-sam" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -73,4 +74,4 @@ "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 6a839c20bccba..7ed3e20e65311 100644 --- a/packages/@aws-cdk/aws-sdb/package.json +++ b/packages/@aws-cdk/aws-sdb/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-sdb" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 582e15b885d2e..4608b3c54520c 100644 --- a/packages/@aws-cdk/aws-secretsmanager/package.json +++ b/packages/@aws-cdk/aws-secretsmanager/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-secretsmanager" }, "homepage": "https://github.com/awslabs/aws-cdk", "scripts": { @@ -82,4 +83,4 @@ "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 0c3afd33764d1..7aac0a3e3a87a 100644 --- a/packages/@aws-cdk/aws-servicecatalog/package.json +++ b/packages/@aws-cdk/aws-servicecatalog/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-servicecatalog" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 09041e514e972..3d794f7725e37 100644 --- a/packages/@aws-cdk/aws-servicediscovery/package.json +++ b/packages/@aws-cdk/aws-servicediscovery/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-servicediscovery" }, "scripts": { "build": "cdk-build", @@ -91,4 +92,4 @@ "resource-interface:@aws-cdk/aws-servicediscovery.IPrivateDnsNamespace" ] } -} \ 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 cc0f60cecc9a2..eb91846597539 100644 --- a/packages/@aws-cdk/aws-ses/package.json +++ b/packages/@aws-cdk/aws-ses/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-ses" }, "scripts": { "build": "cdk-build", @@ -84,4 +85,4 @@ "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 aadb52968734b..b6712107a2add 100644 --- a/packages/@aws-cdk/aws-sns/package.json +++ b/packages/@aws-cdk/aws-sns/package.json @@ -32,7 +32,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-sns" }, "scripts": { "build": "cdk-build", @@ -92,4 +93,4 @@ "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 b2a94c7ce9660..e17607d0cb435 100644 --- a/packages/@aws-cdk/aws-sqs/package.json +++ b/packages/@aws-cdk/aws-sqs/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-sqs" }, "scripts": { "build": "cdk-build", @@ -91,4 +92,4 @@ "resource-attribute:@aws-cdk/aws-sqs.IQueue.queueName" ] } -} \ 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 84ab4392713ec..bfb5b6c4e1597 100644 --- a/packages/@aws-cdk/aws-ssm/package.json +++ b/packages/@aws-cdk/aws-ssm/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-ssm" }, "scripts": { "build": "cdk-build", @@ -89,4 +90,4 @@ "*:@aws-cdk/aws-ssm.ResourceDataSync" ] } -} \ 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 edfc042d700d3..0ab31030b2137 100644 --- a/packages/@aws-cdk/aws-stepfunctions/package.json +++ b/packages/@aws-cdk/aws-stepfunctions/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-stepfunctions" }, "scripts": { "build": "cdk-build", @@ -85,4 +86,4 @@ "resource-attribute:@aws-cdk/aws-stepfunctions.IStateMachine.stateMachineName" ] } -} \ 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 9cb0210be7ada..e42bc4f131b5d 100644 --- a/packages/@aws-cdk/aws-waf/package.json +++ b/packages/@aws-cdk/aws-waf/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-waf" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 07cc71c43308c..5910004a7e89f 100644 --- a/packages/@aws-cdk/aws-wafregional/package.json +++ b/packages/@aws-cdk/aws-wafregional/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-wafregional" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 17f41957fb055..80fc3dcc8c205 100644 --- a/packages/@aws-cdk/aws-workspaces/package.json +++ b/packages/@aws-cdk/aws-workspaces/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/aws-workspaces" }, "scripts": { "build": "cdk-build", @@ -73,4 +74,4 @@ "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 4bc93e458492d..23554ccc5fae6 100644 --- a/packages/@aws-cdk/cdk/package.json +++ b/packages/@aws-cdk/cdk/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/cdk" }, "awslint": { "exclude": [ @@ -82,4 +83,4 @@ "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 7cfd4c72ecb57..0b7c98a7676b1 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -42,7 +42,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/@aws-cdk/cloudformation-diff" }, "keywords": [ "aws", diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index 8cca8e352077c..1a0720fd704f9 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -48,7 +48,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/@aws-cdk/cx-api" }, "keywords": [ "aws", diff --git a/packages/@aws-cdk/region-info/package.json b/packages/@aws-cdk/region-info/package.json index dfadf9f53a0c7..320a212ded48f 100644 --- a/packages/@aws-cdk/region-info/package.json +++ b/packages/@aws-cdk/region-info/package.json @@ -73,7 +73,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/@aws-cdk/region-info" }, "keywords": [ "aws", diff --git a/packages/@aws-cdk/runtime-values/package.json b/packages/@aws-cdk/runtime-values/package.json index a067b97349e65..4c0e235b176be 100644 --- a/packages/@aws-cdk/runtime-values/package.json +++ b/packages/@aws-cdk/runtime-values/package.json @@ -29,7 +29,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "packages/@aws-cdk/runtime-values" }, "scripts": { "build": "cdk-build", @@ -74,4 +75,4 @@ "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 a3024c3baf77f..b070ab282e2b2 100644 --- a/packages/aws-cdk/package.json +++ b/packages/aws-cdk/package.json @@ -72,7 +72,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/aws-cdk" }, "keywords": [ "aws", diff --git a/packages/simple-resource-bundler/package.json b/packages/simple-resource-bundler/package.json index c726f78d73851..12b3444554273 100644 --- a/packages/simple-resource-bundler/package.json +++ b/packages/simple-resource-bundler/package.json @@ -34,7 +34,8 @@ }, "repository": { "url": "https://github.com/awslabs/aws-cdk.git", - "type": "git" + "type": "git", + "directory": "packages/simple-resource-bundler" }, "keywords": [ "aws", diff --git a/tools/cdk-build-tools/package.json b/tools/cdk-build-tools/package.json index 1a30cbe659646..ff178dabcffca 100644 --- a/tools/cdk-build-tools/package.json +++ b/tools/cdk-build-tools/package.json @@ -6,7 +6,8 @@ "main": "lib/index.js", "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "tools/cdk-build-tools" }, "bin": { "cdk-build": "bin/cdk-build", diff --git a/tools/cdk-integ-tools/package.json b/tools/cdk-integ-tools/package.json index 699e111fc6ec5..f3099a2d3387a 100644 --- a/tools/cdk-integ-tools/package.json +++ b/tools/cdk-integ-tools/package.json @@ -6,7 +6,8 @@ "main": "index.js", "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "tools/cdk-integ-tools" }, "bin": { "cdk-integ": "bin/cdk-integ", diff --git a/tools/cfn2ts/package.json b/tools/cfn2ts/package.json index de891a028214b..e5f0045c698fa 100644 --- a/tools/cfn2ts/package.json +++ b/tools/cfn2ts/package.json @@ -7,7 +7,8 @@ "types": "lib/index.d.ts", "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "tools/cfn2ts" }, "bin": { "cfn2ts": "bin/cfn2ts" diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index 63d7502c20d00..2477fac9dc021 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -4,7 +4,13 @@ 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, findInnerPackages, monoRepoVersion } from './util'; +import { + deepGet, deepSet, + expectDevDependency, expectJSON, + fileShouldBe, fileShouldContain, + findInnerPackages, + monoRepoRoot, monoRepoVersion +} from './util'; /** * Verify that the package name matches the directory name @@ -45,6 +51,8 @@ export class RepositoryCorrect extends ValidationRule { public validate(pkg: PackageJson): void { expectJSON(this.name, pkg, 'repository.type', 'git'); expectJSON(this.name, pkg, 'repository.url', 'https://github.com/awslabs/aws-cdk.git'); + const pkgDir = path.relative(monoRepoRoot(), pkg.packageRoot); + expectJSON(this.name, pkg, 'repository.directory', pkgDir); } } diff --git a/tools/pkglint/lib/util.ts b/tools/pkglint/lib/util.ts index fe96d8903a046..a31a09feb0f21 100644 --- a/tools/pkglint/lib/util.ts +++ b/tools/pkglint/lib/util.ts @@ -146,12 +146,16 @@ export function findUpward(dir: string, pred: (x: string) => boolean): string | } } -function findLernaJSON() { +export function monoRepoRoot() { const ret = findUpward(process.cwd(), d => fs.existsSync(path.join(d, 'lerna.json'))); if (!ret) { throw new Error('Could not find lerna.json'); } - return path.join(ret, 'lerna.json'); + return ret; +} + +function findLernaJSON() { + return path.join(monoRepoRoot(), 'lerna.json'); } export function* findInnerPackages(dir: string): IterableIterator { diff --git a/tools/pkgtools/package.json b/tools/pkgtools/package.json index 9c1957a6085e4..5437323bcf595 100644 --- a/tools/pkgtools/package.json +++ b/tools/pkgtools/package.json @@ -6,7 +6,8 @@ "main": "index.js", "repository": { "type": "git", - "url": "https://github.com/awslabs/aws-cdk.git" + "url": "https://github.com/awslabs/aws-cdk.git", + "directory": "tools/pkgtools" }, "bin": { "cdk-version": "bin/cdk-version",