Skip to content

Commit

Permalink
chore: pin jsii to 1.1.0 due to bug in 1.2.0
Browse files Browse the repository at this point in the history
In jsii 1.2.0 the way python code loads jsii tarballs has been changed and is no longer "portable" in a sense that we can harvest the python code into a user-defined location in the cdk8s project (e.g. `imports`).

Until this is fixed, we are pinning jsii to 1.1.0.

jsii bug: aws/jsii#1501
  • Loading branch information
Elad Ben-Israel committed Apr 8, 2020
1 parent edf2e8c commit 547a216
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion examples/crd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"cdk8s": "0.0.0",
"constructs": "^2.0.0"
"constructs": "^2.0.1"
},
"devDependencies": {
"@types/jest": "^25.1.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"cdk8s": "0.0.0",
"constructs": "^2.0.0"
"constructs": "^2.0.1"
},
"devDependencies": {
"@types/jest": "^25.1.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/podinfo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"cdk8s": "0.0.0",
"constructs": "^2.0.0"
"constructs": "^2.0.1"
},
"devDependencies": {
"@types/jest": "^25.1.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/web-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"cdk8s": "0.0.0",
"constructs": "^2.0.0"
"constructs": "^2.0.1"
},
"devDependencies": {
"@types/jest": "^25.1.2",
Expand Down
9 changes: 5 additions & 4 deletions packages/cdk8s-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"@types/node": "13.7.0",
"cdk8s": "0.0.0",
"codemaker": "^0.22.0",
"constructs": "^2.0.0",
"constructs": "^2.0.1",
"fs-extra": "^8.1.0",
"jsii": "^1.1.0",
"jsii-pacmak": "^1.1.0",
"jsii": "1.1.0",
"jsii-pacmak": "1.1.0",
"sscaff": "^1.2.0",
"yaml": "^1.7.2",
"yargs": "^15.1.0"
Expand Down Expand Up @@ -69,6 +69,7 @@
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
"eslint": "^6.8.0",
"jest": "^25.1.0"
"jest": "^25.1.0",
"typescript": "^3.8.3"
}
}
8 changes: 4 additions & 4 deletions packages/cdk8s/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@
"@types/yaml": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^2.20.0",
"@typescript-eslint/parser": "^2.20.0",
"constructs": "2.0.0",
"constructs": "2.0.1",
"eslint": "^6.8.0",
"jest": "^25.1.0",
"jsii": "^1.1.0",
"jsii-pacmak": "^1.1.0",
"jsii": "1.1.0",
"jsii-pacmak": "1.1.0",
"json-schema-to-typescript": "^8.0.1",
"typescript": "^3.7.5"
},
Expand All @@ -94,7 +94,7 @@
"yaml": "^1.7.2"
},
"peerDependencies": {
"constructs": "^2.0.0"
"constructs": "^2.0.1"
},
"stability": "experimental"
}
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2229,10 +2229,10 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0:
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=

[email protected].0, constructs@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/constructs/-/constructs-2.0.0.tgz#8cd035411254853b87c00bb9fec013c644c1c488"
integrity sha512-5bW84vSNMZ0XuEW93OTQG+HuPfRRPzVtXcsCAjUhc5Cmm9pHds10vz+GyDTbBZZ9jsFlY+YjXpcuVyTQ7dV14w==
[email protected].1, constructs@^2.0.1:
version "2.0.1"
resolved "https://registry.npmjs.org/constructs/-/constructs-2.0.1.tgz#274d6b8ce6a698813495c444466b0c745349ddb5"
integrity sha512-edR85YFGI9TBT9byAo5vAfI0PRi+jFGzinwN3RAJwKfv6Yc9x9kALYfoEmgotp95qT7/k/iUQWHrH9BMJeqpdg==

conventional-changelog-angular@^5.0.3, conventional-changelog-angular@^5.0.6:
version "5.0.6"
Expand Down Expand Up @@ -4685,9 +4685,9 @@ jsesc@^2.5.1:
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==

jsii-pacmak@^1.1.0:
[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/jsii-pacmak/-/jsii-pacmak-1.1.0.tgz#a5363bde828bda6d24cbc33a8dd13971eea28e67"
resolved "https://registry.npmjs.org/jsii-pacmak/-/jsii-pacmak-1.1.0.tgz#a5363bde828bda6d24cbc33a8dd13971eea28e67"
integrity sha512-TLJjLN53fwA5n7hQ2UKRxRYUhead7sRILo4KOJQxN8dVAI1+oocp198QaVGbDD6ZE3aIUKKVThOkBZkY8K3zbw==
dependencies:
"@jsii/spec" "^1.1.0"
Expand Down Expand Up @@ -4727,9 +4727,9 @@ jsii-rosetta@^1.1.0:
xmldom "^0.3.0"
yargs "^15.3.0"

jsii@^1.1.0:
[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/jsii/-/jsii-1.1.0.tgz#cc76544fd67793f92f3fbe8f0d1ff22d75f61092"
resolved "https://registry.npmjs.org/jsii/-/jsii-1.1.0.tgz#cc76544fd67793f92f3fbe8f0d1ff22d75f61092"
integrity sha512-QmtKu2ZEXwMop+An4AnDsOZJr5EObcXtGiuw8bVy8ldq1WHiri4mvSWwZQI3ekUcWyOGjwFY9CuDy+xYbsf+Pg==
dependencies:
"@jsii/spec" "^1.1.0"
Expand Down Expand Up @@ -7431,9 +7431,9 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@^3.7.5, typescript@~3.8.3:
typescript@^3.7.5, typescript@^3.8.3, typescript@~3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
resolved "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==

uglify-js@^3.1.4:
Expand Down

0 comments on commit 547a216

Please sign in to comment.