Skip to content

Commit

Permalink
fix: update init templates for TypeScript (aws#4953)
Browse files Browse the repository at this point in the history
@types/node version was posing problems with recent TypeScript versions
and needed to be upgraded. Also upgraded other dependencies to the correct
latest versions.
  • Loading branch information
RomainMuller authored Nov 11, 2019
1 parent 39dc036 commit ca503f4
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"@types/jest": "^24.0.18",
"aws-cdk": "^%cdk-version%",
"jest": "^24.9.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"@types/jest": "^24.0.18",
"@types/node": "10.3.0",
"@types/jest": "^24.0.22",
"@types/node": "10.17.5",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"ts-jest": "^24.1.0",
"aws-cdk": "^%cdk-version%",
"ts-node": "^8.1.0",
"typescript": "~3.6.2"
"typescript": "~3.7.2"
},
"dependencies": {
"@aws-cdk/core": "^%cdk-version%",
"source-map-support": "^0.5.9"
"source-map-support": "^0.5.16"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target":"ES2018",
"module": "commonjs",
"lib": ["es2016", "es2017.object", "es2017.string"],
"lib": ["es2018"],
"declaration": true,
"strict": true,
"noImplicitAny": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"@types/jest": "^24.0.18",
"@types/node": "10.3.0",
"@types/jest": "^24.0.22",
"@types/node": "10.17.5",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"typescript": "~3.6.2"
"ts-jest": "^24.1.0",
"typescript": "~3.7.2"
},
"peerDependencies": {
"@aws-cdk/core": "^%cdk-version%"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target":"ES2018",
"module": "commonjs",
"lib": ["es2016", "es2017.object", "es2017.string"],
"lib": ["es2018"],
"declaration": true,
"strict": true,
"noImplicitAny": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"@types/node": "8.10.54",
"@types/jest": "^24.0.18",
"aws-cdk": "^%cdk-version%",
"jest": "^24.9.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
},
"devDependencies": {
"aws-cdk": "^%cdk-version%",
"@aws-cdk/assert": "^1.6.1",
"@types/jest": "^24.0.18",
"@types/node": "10.3.0",
"@aws-cdk/assert": "^%cdk-version%",
"@types/jest": "^24.0.22",
"@types/node": "10.17.5",
"jest": "^24.9.0",
"ts-jest": "^24.0.2",
"ts-jest": "^24.1.0",
"ts-node": "^8.1.0",
"typescript": "~3.6.2"
"typescript": "~3.7.2"
},
"dependencies": {
"@aws-cdk/aws-sns": "^%cdk-version%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target":"ES2018",
"module": "commonjs",
"lib": ["es2016", "es2017.object", "es2017.string"],
"lib": ["es2018"],
"declaration": true,
"strict": true,
"noImplicitAny": true,
Expand Down

0 comments on commit ca503f4

Please sign in to comment.