Commit 66581032ee for wordpress.org
commit 66581032eea71fd6e413a70de1c2f3730eaad10f
Author: desrosj <desrosj@git.wordpress.org>
Date: Mon Nov 9 20:19:05 2026 +0000
Twenty Twenty: Update to Node.js 24.x.
This updates the theme's `.nvmrc` file and the `engines` field in `package.json` to require Node.js `24.18.0` and npm `11.16.0`, bringing Twenty Twenty in line with Core and the other bundled themes.
This also adds the `devEngines` configuration used by Core and the other bundled themes, which enforces these minimum versions when installing dependencies or running npm scripts.
Twenty Twenty was the last bundled theme that had not been updated to Node.js 24.x.
Follow-up to r63539, r63870.
Props desrosj, sabernhardt, manzoorwanijk, lucatume.
Fixes #65451. See #66099.
Built from https://develop.svn.wordpress.org/trunk@65357
git-svn-id: http://core.svn.wordpress.org/trunk@64497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentytwenty/.nvmrc b/wp-content/themes/twentytwenty/.nvmrc
index b6a7d89c68..82d5d71434 100644
--- a/wp-content/themes/twentytwenty/.nvmrc
+++ b/wp-content/themes/twentytwenty/.nvmrc
@@ -1 +1 @@
-16
+24.18
diff --git a/wp-content/themes/twentytwenty/package-lock.json b/wp-content/themes/twentytwenty/package-lock.json
index 41a64837a5..e230cf63fb 100644
--- a/wp-content/themes/twentytwenty/package-lock.json
+++ b/wp-content/themes/twentytwenty/package-lock.json
@@ -19,8 +19,8 @@
"rtlcss": "^4.3.0"
},
"engines": {
- "node": ">=16",
- "npm": ">=9.8.1"
+ "node": ">=24.18.0",
+ "npm": ">=11.16.0"
}
},
"node_modules/@ampproject/remapping": {
diff --git a/wp-content/themes/twentytwenty/package.json b/wp-content/themes/twentytwenty/package.json
index 9a00cc7365..8405868722 100644
--- a/wp-content/themes/twentytwenty/package.json
+++ b/wp-content/themes/twentytwenty/package.json
@@ -18,8 +18,19 @@
"url": "https://core.trac.wordpress.org/"
},
"engines": {
- "node": ">=16",
- "npm": ">=9.8.1"
+ "node": ">=24.18.0",
+ "npm": ">=11.16.0"
+ },
+ "devEngines": {
+ "runtime": {
+ "name": "node",
+ "version": ">=24.18.0"
+ },
+ "packageManager": {
+ "name": "npm",
+ "version": ">=11.16.0",
+ "onFail": "error"
+ }
},
"devDependencies": {
"@double-great/stylelint-a11y": "^3.8.3",
diff --git a/wp-includes/version.php b/wp-includes/version.php
index d1240a2877..e6ba6e96f8 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta4-65356';
+$wp_version = '7.2-beta4-65357';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.