Skip to content

Commit 8bcad42

Browse files
authored
Update Node to v22.18.0 (#14336)
The latest version of v22 (Active LTS) at the time of this change. This keeps Node up to date. AR also had an out-of-date version of `types/node`, which is now updated to 22.x in this change. Also updates webpack to latest to fix a TS error in its type declarations surfaced by these updates.
1 parent b41424c commit 8bcad42

File tree

7 files changed

+220
-318
lines changed

7 files changed

+220
-318
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.14.0
1+
22.18.0

apps-rendering/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@types/html-webpack-plugin": "3.2.9",
6969
"@types/jest": "29.5.14",
7070
"@types/jsdom": "16.2.15",
71-
"@types/node": "18.18.14",
71+
"@types/node": "22.17.0",
7272
"@types/react": "18.3.1",
7373
"@types/react-dom": "18.3.0",
7474
"@types/react-test-renderer": "18.3.0",
@@ -103,7 +103,7 @@
103103
"tslib": "2.6.2",
104104
"tsx": "4.6.2",
105105
"typescript": "5.5.3",
106-
"webpack": "5.99.7",
106+
"webpack": "5.101.0",
107107
"webpack-cli": "6.0.1",
108108
"webpack-dev-server": "5.2.1",
109109
"webpack-manifest-plugin": "5.0.0",

apps-rendering/riff-raff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ templates:
1212
amiEncrypted: true
1313
amiTags:
1414
# Keep the Node version in sync with `.nvmrc`
15-
Recipe: apps-rendering-ARM-jammy-node-22.14.0
15+
Recipe: apps-rendering-ARM-jammy-node-22.18.0
1616
AmigoStage: PROD
1717
deployments:
1818
mobile-apps-rendering-cfn:

dotcom-rendering/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This container is used in our CICD pipelines for running E2E and regression tests.
22
# Keep the Node version in sync with `.nvmrc`
3-
FROM node:22.14.0-alpine
3+
FROM node:22.18.0-alpine
44

55
WORKDIR /opt/app/dotcom-rendering/dotcom-rendering
66

dotcom-rendering/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@types/k6": "0.52.0",
8282
"@types/lodash.debounce": "4.0.7",
8383
"@types/lodash.get": "4.4.9",
84-
"@types/node": "22.14.1",
84+
"@types/node": "22.17.0",
8585
"@types/qs": "6.9.15",
8686
"@types/react": "18.3.1",
8787
"@types/react-dom": "18.3.0",
@@ -178,7 +178,7 @@
178178
"unified": "11.0.5",
179179
"valibot": "0.28.1",
180180
"web-vitals": "4.2.3",
181-
"webpack": "5.99.7",
181+
"webpack": "5.101.0",
182182
"webpack-assets-manifest": "6.0.2",
183183
"webpack-bundle-analyzer": "4.10.2",
184184
"webpack-cli": "6.0.1",

dotcom-rendering/scripts/deploy/riff-raff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ templates:
1010
amiEncrypted: true
1111
amiTags:
1212
# Keep the Node version in sync with `.nvmrc`
13-
Recipe: dotcom-rendering-ARM-jammy-node-22.14.0
13+
Recipe: dotcom-rendering-ARM-jammy-node-22.18.0
1414
AmigoStage: PROD
1515
deployments:
1616
frontend-static:

0 commit comments

Comments
 (0)