Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to jsii 0.7.10 #1147

Merged
merged 1 commit into from
Nov 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ fi

/bin/bash ./install.sh


lerna publish --force-publish=* --skip-npm --skip-git --repo-version ${ver}

# align "peerDependencies" to actual dependencies after bump
# this is technically only required for major version bumps, but in the meantime we shall do it in every bump
/bin/bash scripts/fix-peer-deps.sh

# Update CHANGELOG.md only at the root
cat > /tmp/context.json <<HERE
{
Expand Down
6 changes: 5 additions & 1 deletion packages/@aws-cdk/app-delivery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,9 @@
"keywords": [
"aws",
"cdk"
]
],
"peerDependencies": {
"@aws-cdk/cdk": "^0.15.2",
"@aws-cdk/aws-codepipeline-api": "^0.15.2"
}
}
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
},
"dependencies": {
"@aws-cdk/cdk": "^0.15.2"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.15.2"
}
}
11 changes: 10 additions & 1 deletion packages/@aws-cdk/aws-ecs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.15.1"
"@aws-cdk/cdk": "^0.15.1",
"@aws-cdk/aws-ec2": "^0.15.2",
"@aws-cdk/aws-logs": "^0.15.2",
"@aws-cdk/aws-elasticloadbalancingv2": "^0.15.2",
"@aws-cdk/aws-applicationautoscaling": "^0.15.2",
"@aws-cdk/aws-cloudwatch": "^0.15.2",
"@aws-cdk/aws-autoscaling": "^0.15.2",
"@aws-cdk/aws-iam": "^0.15.2",
"@aws-cdk/aws-ecr": "^0.15.2",
"@aws-cdk/aws-elasticloadbalancing": "^0.15.2"
}
}
3 changes: 3 additions & 0 deletions scripts/fix-peer-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
set -euo pipefail
lerna exec "$PWD/tools/cdk-build-tools/node_modules/.bin/jsii-fix-peers 2>/dev/null || true"
4 changes: 2 additions & 2 deletions tools/cdk-build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
},
"dependencies": {
"fs-extra": "^7.0.0",
"jsii": "^0.7.8",
"jsii-pacmak": "^0.7.7",
"jsii": "^0.7.10",
"jsii-pacmak": "^0.7.10",
"merkle-build": "^0.15.2",
"nodeunit": "^0.11.3",
"nyc": "^13.0.1",
Expand Down