Skip to content

Commit

Permalink
fix(jsii): pin TypeScript compiler dependency to minor version
Browse files Browse the repository at this point in the history
TypeScript does not honor SemVer and only guarantees there will not be any breaking change between
stable releases, which are indicated by a minor version bump. This will make it safer for consumers
to use JSII, as they will not get breaking changes unless they opt into those.
  • Loading branch information
RomainMuller committed Aug 28, 2019
1 parent ceff2ca commit 22c61c2
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"nodeunit": "^0.11.3",
"nyc": "^14.1.1",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/codemaker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/fs-extra": "^8.0.0",
"@types/nodeunit": "^0.0.30",
"nodeunit": "^0.11.3",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"dependencies": {
"camelcase": "^5.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"jsii-reflect": "^0.15.1",
"jsii-spec": "^0.15.1",
"log4js": "^5.0.0",
"typescript": "^3.5.3",
"typescript": "~3.5.3",
"yargs": "^13.3.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-dotnet-jsonmodel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"jsii-build-tools": "file:../jsii-build-tools",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-dotnet-runtime-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jsii-calc": "file:../jsii-calc",
"jsii-dotnet-runtime": "file:../jsii-dotnet-runtime",
"jsii-pacmak": "^0.15.1",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-dotnet-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"devDependencies": {
"jsii-build-tools": "file:../jsii-build-tools",
"jsii-runtime": "^0.15.1",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"dependencies": {
"jsii-dotnet-jsonmodel": "file:../jsii-dotnet-jsonmodel"
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-java-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"devDependencies": {
"jsii-build-tools": "file:../jsii-build-tools",
"jsii-runtime": "^0.15.1",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"jsii-calc": "file:../jsii-calc",
"nodeunit": "^0.11.3",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"dependencies": {
"jsii-spec": "^0.15.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-pacmak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"jsii-java-runtime": "file:../jsii-java-runtime",
"nodeunit": "^0.11.3",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-reflect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"jsii-build-tools": "file:../jsii-build-tools",
"jsii-calc": "file:../jsii-calc",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"jest": {
"preset": "ts-jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-ruby-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"jsii-calc": "file:../jsii-calc",
"jsii-pacmak": "^0.15.1",
"jsii-runtime": "^0.15.1",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"author": {
"name": "Amazon Web Services",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"nodeunit": "^0.11.3",
"source-map": "^0.7.3",
"source-map-loader": "^0.2.4",
"typescript": "^3.5.3",
"typescript": "~3.5.3",
"wasm-loader": "^1.3.0",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/nodeunit": "^0.0.30",
"jsii-build-tools": "file:../jsii-build-tools",
"nodeunit": "^0.11.3",
"typescript": "^3.5.3",
"typescript": "~3.5.3",
"typescript-json-schema": "^0.39.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"semver": "^6.3.0",
"sort-json": "^2.0.0",
"spdx-license-list": "^6.1.0",
"typescript": "^3.5.3",
"typescript": "~3.5.3",
"yargs": "^13.3.0"
},
"nyc": {
Expand Down
2 changes: 1 addition & 1 deletion packages/oo-ascii-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"jest": "^24.9.0",
"jsii-build-tools": "file:../jsii-build-tools",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
"typescript": "~3.5.3"
},
"author": {
"name": "Amazon Web Services",
Expand Down

0 comments on commit 22c61c2

Please sign in to comment.