Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24.18
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You will need Node and npm installed on your computer. Node is a JavaScript runt

If you are not using a package manager, see the [Node.js download page](https://nodejs.org/en/download/) for installers and binaries.

**Note:** WordPress currently only officially supports Node.js `20.x` and npm `10.x`.
**Note:** WordPress currently only officially supports Node.js `24.x` and npm `11.x`.

You will also need a container environment such as [Docker Desktop](https://www.docker.com/products/docker-desktop) installed and running on your computer. The container environment is the virtualization software that powers the local development environment and can be installed just like any other regular application.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"url": "https://develop.svn.wordpress.org/trunk"
},
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -174,12 +174,12 @@
"wicg-inert": "3.1.3"
},
"scripts": {
"build": "grunt build",
"build:dev": "grunt build --dev",
"dev": "grunt watch --dev",
"test": "grunt test",
"watch": "grunt watch",
"grunt": "grunt",
"build": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt build",
"build:dev": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt build --dev",
"dev": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt watch --dev",
"test": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt test",
"watch": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt watch",
"grunt": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt",
"lint:jsdoc": "wp-scripts lint-js",
"lint:jsdoc:fix": "wp-scripts lint-js --fix",
"env:start": "node ./tools/local-env/scripts/start.js && node ./tools/local-env/scripts/docker.js run -T --rm php composer update -W",
Expand All @@ -197,7 +197,7 @@
"test:coverage": "npm run test:php -- --coverage-html ./coverage/html/ --coverage-php ./coverage/php/report.php --coverage-text=./coverage/text/report.txt",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
"test:visual": "wp-scripts test-playwright --config tests/visual-regression/playwright.config.js",
"sync-gutenberg-packages": "grunt sync-gutenberg-packages",
"postsync-gutenberg-packages": "grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
"sync-gutenberg-packages": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt sync-gutenberg-packages",
"postsync-gutenberg-packages": "node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt wp-packages:sync-stable-blocks && node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt build --dev && node --no-maglev --no-concurrent-sparkplug node_modules/grunt/bin/grunt build"
}
}
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentyfive/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentyfive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"homepage": "https://wordpress.org/themes/twentytwentyfive/",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.34.0",
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentyone/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentyone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"homepage": "https://wordpress.org/themes/twentytwentyone/",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.34.0",
Expand Down
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentytwo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentytwo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"homepage": "https://wordpress.org/themes/twentytwentytwo/",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.34.0",
Expand Down
Loading