Skip to content

Commit 6556786

Browse files
committed
Build/Test Tools: Upgrade Node.js to 24.x.
This updates the minimum required version of Node.js in Core to `24.18.0`. Gutenberg has already been bumped, and the `gutenberg.sha` value is being updated to point to the corresponding merge commit. The Twenty Nineteen and Twenty Twenty themes are remaining on 20.x and 16.x for the time being until a compatibility issue in each dependency tree can be resolved. Props desrosj, manzoorwanijk, ciampo, SirLouen, jsnajdr, aduth, barry, mukesh27, jonsurrell. git-svn-id: https://develop.svn.wordpress.org/trunk@63539 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6a6d2c0 commit 6556786

13 files changed

Lines changed: 27 additions & 33 deletions

File tree

‎.nvmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24.18

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"url": "https://develop.svn.wordpress.org/trunk"
88
},
99
"gutenberg": {
10-
"sha": "943e0d825bb66ba582e9a10d32743cbb136de460",
10+
"sha": "945c9bca3f5cc70be9c3a4ae67a47d0e9bdea049",
1111
"ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
1212
},
1313
"engines": {
14-
"node": ">=20.10.0",
15-
"npm": ">=10.2.3"
14+
"node": ">=24.18.0",
15+
"npm": ">=11.16.0"
1616
},
1717
"author": "The WordPress Contributors",
1818
"license": "GPL-2.0-or-later",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24.18

‎src/wp-content/themes/twentytwentyfive/package-lock.json‎

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/wp-content/themes/twentytwentyfive/package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
},
1414
"homepage": "https://wordpress.org/themes/twentytwentyfive/",
1515
"engines": {
16-
"node": ">=20.10.0",
17-
"npm": ">=10.2.3"
16+
"node": ">=24.18.0",
17+
"npm": ">=11.16.0"
1818
},
1919
"devDependencies": {
2020
"@wordpress/browserslist-config": "^6.34.0",
@@ -25,8 +25,8 @@
2525
"browserslist": [
2626
"extends @wordpress/browserslist-config"
2727
],
28-
"scripts": {
29-
"build": "postcss style.css --use cssnano -o style.min.css --no-map",
30-
"watch": "postcss style.css --use cssnano -o style.min.css --no-map --watch"
31-
}
28+
"scripts": {
29+
"build": "postcss style.css --use cssnano -o style.min.css --no-map",
30+
"watch": "postcss style.css --use cssnano -o style.min.css --no-map --watch"
31+
}
3232
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24.18

‎src/wp-content/themes/twentytwentyone/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/wp-content/themes/twentytwentyone/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
},
1414
"homepage": "https://wordpress.org/themes/twentytwentyone/",
1515
"engines": {
16-
"node": ">=20.10.0",
17-
"npm": ">=10.2.3"
16+
"node": ">=24.18.0",
17+
"npm": ">=11.16.0"
1818
},
1919
"devDependencies": {
2020
"@wordpress/browserslist-config": "^6.34.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
24.18

0 commit comments

Comments
 (0)