Skip to content

Commit

Permalink
chore: peerDependencies
Browse files Browse the repository at this point in the history
Adds "peerDependencies" to all modules for all dependencies that
include types that are used in the module's public API.

Also, add "@aws-cdk/cdk" to "peerDependencies" for the typescript
library cdk-init template.

This will be enforced by jsii when aws/jsii#292 is introduced.
Prerequisite for #272
Fixes #979
  • Loading branch information
Elad Ben-Israel committed Nov 6, 2018
1 parent c832eaf commit bf32e36
Show file tree
Hide file tree
Showing 79 changed files with 398 additions and 73 deletions.
7 changes: 6 additions & 1 deletion packages/@aws-cdk/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/cx-api": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/aws-s3": "^0.14.1"
}
}
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-amazonmq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
},
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
7 changes: 6 additions & 1 deletion packages/@aws-cdk/aws-apigateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,10 @@
"@aws-cdk/aws-lambda": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/aws-lambda": "^0.14.1"
}
}
7 changes: 6 additions & 1 deletion packages/@aws-cdk/aws-applicationautoscaling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,10 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/aws-cloudwatch": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-appsync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-athena/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
10 changes: 9 additions & 1 deletion packages/@aws-cdk/aws-autoscaling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,13 @@
"@aws-cdk/aws-sns": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-elasticloadbalancing": "^0.14.1",
"@aws-cdk/aws-ec2": "^0.14.1",
"@aws-cdk/aws-elasticloadbalancingv2": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/aws-sns": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-autoscalingplans/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-budgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-certificatemanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-cloud9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
9 changes: 8 additions & 1 deletion packages/@aws-cdk/aws-cloudformation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,12 @@
"@aws-cdk/aws-sns": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-lambda": "^0.14.1",
"@aws-cdk/aws-sns": "^0.14.1",
"@aws-cdk/aws-codepipeline-api": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1"
}
}
6 changes: 5 additions & 1 deletion packages/@aws-cdk/aws-cloudfront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,9 @@
"@aws-cdk/aws-s3": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-s3": "^0.14.1"
}
}
6 changes: 5 additions & 1 deletion packages/@aws-cdk/aws-cloudtrail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@
"@aws-cdk/aws-s3": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-kms": "^0.14.1"
}
}
6 changes: 5 additions & 1 deletion packages/@aws-cdk/aws-cloudwatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1"
}
}
13 changes: 12 additions & 1 deletion packages/@aws-cdk/aws-codebuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,16 @@
"@aws-cdk/aws-s3": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-codecommit": "^0.14.1",
"@aws-cdk/aws-codepipeline-api": "^0.14.1",
"@aws-cdk/assets": "^0.14.1",
"@aws-cdk/aws-s3": "^0.14.1",
"@aws-cdk/aws-kms": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-events": "^0.14.1",
"@aws-cdk/aws-cloudwatch": "^0.14.1"
}
}
7 changes: 6 additions & 1 deletion packages/@aws-cdk/aws-codecommit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,10 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-codepipeline-api": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-events": "^0.14.1"
}
}
10 changes: 9 additions & 1 deletion packages/@aws-cdk/aws-codedeploy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,13 @@
"@aws-cdk/aws-s3": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-codepipeline-api": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-cloudwatch": "^0.14.1",
"@aws-cdk/aws-autoscaling": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/aws-codedeploy-api": "^0.14.1"
}
}
7 changes: 6 additions & 1 deletion packages/@aws-cdk/aws-codepipeline-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,10 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-events": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1"
}
}
9 changes: 8 additions & 1 deletion packages/@aws-cdk/aws-codepipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,12 @@
"@aws-cdk/aws-s3": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-codepipeline-api": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/aws-events": "^0.14.1",
"@aws-cdk/aws-s3": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-cognito/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-datapipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-dax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-directoryservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-dms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
7 changes: 6 additions & 1 deletion packages/@aws-cdk/aws-dynamodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,10 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-applicationautoscaling": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-ec2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
6 changes: 5 additions & 1 deletion packages/@aws-cdk/aws-ecr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@
"@aws-cdk/aws-iam": "^0.14.1",
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1",
"@aws-cdk/aws-iam": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-ecs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-efs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-eks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-elasticache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-elasticbeanstalk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"dependencies": {
"@aws-cdk/cdk": "^0.14.1"
},
"homepage": "https://github.com/awslabs/aws-cdk"
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.14.1"
}
}
Loading

0 comments on commit bf32e36

Please sign in to comment.