From 59ec51c043041e054d0674ebc6369ce35ca0c135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Zi=C3=B3=C5=82kowski?= Date: Fri, 24 May 2024 10:48:48 +0200 Subject: [PATCH] Packages: Increase the minimum required Node.js version to v18.12.0 Node.js v18.12.0 was the first long-term supported version introduced in v18.x line (https://nodejs.org/en/blog/release/v18.12.0). It is now the lowest version that is listed as Maintenance LTS releas at https://nodejs.org/en/about/previous-releases. --- package-lock.json | 307 ++++++++++++------ packages/a11y/CHANGELOG.md | 4 + packages/a11y/package.json | 3 +- packages/annotations/package.json | 3 +- packages/api-fetch/package.json | 3 +- packages/autop/package.json | 3 +- .../babel-plugin-import-jsx-pragma/README.md | 2 +- .../package.json | 3 +- packages/babel-plugin-makepot/README.md | 2 +- packages/babel-plugin-makepot/package.json | 3 +- packages/babel-preset-default/README.md | 2 +- packages/babel-preset-default/package.json | 3 +- packages/base-styles/package.json | 4 + packages/blob/package.json | 3 +- packages/block-directory/package.json | 3 +- packages/block-editor/package.json | 3 +- packages/block-library/package.json | 3 +- .../package.json | 3 +- .../package.json | 3 +- packages/blocks/package.json | 3 +- packages/browserslist-config/README.md | 2 +- packages/browserslist-config/package.json | 3 +- packages/commands/package.json | 3 +- packages/components/package.json | 3 +- packages/compose/package.json | 3 +- packages/core-commands/package.json | 3 +- packages/core-data/package.json | 3 +- .../package.json | 4 + .../package.json | 4 + packages/customize-widgets/package.json | 3 +- packages/data-controls/package.json | 3 +- packages/data/package.json | 3 +- packages/dataviews/package.json | 3 +- packages/date/package.json | 3 +- .../README.md | 2 +- .../package.json | 3 +- packages/deprecated/package.json | 3 +- packages/docgen/README.md | 2 + packages/docgen/package.json | 4 + packages/dom-ready/package.json | 3 +- packages/dom/package.json | 3 +- packages/e2e-test-utils-playwright/README.md | 5 +- .../e2e-test-utils-playwright/package.json | 3 +- packages/e2e-test-utils/README.md | 2 +- packages/e2e-test-utils/package.json | 3 +- packages/e2e-tests/README.md | 2 +- packages/e2e-tests/package.json | 3 +- packages/edit-post/package.json | 3 +- packages/edit-site/package.json | 3 +- packages/edit-widgets/package.json | 3 +- packages/editor/package.json | 3 +- packages/element/package.json | 3 +- packages/env/package.json | 4 + packages/escape-html/package.json | 3 +- packages/eslint-plugin/README.md | 2 +- packages/eslint-plugin/package.json | 4 +- packages/format-library/package.json | 3 +- packages/hooks/package.json | 3 +- packages/html-entities/package.json | 3 +- packages/i18n/package.json | 3 +- packages/icons/package.json | 3 +- packages/interactivity-router/package.json | 3 +- packages/interactivity/package.json | 3 +- packages/interface/package.json | 3 +- packages/is-shallow-equal/package.json | 3 +- packages/jest-console/README.md | 2 +- packages/jest-console/package.json | 3 +- packages/jest-preset-default/README.md | 4 +- packages/jest-preset-default/package.json | 3 +- packages/jest-puppeteer-axe/README.md | 2 +- packages/jest-puppeteer-axe/package.json | 3 +- packages/keyboard-shortcuts/package.json | 3 +- packages/keycodes/package.json | 3 +- packages/lazy-import/package.json | 3 +- packages/list-reusable-blocks/package.json | 3 +- packages/media-utils/package.json | 3 +- packages/notices/package.json | 3 +- .../npm-package-json-lint-config/README.md | 2 +- .../npm-package-json-lint-config/package.json | 3 +- packages/nux/package.json | 3 +- packages/patterns/package.json | 3 +- packages/plugins/package.json | 3 +- packages/postcss-plugins-preset/README.md | 2 +- packages/postcss-plugins-preset/package.json | 3 +- packages/postcss-themes/README.md | 2 +- packages/postcss-themes/package.json | 3 +- packages/preferences-persistence/package.json | 3 +- packages/preferences/package.json | 3 +- packages/prettier-config/README.md | 2 +- packages/prettier-config/package.json | 3 +- packages/primitives/package.json | 3 +- packages/priority-queue/package.json | 3 +- packages/private-apis/package.json | 3 +- .../package.json | 4 + packages/react-i18n/package.json | 3 +- packages/react-native-aztec/package.json | 4 + packages/react-native-bridge/package.json | 4 + packages/react-native-editor/package.json | 4 +- .../README.md | 2 +- .../package.json | 3 +- packages/redux-routine/package.json | 3 +- packages/report-flaky-tests/package.json | 4 +- packages/reusable-blocks/package.json | 3 +- packages/rich-text/package.json | 3 +- packages/router/package.json | 3 +- packages/scripts/README.md | 2 +- packages/scripts/package.json | 4 +- packages/server-side-render/package.json | 3 +- packages/shortcode/package.json | 3 +- packages/style-engine/package.json | 3 +- packages/stylelint-config/README.md | 2 +- packages/stylelint-config/package.json | 3 +- packages/sync/package.json | 3 +- packages/token-list/package.json | 3 +- packages/undo-manager/package.json | 3 +- packages/url/package.json | 3 +- packages/viewport/package.json | 3 +- packages/warning/package.json | 3 +- packages/widgets/package.json | 4 + packages/wordcount/package.json | 3 +- 120 files changed, 454 insertions(+), 209 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc56a316a4f1f8..ea3f6db515dc1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53072,7 +53072,8 @@ "@wordpress/i18n": "file:../i18n" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/annotations": { @@ -53088,7 +53089,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53112,7 +53114,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/autop": { @@ -53123,7 +53126,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/babel-plugin-import-jsx-pragma": { @@ -53132,7 +53136,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": "^7.12.9" @@ -53149,7 +53154,8 @@ "is-plain-object": "^5.0.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": "^7.12.9" @@ -53174,14 +53180,19 @@ "react": "^18.3.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/base-styles": { "name": "@wordpress/base-styles", "version": "4.49.0", "dev": true, - "license": "GPL-2.0-or-later" + "license": "GPL-2.0-or-later", + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } }, "packages/blob": { "name": "@wordpress/blob", @@ -53191,7 +53202,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/block-directory": { @@ -53222,7 +53234,8 @@ "change-case": "^4.1.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53282,7 +53295,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53392,7 +53406,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53415,7 +53430,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/block-serialization-spec-parser": { @@ -53427,7 +53443,8 @@ "phpegjs": "^1.0.0-beta7" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/blocks": { @@ -53464,7 +53481,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53489,7 +53507,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/commands": { @@ -53509,7 +53528,8 @@ "cmdk": "^0.2.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53570,7 +53590,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53627,7 +53648,8 @@ "use-memo-one": "^1.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53662,7 +53684,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53697,7 +53720,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53744,7 +53768,11 @@ "name": "@wordpress/create-block-tutorial-template", "version": "3.12.0", "dev": true, - "license": "GPL-2.0-or-later" + "license": "GPL-2.0-or-later", + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } }, "packages/customize-widgets": { "name": "@wordpress/customize-widgets", @@ -53776,7 +53804,8 @@ "fast-deep-equal": "^3.1.3" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -53805,7 +53834,8 @@ "use-memo-one": "^1.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53822,7 +53852,8 @@ "@wordpress/deprecated": "file:../deprecated" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53848,7 +53879,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -53900,7 +53932,8 @@ "moment-timezone": "^0.5.40" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/dependency-extraction-webpack-plugin": { @@ -53912,7 +53945,8 @@ "json2php": "^0.0.7" }, "engines": { - "node": ">=18" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "webpack": "^5.0.0" @@ -53927,7 +53961,8 @@ "@wordpress/hooks": "file:../hooks" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/docgen": { @@ -53946,6 +53981,10 @@ }, "bin": { "docgen": "bin/cli.js" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/dom": { @@ -53957,7 +53996,8 @@ "@wordpress/deprecated": "file:../deprecated" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/dom-ready": { @@ -53968,7 +54008,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/e2e-test-utils": { @@ -53986,7 +54027,8 @@ "node-fetch": "^2.6.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29", @@ -54010,7 +54052,8 @@ "web-vitals": "^3.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@playwright/test": ">=1" @@ -54037,7 +54080,8 @@ "uuid": "^9.0.1" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29", @@ -54094,7 +54138,8 @@ "memize": "^2.1.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54156,7 +54201,8 @@ "react-autosize-textarea": "^7.1.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54198,7 +54244,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54255,7 +54302,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54277,7 +54325,8 @@ "react-dom": "^18.3.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/env": { @@ -54301,6 +54350,10 @@ }, "bin": { "wp-env": "bin/wp-env" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/env/node_modules/cliui": { @@ -54425,7 +54478,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/eslint-plugin": { @@ -54453,8 +54507,8 @@ "requireindex": "^1.2.0" }, "engines": { - "node": ">=14", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": ">=7", @@ -54491,7 +54545,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54506,7 +54561,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/html-entities": { @@ -54517,7 +54573,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/i18n": { @@ -54536,7 +54593,8 @@ "pot-to-php": "tools/pot-to-php.js" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/icons": { @@ -54549,7 +54607,8 @@ "@wordpress/primitives": "file:../primitives" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/interactivity": { @@ -54562,7 +54621,8 @@ "preact": "^10.19.3" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/interactivity-router": { @@ -54573,7 +54633,8 @@ "@wordpress/interactivity": "file:../interactivity" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/interactivity/node_modules/@preact/signals": { @@ -54646,7 +54707,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54661,7 +54723,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/jest-console": { @@ -54674,7 +54737,8 @@ "jest-matcher-utils": "^29.6.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29" @@ -54690,7 +54754,8 @@ "babel-jest": "^29.6.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@babel/core": ">=7", @@ -54707,7 +54772,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "jest": ">=29", @@ -54730,7 +54796,8 @@ "@wordpress/keycodes": "file:../keycodes" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -54745,7 +54812,8 @@ "@wordpress/i18n": "file:../i18n" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/lazy-import": { @@ -54759,7 +54827,8 @@ "semver": "^7.3.5" }, "engines": { - "npm": ">=6.9.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/list-reusable-blocks": { @@ -54777,7 +54846,8 @@ "change-case": "^4.1.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54796,7 +54866,8 @@ "@wordpress/i18n": "file:../i18n" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/notices": { @@ -54809,7 +54880,8 @@ "@wordpress/data": "file:../data" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -54821,7 +54893,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "npm-package-json-lint": ">=6.0.0" @@ -54842,7 +54915,8 @@ "@wordpress/icons": "file:../icons" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54871,7 +54945,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54893,7 +54968,8 @@ "memize": "^2.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54910,7 +54986,8 @@ "autoprefixer": "^10.2.5" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "postcss": "^8.0.0" @@ -54922,7 +54999,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "postcss": "^8.0.0" @@ -54946,7 +55024,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -54962,7 +55041,8 @@ "@wordpress/api-fetch": "file:../api-fetch" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/prettier-config": { @@ -54971,7 +55051,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "prettier": ">=3" @@ -54987,7 +55068,8 @@ "clsx": "^2.1.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/priority-queue": { @@ -54999,7 +55081,8 @@ "requestidlecallback": "^0.3.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/private-apis": { @@ -55010,7 +55093,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/project-management-automation": { @@ -55024,6 +55108,10 @@ "@babel/runtime": "^7.16.0", "@octokit/request-error": "^2.1.0", "@octokit/webhooks": "7.1.0" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/react-i18n": { @@ -55037,7 +55125,8 @@ "utility-types": "^3.10.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/react-native-aztec": { @@ -55048,6 +55137,10 @@ "@wordpress/element": "file:../element", "@wordpress/keycodes": "file:../keycodes" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "peerDependencies": { "react": "*", "react-native": "*" @@ -55060,6 +55153,10 @@ "dependencies": { "@wordpress/react-native-aztec": "file:../react-native-aztec" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "peerDependencies": { "react-native": "*" } @@ -55114,8 +55211,8 @@ "react-native-webview": "13.6.1" }, "engines": { - "node": ">=12", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/react-native-editor/node_modules/buffer": { @@ -55179,7 +55276,8 @@ "dev": true, "license": "GPL-2.0-or-later", "engines": { - "node": ">=14.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "webpack": "^4.8.3 || ^5.0.0" @@ -55196,7 +55294,8 @@ "rungen": "^0.3.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "redux": ">=4" @@ -55213,8 +55312,8 @@ "jest-message-util": "^29.6.2" }, "engines": { - "node": ">=14", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/report-flaky-tests/node_modules/@actions/github": { @@ -55248,7 +55347,8 @@ "@wordpress/url": "file:../url" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -55272,7 +55372,8 @@ "memize": "^2.1.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -55290,7 +55391,8 @@ "history": "^5.3.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -55365,8 +55467,8 @@ "wp-scripts": "bin/wp-scripts.js" }, "engines": { - "node": ">=18", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "@playwright/test": "^1.43.0", @@ -55700,7 +55802,8 @@ "fast-deep-equal": "^3.1.3" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0", @@ -55716,7 +55819,8 @@ "memize": "^2.0.1" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/style-engine": { @@ -55728,7 +55832,8 @@ "change-case": "^4.1.2" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/stylelint-config": { @@ -55741,7 +55846,8 @@ "stylelint-config-recommended-scss": "^5.0.2" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "stylelint": "^14.2" @@ -55764,7 +55870,8 @@ "yjs": "~13.6.6" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/token-list": { @@ -55775,7 +55882,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/undo-manager": { @@ -55787,7 +55895,8 @@ "@wordpress/is-shallow-equal": "file:../is-shallow-equal" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/url": { @@ -55799,7 +55908,8 @@ "remove-accents": "^0.5.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/viewport": { @@ -55813,7 +55923,8 @@ "@wordpress/element": "file:../element" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "peerDependencies": { "react": "^18.0.0" @@ -55824,7 +55935,8 @@ "version": "2.58.0", "license": "GPL-2.0-or-later", "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "packages/widgets": { @@ -55846,6 +55958,10 @@ "@wordpress/notices": "file:../notices", "clsx": "^2.1.1" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" @@ -55859,7 +55975,8 @@ "@babel/runtime": "^7.16.0" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } } }, diff --git a/packages/a11y/CHANGELOG.md b/packages/a11y/CHANGELOG.md index e2ac2e9155c479..fb4482de30050b 100644 --- a/packages/a11y/CHANGELOG.md +++ b/packages/a11y/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +- Increase the minimum Node.js version to v18.12.0 matching long-term support releases ([#31270](https://github.com/WordPress/gutenberg/pull/31270)). Learn more at https://nodejs.org/en/about/previous-releases. + ## 3.58.0 (2024-05-16) ## 3.57.0 (2024-05-02) diff --git a/packages/a11y/package.json b/packages/a11y/package.json index 83d7626dbaf1fc..6417a952a1a4dd 100644 --- a/packages/a11y/package.json +++ b/packages/a11y/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/annotations/package.json b/packages/annotations/package.json index 1fbcac83cdd93f..f8a217f3c29379 100644 --- a/packages/annotations/package.json +++ b/packages/annotations/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/api-fetch/package.json b/packages/api-fetch/package.json index df9f56f364de9d..e6f1630514ddd6 100644 --- a/packages/api-fetch/package.json +++ b/packages/api-fetch/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/autop/package.json b/packages/autop/package.json index b5a86da75b9a6d..db6aab5dd017f6 100644 --- a/packages/autop/package.json +++ b/packages/autop/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/babel-plugin-import-jsx-pragma/README.md b/packages/babel-plugin-import-jsx-pragma/README.md index eb252d501290b7..ebc260277b21ab 100644 --- a/packages/babel-plugin-import-jsx-pragma/README.md +++ b/packages/babel-plugin-import-jsx-pragma/README.md @@ -14,7 +14,7 @@ Install the module to your project using [npm](https://www.npmjs.com/). npm install @wordpress/babel-plugin-import-jsx-pragma ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/babel-plugin-import-jsx-pragma/package.json b/packages/babel-plugin-import-jsx-pragma/package.json index 43bed33e547c9b..736e003fc524ea 100644 --- a/packages/babel-plugin-import-jsx-pragma/package.json +++ b/packages/babel-plugin-import-jsx-pragma/package.json @@ -24,7 +24,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/babel-plugin-makepot/README.md b/packages/babel-plugin-makepot/README.md index 95f52e55d28f52..3824731e72d848 100644 --- a/packages/babel-plugin-makepot/README.md +++ b/packages/babel-plugin-makepot/README.md @@ -21,7 +21,7 @@ Install the module: npm install @wordpress/babel-plugin-makepot --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/babel-plugin-makepot/package.json b/packages/babel-plugin-makepot/package.json index ed014d8d52e52e..e873958ae19f5b 100644 --- a/packages/babel-plugin-makepot/package.json +++ b/packages/babel-plugin-makepot/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/babel-preset-default/README.md b/packages/babel-preset-default/README.md index ff98eb4e526e7f..945e1137a328f4 100644 --- a/packages/babel-preset-default/README.md +++ b/packages/babel-preset-default/README.md @@ -12,7 +12,7 @@ Install the module npm install @wordpress/babel-preset-default --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ### Usage diff --git a/packages/babel-preset-default/package.json b/packages/babel-preset-default/package.json index 438cce0f47b96b..8f9c9cf9ffc383 100644 --- a/packages/babel-preset-default/package.json +++ b/packages/babel-preset-default/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/base-styles/package.json b/packages/base-styles/package.json index 9af0dafb6ed5a2..1aa6ce31907bc3 100644 --- a/packages/base-styles/package.json +++ b/packages/base-styles/package.json @@ -20,6 +20,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/blob/package.json b/packages/blob/package.json index 56f3296eb4b3e2..0271affb58d963 100644 --- a/packages/blob/package.json +++ b/packages/blob/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-directory/package.json b/packages/block-directory/package.json index 28ce721fa10d3b..46bc869c3c55e6 100644 --- a/packages/block-directory/package.json +++ b/packages/block-directory/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index 25d4aa782da29b..cad39359f1c617 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-library/package.json b/packages/block-library/package.json index c5aa6fbb99992e..68372ad2a98f79 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-serialization-default-parser/package.json b/packages/block-serialization-default-parser/package.json index 95ec976756489c..123fff2580df4b 100644 --- a/packages/block-serialization-default-parser/package.json +++ b/packages/block-serialization-default-parser/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/block-serialization-spec-parser/package.json b/packages/block-serialization-spec-parser/package.json index 7bb23f4bf291ff..572cbe6aa95b74 100644 --- a/packages/block-serialization-spec-parser/package.json +++ b/packages/block-serialization-spec-parser/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "parser.js", "sideEffects": false, diff --git a/packages/blocks/package.json b/packages/blocks/package.json index e783b5da04318c..7e1efc8cfeb16f 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/browserslist-config/README.md b/packages/browserslist-config/README.md index 0ab8e724947d7a..2376c8332a2b81 100644 --- a/packages/browserslist-config/README.md +++ b/packages/browserslist-config/README.md @@ -10,7 +10,7 @@ Install the module $ npm install browserslist @wordpress/browserslist-config --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/browserslist-config/package.json b/packages/browserslist-config/package.json index 1795bc91bbc92a..e78bf84269cb31 100644 --- a/packages/browserslist-config/package.json +++ b/packages/browserslist-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/commands/package.json b/packages/commands/package.json index be0ce7d7b7e989..fc89c6dd2508c2 100644 --- a/packages/commands/package.json +++ b/packages/commands/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/components/package.json b/packages/components/package.json index e13a600c34feb3..79b01e5f020ee9 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/compose/package.json b/packages/compose/package.json index b1cf8250f1ff20..0a3308e7adb0ac 100644 --- a/packages/compose/package.json +++ b/packages/compose/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/core-commands/package.json b/packages/core-commands/package.json index 70b3ce18ec9637..3efea9abf58e48 100644 --- a/packages/core-commands/package.json +++ b/packages/core-commands/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/core-data/package.json b/packages/core-data/package.json index bbfc0712dd1899..ac77ad911becbe 100644 --- a/packages/core-data/package.json +++ b/packages/core-data/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/create-block-interactive-template/package.json b/packages/create-block-interactive-template/package.json index a1306987f21b3a..337b950b0ac499 100644 --- a/packages/create-block-interactive-template/package.json +++ b/packages/create-block-interactive-template/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/create-block-tutorial-template/package.json b/packages/create-block-tutorial-template/package.json index 929fac1da68192..e03355e6e6a2a4 100644 --- a/packages/create-block-tutorial-template/package.json +++ b/packages/create-block-tutorial-template/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/customize-widgets/package.json b/packages/customize-widgets/package.json index 0028720426dd8b..c3fe2dbd5e0bbf 100644 --- a/packages/customize-widgets/package.json +++ b/packages/customize-widgets/package.json @@ -17,7 +17,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/data-controls/package.json b/packages/data-controls/package.json index 09b4e93f822cb4..f4e1f9beda2a98 100644 --- a/packages/data-controls/package.json +++ b/packages/data-controls/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/data/package.json b/packages/data/package.json index 5cd8558e3d1003..b289f599fad018 100644 --- a/packages/data/package.json +++ b/packages/data/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/dataviews/package.json b/packages/dataviews/package.json index 96003e94e8c08c..9fa8ea0c910c5a 100644 --- a/packages/dataviews/package.json +++ b/packages/dataviews/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/date/package.json b/packages/date/package.json index ca2c1e1e32b9a4..a3790d910e3b2d 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/dependency-extraction-webpack-plugin/README.md b/packages/dependency-extraction-webpack-plugin/README.md index 168fb1cfab69d6..9e6b183672f86d 100644 --- a/packages/dependency-extraction-webpack-plugin/README.md +++ b/packages/dependency-extraction-webpack-plugin/README.md @@ -21,7 +21,7 @@ Install the module npm install @wordpress/dependency-extraction-webpack-plugin --save-dev ``` -**Note**: This package requires Node.js 18.0.0 or later. It also requires webpack 5.0.0 or newer. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It also requires webpack 5.0.0 or newer. It is not compatible with older versions. ## Usage diff --git a/packages/dependency-extraction-webpack-plugin/package.json b/packages/dependency-extraction-webpack-plugin/package.json index 504dced33a7a24..3ee7f0bdb7deac 100644 --- a/packages/dependency-extraction-webpack-plugin/package.json +++ b/packages/dependency-extraction-webpack-plugin/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=18" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "lib", diff --git a/packages/deprecated/package.json b/packages/deprecated/package.json index 1cab7cc0daa34d..656787a875e66b 100644 --- a/packages/deprecated/package.json +++ b/packages/deprecated/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/docgen/README.md b/packages/docgen/README.md index f54cd6b9e5773d..4f60d0a3c7a26a 100644 --- a/packages/docgen/README.md +++ b/packages/docgen/README.md @@ -16,6 +16,8 @@ Install the module npm install @wordpress/docgen --save-dev ``` +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. + ## Usage ```bash diff --git a/packages/docgen/package.json b/packages/docgen/package.json index 53a6a0fe645d50..0582121d16d74b 100644 --- a/packages/docgen/package.json +++ b/packages/docgen/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "files": [ "bin", "lib" diff --git a/packages/dom-ready/package.json b/packages/dom-ready/package.json index c0b77932a633ed..54f4842c2d93e2 100644 --- a/packages/dom-ready/package.json +++ b/packages/dom-ready/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/dom/package.json b/packages/dom/package.json index 401a70d31a4339..9b8c0b8ded4ae1 100644 --- a/packages/dom/package.json +++ b/packages/dom/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/e2e-test-utils-playwright/README.md b/packages/e2e-test-utils-playwright/README.md index d03a6ced191f96..883bd87fb9c3c6 100644 --- a/packages/e2e-test-utils-playwright/README.md +++ b/packages/e2e-test-utils-playwright/README.md @@ -16,7 +16,7 @@ Install the module npm install @wordpress/e2e-test-utils-playwright --save-dev ``` -**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## API @@ -42,6 +42,7 @@ await admin.visitAdminPage( 'options-general.php' ); End to end test utilities for the WordPress Block Editor. To use these utilities, instantiate them within each test file: + ```js test.use( { editor: async ( { page }, use ) => { @@ -53,7 +54,7 @@ test.use( { Within a test or test utility, use the `canvas` property to select elements within the iframe canvas: ```js -await editor.canvas.locator( 'role=document[name="Paragraph block"i]' ) +await editor.canvas.locator( 'role=document[name="Paragraph block"i]' ); ``` ### PageUtils diff --git a/packages/e2e-test-utils-playwright/package.json b/packages/e2e-test-utils-playwright/package.json index 730c7121460ce2..5cee2f8ee1b30d 100644 --- a/packages/e2e-test-utils-playwright/package.json +++ b/packages/e2e-test-utils-playwright/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/e2e-test-utils/README.md b/packages/e2e-test-utils/README.md index bce7c84d73716d..196768b0e2487c 100644 --- a/packages/e2e-test-utils/README.md +++ b/packages/e2e-test-utils/README.md @@ -14,7 +14,7 @@ Install the module npm install @wordpress/e2e-test-utils --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## API diff --git a/packages/e2e-test-utils/package.json b/packages/e2e-test-utils/package.json index 4fb38e6e8c8b84..1faa1848272ab2 100644 --- a/packages/e2e-test-utils/package.json +++ b/packages/e2e-test-utils/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/e2e-tests/README.md b/packages/e2e-tests/README.md index 8629700263ebe7..75283a3d9ecc82 100644 --- a/packages/e2e-tests/README.md +++ b/packages/e2e-tests/README.md @@ -80,7 +80,7 @@ Debugging in a Chrome browser can be replaced with `vscode`'s debugger by adding This will run jest, targetting the spec file currently open in the editor. `vscode`'s debugger can now be used to add breakpoints and inspect tests as you would in Chrome DevTools. -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/e2e-tests/package.json b/packages/e2e-tests/package.json index 55672505f3d115..d678f568a92a5d 100644 --- a/packages/e2e-tests/package.json +++ b/packages/e2e-tests/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "dependencies": { "@wordpress/e2e-test-utils": "file:../e2e-test-utils", diff --git a/packages/edit-post/package.json b/packages/edit-post/package.json index e2449021e951f4..1c45301173d24d 100644 --- a/packages/edit-post/package.json +++ b/packages/edit-post/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/edit-site/package.json b/packages/edit-site/package.json index a8b12bdd15b61e..5336726300a5cd 100644 --- a/packages/edit-site/package.json +++ b/packages/edit-site/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/edit-widgets/package.json b/packages/edit-widgets/package.json index 90181fef8bcd9d..1d48948f81f77d 100644 --- a/packages/edit-widgets/package.json +++ b/packages/edit-widgets/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/editor/package.json b/packages/editor/package.json index 7dba536e425dc4..d6d5731ebbc1fd 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/element/package.json b/packages/element/package.json index 819b530bb70b94..2a66b1201f5d2f 100644 --- a/packages/element/package.json +++ b/packages/element/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/env/package.json b/packages/env/package.json index 76dbc9b26d1153..9604ededadca45 100644 --- a/packages/env/package.json +++ b/packages/env/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "directories": { "lib": "lib", "test": "tests" diff --git a/packages/escape-html/package.json b/packages/escape-html/package.json index 2b6b1d1cca07ee..318bf847b8d292 100644 --- a/packages/escape-html/package.json +++ b/packages/escape-html/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/eslint-plugin/README.md b/packages/eslint-plugin/README.md index bd629a593f277d..cde410fc9c9926 100644 --- a/packages/eslint-plugin/README.md +++ b/packages/eslint-plugin/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/eslint-plugin --save-dev ``` -**Note**: This package requires `node` 14.0.0 or later, and `npm` 6.14.4 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 00de20335e1f92..0709fdee582c99 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -20,8 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "configs", diff --git a/packages/format-library/package.json b/packages/format-library/package.json index 9774a1e55d7c58..46d38ee6441128 100644 --- a/packages/format-library/package.json +++ b/packages/format-library/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/hooks/package.json b/packages/hooks/package.json index a1a42614b448e2..7c654b1356a0de 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/html-entities/package.json b/packages/html-entities/package.json index 1edf5f0a7e9413..5ef035763394ce 100644 --- a/packages/html-entities/package.json +++ b/packages/html-entities/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 01f82f8bd21828..da0c793d4f6092 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/icons/package.json b/packages/icons/package.json index e93a0097b28e70..0d3024b83557a7 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/interactivity-router/package.json b/packages/interactivity-router/package.json index 1fd24a11007149..a109c3031d2446 100644 --- a/packages/interactivity-router/package.json +++ b/packages/interactivity-router/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/labels/%5BFeature%5D%20Interactivity%20API" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/interactivity/package.json b/packages/interactivity/package.json index 0e93575b25477a..6a5413108768e3 100644 --- a/packages/interactivity/package.json +++ b/packages/interactivity/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/labels/%5BFeature%5D%20Interactivity%20API" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/interface/package.json b/packages/interface/package.json index ce0ab729c7a7d8..7fe5f3b2686493 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/is-shallow-equal/package.json b/packages/is-shallow-equal/package.json index ffc0daeb6feddf..d205cbc301ac77 100644 --- a/packages/is-shallow-equal/package.json +++ b/packages/is-shallow-equal/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/jest-console/README.md b/packages/jest-console/README.md index 4e57acef7deb6c..f733ad2be352eb 100644 --- a/packages/jest-console/README.md +++ b/packages/jest-console/README.md @@ -18,7 +18,7 @@ Install the module: npm install @wordpress/jest-console --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ### Setup diff --git a/packages/jest-console/package.json b/packages/jest-console/package.json index 47d35cb021ab6d..e15e23922e8fbd 100644 --- a/packages/jest-console/package.json +++ b/packages/jest-console/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/jest-preset-default/README.md b/packages/jest-preset-default/README.md index 9f1f70ee122284..8720474a187211 100644 --- a/packages/jest-preset-default/README.md +++ b/packages/jest-preset-default/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/jest-preset-default --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Setup @@ -89,7 +89,7 @@ Finally, you should add `enzyme-to-json/serializer` to the array of [`snapshotSe ```javascript { - snapshotSerializers: [ 'enzyme-to-json/serializer' ] + snapshotSerializers: [ 'enzyme-to-json/serializer' ]; } ``` diff --git a/packages/jest-preset-default/package.json b/packages/jest-preset-default/package.json index 9740bdf26b14a9..795989abfbd317 100644 --- a/packages/jest-preset-default/package.json +++ b/packages/jest-preset-default/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "scripts", diff --git a/packages/jest-puppeteer-axe/README.md b/packages/jest-puppeteer-axe/README.md index fb5b6752c57025..452ffb4b6d1123 100644 --- a/packages/jest-puppeteer-axe/README.md +++ b/packages/jest-puppeteer-axe/README.md @@ -12,7 +12,7 @@ Install the module npm install @wordpress/jest-puppeteer-axe --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ### Setup diff --git a/packages/jest-puppeteer-axe/package.json b/packages/jest-puppeteer-axe/package.json index 4b65f05b557c17..e4792458d92ff3 100644 --- a/packages/jest-puppeteer-axe/package.json +++ b/packages/jest-puppeteer-axe/package.json @@ -22,7 +22,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "build", diff --git a/packages/keyboard-shortcuts/package.json b/packages/keyboard-shortcuts/package.json index 7527ba7e2294e6..563cdb1a9f2096 100644 --- a/packages/keyboard-shortcuts/package.json +++ b/packages/keyboard-shortcuts/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/keycodes/package.json b/packages/keycodes/package.json index 7400fcd16e4f04..e198e7a23c97cd 100644 --- a/packages/keycodes/package.json +++ b/packages/keycodes/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/lazy-import/package.json b/packages/lazy-import/package.json index 2d3bf4edd1dd8a..3fc3c50d97e532 100644 --- a/packages/lazy-import/package.json +++ b/packages/lazy-import/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "npm": ">=6.9.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "lib/index.js", "types": "build-types", diff --git a/packages/list-reusable-blocks/package.json b/packages/list-reusable-blocks/package.json index 9a53b72e181bf8..10b35bef332669 100644 --- a/packages/list-reusable-blocks/package.json +++ b/packages/list-reusable-blocks/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/media-utils/package.json b/packages/media-utils/package.json index 0f126ccae62ee5..1d200320c4b65f 100644 --- a/packages/media-utils/package.json +++ b/packages/media-utils/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/notices/package.json b/packages/notices/package.json index 7ecc7c70825ee8..664077d36e5390 100644 --- a/packages/notices/package.json +++ b/packages/notices/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/npm-package-json-lint-config/README.md b/packages/npm-package-json-lint-config/README.md index dae33adeb5f8a2..f933cc188a8a04 100644 --- a/packages/npm-package-json-lint-config/README.md +++ b/packages/npm-package-json-lint-config/README.md @@ -10,7 +10,7 @@ Install the module $ npm install @wordpress/npm-package-json-lint-config ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/npm-package-json-lint-config/package.json b/packages/npm-package-json-lint-config/package.json index 13f2bf6729d327..be03f5633db857 100644 --- a/packages/npm-package-json-lint-config/package.json +++ b/packages/npm-package-json-lint-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/nux/package.json b/packages/nux/package.json index 2bf9a21c527ad8..e06ecb5c0ad675 100644 --- a/packages/nux/package.json +++ b/packages/nux/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 4afd2dc030723b..cf214377d61b0e 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 3155ba00de8eb1..43b5877c4448e3 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/postcss-plugins-preset/README.md b/packages/postcss-plugins-preset/README.md index 8385a30e6be53f..ac844e279b6f16 100644 --- a/packages/postcss-plugins-preset/README.md +++ b/packages/postcss-plugins-preset/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/postcss-plugins-preset --save ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/postcss-plugins-preset/package.json b/packages/postcss-plugins-preset/package.json index c34db26965ed9a..d3891d679e04a1 100644 --- a/packages/postcss-plugins-preset/package.json +++ b/packages/postcss-plugins-preset/package.json @@ -22,7 +22,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "lib" diff --git a/packages/postcss-themes/README.md b/packages/postcss-themes/README.md index 341ecfdbd8b7a6..b23c6c829d1d9e 100644 --- a/packages/postcss-themes/README.md +++ b/packages/postcss-themes/README.md @@ -10,7 +10,7 @@ Install the module npm install @wordpress/postcss-themes --save ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Contributing to this package diff --git a/packages/postcss-themes/package.json b/packages/postcss-themes/package.json index 14082111987ec2..028a1967bbcfb1 100644 --- a/packages/postcss-themes/package.json +++ b/packages/postcss-themes/package.json @@ -24,7 +24,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/preferences-persistence/package.json b/packages/preferences-persistence/package.json index c43a4424a44ddf..a7d73fbc0df100 100644 --- a/packages/preferences-persistence/package.json +++ b/packages/preferences-persistence/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/preferences/package.json b/packages/preferences/package.json index 31dd3fa83bb6db..c6d2347ba9723f 100644 --- a/packages/preferences/package.json +++ b/packages/preferences/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/prettier-config/README.md b/packages/prettier-config/README.md index b07fad62e14e63..efb75513694fc9 100644 --- a/packages/prettier-config/README.md +++ b/packages/prettier-config/README.md @@ -10,7 +10,7 @@ Install the module $ npm install @wordpress/prettier-config --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 06a9ff0f98af23..dd7604f0c3d61a 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "lib/index.js" diff --git a/packages/primitives/package.json b/packages/primitives/package.json index be0405d43d81ec..96a450e99ecc00 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/priority-queue/package.json b/packages/priority-queue/package.json index 17e43f697623d8..236a48c796dc37 100644 --- a/packages/priority-queue/package.json +++ b/packages/priority-queue/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/private-apis/package.json b/packages/private-apis/package.json index f93b01335bf44f..ea2e33468cd35a 100644 --- a/packages/private-apis/package.json +++ b/packages/private-apis/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/project-management-automation/package.json b/packages/project-management-automation/package.json index 452bec5a6c3cc2..118acb3faadc49 100644 --- a/packages/project-management-automation/package.json +++ b/packages/project-management-automation/package.json @@ -19,6 +19,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "main": "lib/index.js", "types": "build-types", "dependencies": { diff --git a/packages/react-i18n/package.json b/packages/react-i18n/package.json index d541c06ac89d4a..51346a5af7c9f5 100644 --- a/packages/react-i18n/package.json +++ b/packages/react-i18n/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/react-native-aztec/package.json b/packages/react-native-aztec/package.json index ac47ae64e08141..a6617722f5ecf0 100644 --- a/packages/react-native-aztec/package.json +++ b/packages/react-native-aztec/package.json @@ -18,6 +18,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "dependencies": { "@wordpress/element": "file:../element", "@wordpress/keycodes": "file:../keycodes" diff --git a/packages/react-native-bridge/package.json b/packages/react-native-bridge/package.json index 7fd9dff7a0f6bf..bb8eba0a928dee 100644 --- a/packages/react-native-bridge/package.json +++ b/packages/react-native-bridge/package.json @@ -17,6 +17,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "main": "index.js", "react-native": "index", "dependencies": { diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index 16988d1c5cbcd3..cfc77cc5c264dc 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -23,8 +23,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "src/index.js", "react-native": "src/index", diff --git a/packages/readable-js-assets-webpack-plugin/README.md b/packages/readable-js-assets-webpack-plugin/README.md index 47d75a6f00edff..eb3eda12692d21 100644 --- a/packages/readable-js-assets-webpack-plugin/README.md +++ b/packages/readable-js-assets-webpack-plugin/README.md @@ -14,7 +14,7 @@ Install the module npm install @wordpress/readable-js-assets-webpack-plugin --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It also requires webpack 4.8.3 and newer. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/readable-js-assets-webpack-plugin/package.json b/packages/readable-js-assets-webpack-plugin/package.json index bfe31e7e650e28..05d962b3708767 100644 --- a/packages/readable-js-assets-webpack-plugin/package.json +++ b/packages/readable-js-assets-webpack-plugin/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14.0" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "index.js" diff --git a/packages/redux-routine/package.json b/packages/redux-routine/package.json index 006884497ce8bf..8d13c9dfc18b44 100644 --- a/packages/redux-routine/package.json +++ b/packages/redux-routine/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/report-flaky-tests/package.json b/packages/report-flaky-tests/package.json index 8766762fcc1b70..77de2a4f3ddee0 100644 --- a/packages/report-flaky-tests/package.json +++ b/packages/report-flaky-tests/package.json @@ -20,8 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14", - "npm": ">=6.9" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "types": "build-types", diff --git a/packages/reusable-blocks/package.json b/packages/reusable-blocks/package.json index 0f67556f0a4d75..ae584e75ed184a 100644 --- a/packages/reusable-blocks/package.json +++ b/packages/reusable-blocks/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index 8a8396ad075455..546b5926c65f85 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/router/package.json b/packages/router/package.json index ce442883350a46..bcdb1fb3d79043 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/scripts/README.md b/packages/scripts/README.md index cb15c7bf8e0cee..af892293e00eb2 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -16,7 +16,7 @@ You only need to install one npm module: npm install @wordpress/scripts --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later, and `npm` 6.14.4 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Setup diff --git a/packages/scripts/package.json b/packages/scripts/package.json index cf8dc0afd5f8ff..e8b03804e8662d 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -19,8 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=18", - "npm": ">=6.14.4" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "bin", diff --git a/packages/server-side-render/package.json b/packages/server-side-render/package.json index 4ddbacb7edc26c..d042cb4329efa3 100644 --- a/packages/server-side-render/package.json +++ b/packages/server-side-render/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/shortcode/package.json b/packages/shortcode/package.json index 6b6b82ce8d512f..2c227eb976bf1b 100644 --- a/packages/shortcode/package.json +++ b/packages/shortcode/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/style-engine/package.json b/packages/style-engine/package.json index dbe8f6c92673aa..008f58cf729e85 100644 --- a/packages/style-engine/package.json +++ b/packages/style-engine/package.json @@ -21,7 +21,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/stylelint-config/README.md b/packages/stylelint-config/README.md index 0e52e5ef190a42..c6d69a9d183489 100644 --- a/packages/stylelint-config/README.md +++ b/packages/stylelint-config/README.md @@ -8,7 +8,7 @@ $ npm install @wordpress/stylelint-config --save-dev ``` -**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js version with long-term support status (check [Active LTS or Maintenance LTS releases](https://nodejs.org/en/about/previous-releases)). It is not compatible with older versions. ## Usage diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json index 29c72573a5934b..cae248d0d7164a 100644 --- a/packages/stylelint-config/package.json +++ b/packages/stylelint-config/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=14" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "files": [ "CHANGELOG.md", diff --git a/packages/sync/package.json b/packages/sync/package.json index b79260dd70881a..f02019326e6649 100644 --- a/packages/sync/package.json +++ b/packages/sync/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/token-list/package.json b/packages/token-list/package.json index 97a6d00a2c1f48..f70b9cba52ae52 100644 --- a/packages/token-list/package.json +++ b/packages/token-list/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/undo-manager/package.json b/packages/undo-manager/package.json index 3bce5bb232c676..1fd6dfcd1a785d 100644 --- a/packages/undo-manager/package.json +++ b/packages/undo-manager/package.json @@ -20,7 +20,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/url/package.json b/packages/url/package.json index 3b21b3059f0929..cd747ae652239e 100644 --- a/packages/url/package.json +++ b/packages/url/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/viewport/package.json b/packages/viewport/package.json index 501bfb361b5893..3c6dc5efd540c5 100644 --- a/packages/viewport/package.json +++ b/packages/viewport/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/warning/package.json b/packages/warning/package.json index 5591af5c8130ba..5b4b7234e1f699 100644 --- a/packages/warning/package.json +++ b/packages/warning/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js", diff --git a/packages/widgets/package.json b/packages/widgets/package.json index 374e5944096ca7..d15ccd484e966f 100644 --- a/packages/widgets/package.json +++ b/packages/widgets/package.json @@ -16,6 +16,10 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", diff --git a/packages/wordcount/package.json b/packages/wordcount/package.json index f0068a509efaad..b450c0ef55ff27 100644 --- a/packages/wordcount/package.json +++ b/packages/wordcount/package.json @@ -19,7 +19,8 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" }, "main": "build/index.js", "module": "build-module/index.js",