7.1 branch: Upgrade to Node 24.x - #13454
Draft
desrosj wants to merge 2 commits into
Draft
Conversation
Today there are 5 default themes that have `package.json` files: - Twenty Nineteen - Twenty Twenty - Twenty Twenty-One - Twenty Twenty-Two - Twenty Twenty-Five The `.nvmrc` file at the root of the repository will be used when modifying these themes in the context of a `wordpress-develop` checkout. But these themes exist outside of `wordpress-develop` more often than not. And there are times where the version of Node.js used by Core is not the same as one or more of the themes (this is currently the case with Twenty Nineteen). This adds an `.nvmrc` file to each of the 5 themes that rely on Node.js. The theme testing GitHub Actions workflow is also updated to use each theme’s individual `.nvmrc` files to determine which version of Node.js to use instead of always defaulting to the version used for Core itself. Fixes #66041. git-svn-id: https://develop.svn.wordpress.org/trunk@63450 602fd350-edb4-49c9-b593-d223f7449a82
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
desrosj
force-pushed
the
upgrade/7.1-to-node-24
branch
from
September 9, 2026 11:10
bc00240 to
6556786
Compare
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
manzoorwanijk
approved these changes
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trac ticket:
Use of AI Tools
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.