Skip to content

Commit 1847bfe

Browse files
trivikrmrgrain
andauthored
fix(aws-cdk): init templates use outdate node types (#941)
Fixes #935 The app needs to be on node@24, as we would like customers to run their applications on latest LTS of Node.js. The lib needs to be node@20, as we would like customers to support minimum number of supported Node.js version. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Momo Kornher <[email protected]>
1 parent 30ee4c9 commit 1847bfe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/aws-cdk/lib/init-templates/app/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"devDependencies": {
1414
"@types/jest": "^29.5.14",
15-
"@types/node": "22.7.9",
15+
"@types/node": "^24.10.1",
1616
"jest": "^29.7.0",
1717
"ts-jest": "^29.2.5",
1818
"aws-cdk": "%cdk-cli-version%",

packages/aws-cdk/lib/init-templates/lib/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"@types/jest": "^29.5.14",
13-
"@types/node": "22.7.9",
13+
"@types/node": "^20.19.24",
1414
"aws-cdk-lib": "%cdk-version%",
1515
"constructs": "%constructs-version%",
1616
"jest": "^29.7.0",

packages/aws-cdk/lib/init-templates/sample-app/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"devDependencies": {
1414
"@types/jest": "^29.5.14",
15-
"@types/node": "22.7.9",
15+
"@types/node": "^24.10.1",
1616
"jest": "^29.7.0",
1717
"ts-jest": "^29.2.5",
1818
"aws-cdk": "%cdk-cli-version%",

0 commit comments

Comments
 (0)