From fd92d053a56bfcef6670cdbbfca7fc25e98e6445 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Thu, 11 Aug 2022 11:12:54 +0200 Subject: [PATCH 1/3] Packages: Update the minimum required Node.js version to 14 --- package-lock.json | 26 +++++++++---------- .../CHANGELOG.md | 4 +++ .../babel-plugin-import-jsx-pragma/README.md | 2 +- .../package.json | 2 +- packages/babel-preset-default/CHANGELOG.md | 4 +++ packages/babel-preset-default/README.md | 2 +- packages/babel-preset-default/package.json | 2 +- packages/browserslist-config/CHANGELOG.md | 4 +++ packages/browserslist-config/README.md | 2 +- packages/browserslist-config/package.json | 2 +- packages/create-block/CHANGELOG.md | 4 +++ packages/create-block/README.md | 2 +- packages/create-block/package.json | 2 +- .../CHANGELOG.md | 4 +++ .../README.md | 2 +- .../package.json | 2 +- packages/eslint-plugin/CHANGELOG.md | 6 ++++- packages/eslint-plugin/README.md | 2 +- packages/eslint-plugin/package.json | 2 +- packages/jest-console/CHANGELOG.md | 4 +++ packages/jest-console/README.md | 2 +- packages/jest-console/package.json | 2 +- packages/jest-preset-default/CHANGELOG.md | 4 +++ packages/jest-preset-default/README.md | 2 +- packages/jest-preset-default/package.json | 2 +- .../npm-package-json-lint-config/CHANGELOG.md | 4 +++ .../npm-package-json-lint-config/README.md | 2 +- .../npm-package-json-lint-config/package.json | 2 +- packages/postcss-plugins-preset/CHANGELOG.md | 4 +++ packages/postcss-plugins-preset/README.md | 2 +- packages/postcss-plugins-preset/package.json | 2 +- packages/postcss-themes/CHANGELOG.md | 4 +++ packages/postcss-themes/README.md | 2 +- packages/postcss-themes/package.json | 2 +- packages/prettier-config/CHANGELOG.md | 4 +++ packages/prettier-config/README.md | 2 +- packages/prettier-config/package.json | 2 +- .../CHANGELOG.md | 4 ++- .../README.md | 2 +- .../package.json | 2 +- packages/scripts/CHANGELOG.md | 4 +++ packages/scripts/README.md | 2 +- packages/scripts/package.json | 2 +- packages/stylelint-config/CHANGELOG.md | 4 +++ packages/stylelint-config/README.md | 2 +- packages/stylelint-config/package.json | 2 +- 46 files changed, 103 insertions(+), 45 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6d7947ac5abc5..808a707bca059 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18929,7 +18929,7 @@ "app-root-dir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/app-root-dir/-/app-root-dir-1.0.2.tgz", - "integrity": "sha1-OBh+wt6nV3//Az/8sSFyaS/24Rg=", + "integrity": "sha512-jlpIfsOoNoafl92Sz//64uQHGSyMrD2vYG5d8o2a4qGvyNCvXur7bzIsWtAC/6flI2RYAp3kv8rsfBtaLm7w0g==", "dev": true }, "app-root-path": { @@ -27108,7 +27108,7 @@ "babel-plugin-add-react-displayname": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz", - "integrity": "sha1-M51M3be2X9YtHfnbn+BN4TQSK9U=", + "integrity": "sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw==", "dev": true }, "babel-plugin-apply-mdx-type-prop": { @@ -27531,7 +27531,7 @@ "batch-processor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/batch-processor/-/batch-processor-1.0.0.tgz", - "integrity": "sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg=", + "integrity": "sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA==", "dev": true }, "bcrypt-pbkdf": { @@ -30821,7 +30821,7 @@ "css.escape": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz", - "integrity": "sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s=", + "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==", "dev": true }, "cssesc": { @@ -36963,7 +36963,7 @@ "has-glob": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-glob/-/has-glob-1.0.0.tgz", - "integrity": "sha1-mqqe7b/7G6OZCnsAEPtnjuAIEgc=", + "integrity": "sha512-D+8A457fBShSEI3tFCj65PAbT++5sKiFtdCdOam0gnfBgw9D277OERk+HM9qYJXmdVLZ/znez10SqHN0BBQ50g==", "dev": true, "requires": { "is-glob": "^3.0.0" @@ -36972,7 +36972,7 @@ "is-glob": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", "dev": true, "requires": { "is-extglob": "^2.1.0" @@ -38799,7 +38799,7 @@ "is-window": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-window/-/is-window-1.0.2.tgz", - "integrity": "sha1-LIlspT25feRdPDMTOmXYyfVjSA0=", + "integrity": "sha512-uj00kdXyZb9t9RcAUAwMZAnkBUwdYGhYlt7djMXhfyhUCzwNba50tIiBKR7q0l7tdoBtFVw/3JmLY6fI3rmZmg==", "dev": true }, "is-windows": { @@ -42176,7 +42176,7 @@ "js-string-escape": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8=", + "integrity": "sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==", "dev": true }, "js-tokens": { @@ -43704,7 +43704,7 @@ "lz-string": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", - "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=", + "integrity": "sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ==", "dev": true }, "macos-release": { @@ -47014,7 +47014,7 @@ "num2fraction": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==", "dev": true }, "number-is-nan": { @@ -48093,7 +48093,7 @@ "p-defer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", + "integrity": "sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw==", "dev": true }, "p-event": { @@ -49432,7 +49432,7 @@ "pretty-hrtime": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", - "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", + "integrity": "sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==", "dev": true }, "prismjs": { @@ -51737,7 +51737,7 @@ "relateurl": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", - "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", + "integrity": "sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==", "dev": true }, "remark": { diff --git a/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md b/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md index 0c756c7fc7a0d..d41d39526b35e 100644 --- a/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md +++ b/packages/babel-plugin-import-jsx-pragma/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 3.0.0 (2021-01-21) ### Breaking Changes diff --git a/packages/babel-plugin-import-jsx-pragma/README.md b/packages/babel-plugin-import-jsx-pragma/README.md index fae0f49d6596c..5edb4d357ae27 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 b0d06581fb0de..0bd46e25834d7 100644 --- a/packages/babel-plugin-import-jsx-pragma/package.json +++ b/packages/babel-plugin-import-jsx-pragma/package.json @@ -24,7 +24,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "index.js" diff --git a/packages/babel-preset-default/CHANGELOG.md b/packages/babel-preset-default/CHANGELOG.md index d807a5136534b..fc333efb0e8e0 100644 --- a/packages/babel-preset-default/CHANGELOG.md +++ b/packages/babel-preset-default/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 6.4.0 (2021-11-15) ### Enhancements diff --git a/packages/babel-preset-default/README.md b/packages/babel-preset-default/README.md index 3bff3e2df8d81..ff98eb4e526e7 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 1ff05ef16d358..8dd77048fed47 100644 --- a/packages/babel-preset-default/package.json +++ b/packages/babel-preset-default/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "build", diff --git a/packages/browserslist-config/CHANGELOG.md b/packages/browserslist-config/CHANGELOG.md index 7871a9c8b0580..59205696c750c 100644 --- a/packages/browserslist-config/CHANGELOG.md +++ b/packages/browserslist-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 4.0.0 (2021-05-14) ### Breaking Changes diff --git a/packages/browserslist-config/README.md b/packages/browserslist-config/README.md index f6fb1be952efd..0ab8e724947d7 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. ## Usage diff --git a/packages/browserslist-config/package.json b/packages/browserslist-config/package.json index f32af97e549f4..e7e94ff3d20fb 100644 --- a/packages/browserslist-config/package.json +++ b/packages/browserslist-config/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "index.js" diff --git a/packages/create-block/CHANGELOG.md b/packages/create-block/CHANGELOG.md index b2a76d926ae65..c34e0efee4645 100644 --- a/packages/create-block/CHANGELOG.md +++ b/packages/create-block/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 3.6.0 (2022-07-13) ### Enhancement diff --git a/packages/create-block/README.md b/packages/create-block/README.md index b7769488a6d02..20a9a8d095e85 100644 --- a/packages/create-block/README.md +++ b/packages/create-block/README.md @@ -20,7 +20,7 @@ $ cd todo-list $ npm start ``` -_(requires `node` version `12.0.0` or above, and `npm` version `6.9.0` or above)_ +_(requires `node` version `14.0.0` or above, and `npm` version `6.9.0` or above)_ It creates a WordPress plugin that you need to [install manually](https://wordpress.org/support/article/managing-plugins/#manual-plugin-installation). diff --git a/packages/create-block/package.json b/packages/create-block/package.json index 30b9735f0a1d2..325656a0801fd 100644 --- a/packages/create-block/package.json +++ b/packages/create-block/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12", + "node": ">=14", "npm": ">=6.9" }, "files": [ diff --git a/packages/dependency-extraction-webpack-plugin/CHANGELOG.md b/packages/dependency-extraction-webpack-plugin/CHANGELOG.md index 4906ea6906f39..14e40aa53ff26 100644 --- a/packages/dependency-extraction-webpack-plugin/CHANGELOG.md +++ b/packages/dependency-extraction-webpack-plugin/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 3.7.0 (2022-07-13) ### New Features diff --git a/packages/dependency-extraction-webpack-plugin/README.md b/packages/dependency-extraction-webpack-plugin/README.md index 35cf69b26914c..0885a38e1c825 100644 --- a/packages/dependency-extraction-webpack-plugin/README.md +++ b/packages/dependency-extraction-webpack-plugin/README.md @@ -17,7 +17,7 @@ Install the module npm install @wordpress/dependency-extraction-webpack-plugin --save-dev ``` -**Note**: This package requires Node.js 12.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 14.0.0 or later. It also requires webpack 4.8.3 and 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 1db40dcb07d50..9277299aaa760 100644 --- a/packages/dependency-extraction-webpack-plugin/package.json +++ b/packages/dependency-extraction-webpack-plugin/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "lib", diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 6df5397d88fa8..4e0332764da3e 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -2,11 +2,15 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 12.8.0 (2022-07-27) ### Code Quality -- Remove deprecated rules `no-negated-in-lhs` replaced with `no-unsafe-negation`, and `jsx-a11y/label-has-for` replaced with `jsx-a11/label-has-associated-control` ([#42654](https://github.com/WordPress/gutenberg/pull/42654)). +- Remove deprecated rules `no-negated-in-lhs` replaced with `no-unsafe-negation`, and `jsx-a11y/label-has-for` replaced with `jsx-a11/label-has-associated-control` ([#42654](https://github.com/WordPress/gutenberg/pull/42654)). ## 12.6.0 (2022-06-29) diff --git a/packages/eslint-plugin/README.md b/packages/eslint-plugin/README.md index 2eb8d225f45a6..4e6b0c933be9e 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` 12.0.0 or later, and `npm` 6.9.0 or later. It is not compatible with older versions. +**Note**: This package requires `node` 14.0.0 or later, and `npm` 6.9.0 or later. It is not compatible with older versions. ## Usage diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 9d8b3159f1073..7318c691708a4 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12", + "node": ">=14", "npm": ">=6.9" }, "files": [ diff --git a/packages/jest-console/CHANGELOG.md b/packages/jest-console/CHANGELOG.md index 639f849dc4140..1027c16d02cf5 100644 --- a/packages/jest-console/CHANGELOG.md +++ b/packages/jest-console/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 5.1.0 (2022-05-18) ### Enhancements diff --git a/packages/jest-console/README.md b/packages/jest-console/README.md index 2b32ad62c8ec9..4e57acef7deb6 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. ### Setup diff --git a/packages/jest-console/package.json b/packages/jest-console/package.json index 0afb69d3d5f54..3caa6cb49a844 100644 --- a/packages/jest-console/package.json +++ b/packages/jest-console/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "build", diff --git a/packages/jest-preset-default/CHANGELOG.md b/packages/jest-preset-default/CHANGELOG.md index 92de18877e5f8..b8d4e7eb892a1 100644 --- a/packages/jest-preset-default/CHANGELOG.md +++ b/packages/jest-preset-default/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 8.0.0 (2022-01-27) ### Breaking Changes diff --git a/packages/jest-preset-default/README.md b/packages/jest-preset-default/README.md index 6705c6db073c1..041b9ac1613d6 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. ## Setup diff --git a/packages/jest-preset-default/package.json b/packages/jest-preset-default/package.json index c21f16200aec5..835be8dc0dc1a 100644 --- a/packages/jest-preset-default/package.json +++ b/packages/jest-preset-default/package.json @@ -22,7 +22,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "scripts", diff --git a/packages/npm-package-json-lint-config/CHANGELOG.md b/packages/npm-package-json-lint-config/CHANGELOG.md index e335351fba0fc..0c774817525ac 100644 --- a/packages/npm-package-json-lint-config/CHANGELOG.md +++ b/packages/npm-package-json-lint-config/CHANGELOG.md @@ -4,6 +4,10 @@ ## 4.0.0 (2021-01-21) +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ### Breaking Changes - Increase the minimum Node.js version to 12 ([#27934](https://github.com/WordPress/gutenberg/pull/27934)). diff --git a/packages/npm-package-json-lint-config/README.md b/packages/npm-package-json-lint-config/README.md index f0de29305a07e..dae33adeb5f8a 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 fc82b9cd8aba4..bc42b2c1126fd 100644 --- a/packages/npm-package-json-lint-config/package.json +++ b/packages/npm-package-json-lint-config/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "index.js" diff --git a/packages/postcss-plugins-preset/CHANGELOG.md b/packages/postcss-plugins-preset/CHANGELOG.md index 41cdf92a91b1e..6a3cd74fb8c30 100644 --- a/packages/postcss-plugins-preset/CHANGELOG.md +++ b/packages/postcss-plugins-preset/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 3.0.0 (2021-04-29) ### Breaking Changes diff --git a/packages/postcss-plugins-preset/README.md b/packages/postcss-plugins-preset/README.md index 3bd9530225319..8385a30e6be53 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 257464d9328ee..0adf3be7a78a0 100644 --- a/packages/postcss-plugins-preset/package.json +++ b/packages/postcss-plugins-preset/package.json @@ -22,7 +22,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "lib" diff --git a/packages/postcss-themes/CHANGELOG.md b/packages/postcss-themes/CHANGELOG.md index 0c2760e1ee29e..8d6b6c67b70e6 100644 --- a/packages/postcss-themes/CHANGELOG.md +++ b/packages/postcss-themes/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 4.0.0 (2021-04-29) ### Breaking Changes diff --git a/packages/postcss-themes/README.md b/packages/postcss-themes/README.md index 558fd1a24cb14..341ecfdbd8b7a 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 8245e20e370d1..da880370885b2 100644 --- a/packages/postcss-themes/package.json +++ b/packages/postcss-themes/package.json @@ -24,7 +24,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "index.js" diff --git a/packages/prettier-config/CHANGELOG.md b/packages/prettier-config/CHANGELOG.md index dd4ddd878dba8..1976d92852357 100644 --- a/packages/prettier-config/CHANGELOG.md +++ b/packages/prettier-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 1.2.0 (2022-04-21) ### Enhancement diff --git a/packages/prettier-config/README.md b/packages/prettier-config/README.md index 3829e44d92564..3a06384383574 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. ## Usage diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index b8afd52844bc3..5ba2ede04f04f 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "lib/index.js" diff --git a/packages/readable-js-assets-webpack-plugin/CHANGELOG.md b/packages/readable-js-assets-webpack-plugin/CHANGELOG.md index e04ce921cdfdc..f2c86a534cfc6 100644 --- a/packages/readable-js-assets-webpack-plugin/CHANGELOG.md +++ b/packages/readable-js-assets-webpack-plugin/CHANGELOG.md @@ -2,4 +2,6 @@ ## Unreleased -Initial release. +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). diff --git a/packages/readable-js-assets-webpack-plugin/README.md b/packages/readable-js-assets-webpack-plugin/README.md index 807cd307a8d5a..47d75a6f00edf 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 12.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 14.0.0 or later. It also requires webpack 4.8.3 and newer. 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 3f972b71185ec..da58d7292a721 100644 --- a/packages/readable-js-assets-webpack-plugin/package.json +++ b/packages/readable-js-assets-webpack-plugin/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12.0" + "node": ">=14.0" }, "files": [ "index.js" diff --git a/packages/scripts/CHANGELOG.md b/packages/scripts/CHANGELOG.md index d4a370a1b1b4a..fecfc106f4d74 100644 --- a/packages/scripts/CHANGELOG.md +++ b/packages/scripts/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 23.6.0 (2022-07-27) ### Bug Fix diff --git a/packages/scripts/README.md b/packages/scripts/README.md index 11587e0ae59ab..21f8f53835ce6 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 12.13.0 or later, and `npm` 6.9.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later, and `npm` 6.9.0 or later. It is not compatible with older versions. ## Setup diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 5cfa0ff51a1c2..030ff7de4864f 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -19,7 +19,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12.13", + "node": ">=14", "npm": ">=6.9" }, "files": [ diff --git a/packages/stylelint-config/CHANGELOG.md b/packages/stylelint-config/CHANGELOG.md index 000d528f7ef55..28dc5d41b442a 100644 --- a/packages/stylelint-config/CHANGELOG.md +++ b/packages/stylelint-config/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 20.0.0 (2022-01-27) ### Breaking Change diff --git a/packages/stylelint-config/README.md b/packages/stylelint-config/README.md index eb4a980901d09..0e52e5ef190a4 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions. ## Usage diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json index 47fc42328f14c..0dfc07bf208ed 100644 --- a/packages/stylelint-config/package.json +++ b/packages/stylelint-config/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "CHANGELOG.md", From 70063e6000add55389c5b21ecff43146fd110793 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Thu, 11 Aug 2022 11:20:18 +0200 Subject: [PATCH 2/3] Stop running GitHub workflows on Node 12 --- .github/workflows/create-block.yml | 3 --- .github/workflows/unit-test.yml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/create-block.yml b/.github/workflows/create-block.yml index 012ada8d05f14..ba264fed3bfc1 100644 --- a/.github/workflows/create-block.yml +++ b/.github/workflows/create-block.yml @@ -22,9 +22,6 @@ jobs: matrix: node: [14] os: [macos-latest, ubuntu-latest, windows-latest] - include: - - node: 12 - os: ubuntu-latest steps: - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 795ad86c9a276..4ed5c3d750fee 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['12', '14'] + node: ['14'] steps: - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 From 9a7447986fb212f9a5bfb528be584b9dc6e91d43 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Fri, 12 Aug 2022 09:25:27 +0200 Subject: [PATCH 3/3] Apply feedback from code review --- packages/babel-plugin-makepot/CHANGELOG.md | 4 ++++ packages/babel-plugin-makepot/README.md | 2 +- packages/babel-plugin-makepot/package.json | 2 +- packages/create-block/CHANGELOG.md | 2 +- packages/create-block/README.md | 2 +- packages/create-block/package.json | 2 +- packages/e2e-test-utils/CHANGELOG.md | 4 ++++ packages/e2e-test-utils/README.md | 4 ++-- packages/e2e-test-utils/package.json | 2 +- packages/e2e-tests/CHANGELOG.md | 6 +++++- packages/e2e-tests/README.md | 2 +- packages/e2e-tests/package.json | 2 +- packages/eslint-plugin/CHANGELOG.md | 2 +- packages/eslint-plugin/README.md | 2 +- packages/eslint-plugin/package.json | 2 +- packages/jest-puppeteer-axe/CHANGELOG.md | 4 ++++ packages/jest-puppeteer-axe/README.md | 2 +- packages/jest-puppeteer-axe/package.json | 2 +- packages/scripts/CHANGELOG.md | 2 +- packages/scripts/README.md | 2 +- packages/scripts/package.json | 2 +- 21 files changed, 35 insertions(+), 19 deletions(-) diff --git a/packages/babel-plugin-makepot/CHANGELOG.md b/packages/babel-plugin-makepot/CHANGELOG.md index 97a4ef7c7bcd4..8f17ba84ee6ac 100644 --- a/packages/babel-plugin-makepot/CHANGELOG.md +++ b/packages/babel-plugin-makepot/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 4.0.0 (2021-01-21) ### Breaking Changes diff --git a/packages/babel-plugin-makepot/README.md b/packages/babel-plugin-makepot/README.md index c7e14cbb1c2ad..95f52e55d28f5 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 091e92a4d1ce7..ca1eefd8bef8b 100644 --- a/packages/babel-plugin-makepot/package.json +++ b/packages/babel-plugin-makepot/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "index.js" diff --git a/packages/create-block/CHANGELOG.md b/packages/create-block/CHANGELOG.md index c34e0efee4645..616f897fc60a9 100644 --- a/packages/create-block/CHANGELOG.md +++ b/packages/create-block/CHANGELOG.md @@ -4,7 +4,7 @@ ### Breaking Change -- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). +- Increase the minimum Node.js version to 14 and minimum npm version to 6.14.4 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). ## 3.6.0 (2022-07-13) diff --git a/packages/create-block/README.md b/packages/create-block/README.md index 20a9a8d095e85..1b58f4265d300 100644 --- a/packages/create-block/README.md +++ b/packages/create-block/README.md @@ -20,7 +20,7 @@ $ cd todo-list $ npm start ``` -_(requires `node` version `14.0.0` or above, and `npm` version `6.9.0` or above)_ +_(requires `node` version `14.0.0` or above, and `npm` version `6.14.4` or above)_ It creates a WordPress plugin that you need to [install manually](https://wordpress.org/support/article/managing-plugins/#manual-plugin-installation). diff --git a/packages/create-block/package.json b/packages/create-block/package.json index 325656a0801fd..c4dbcf0056305 100644 --- a/packages/create-block/package.json +++ b/packages/create-block/package.json @@ -21,7 +21,7 @@ }, "engines": { "node": ">=14", - "npm": ">=6.9" + "npm": ">=6.14.4" }, "files": [ "lib" diff --git a/packages/e2e-test-utils/CHANGELOG.md b/packages/e2e-test-utils/CHANGELOG.md index 3d6bab9d935f0..f1be23804765d 100644 --- a/packages/e2e-test-utils/CHANGELOG.md +++ b/packages/e2e-test-utils/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 7.2.0 (2022-04-08) ### Enhancement diff --git a/packages/e2e-test-utils/README.md b/packages/e2e-test-utils/README.md index 47a914b2d816f..9a9a9dcba6420 100644 --- a/packages/e2e-test-utils/README.md +++ b/packages/e2e-test-utils/README.md @@ -2,7 +2,7 @@ End-To-End (E2E) test utils for WordPress. -_It works properly with the minimum version of Gutenberg `9.2.0` or the minimum version of WordPress `5.6.0`._ +_It works properly with the minimum version of Gutenberg `13.8.0` or the minimum version of WordPress `6.0.0`._ **Note that there's currently an ongoing [project](https://github.com/WordPress/gutenberg/issues/38851) to migrate E2E tests to Playwright instead. This package is deprecated and will only accept bug fixes until fully migrated.** @@ -14,7 +14,7 @@ Install the module npm install @wordpress/e2e-test-utils --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 14.0.0 or later. 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 c7a093d91b57c..e1192ad2de0c0 100644 --- a/packages/e2e-test-utils/package.json +++ b/packages/e2e-test-utils/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "build", diff --git a/packages/e2e-tests/CHANGELOG.md b/packages/e2e-tests/CHANGELOG.md index d14068f5d678a..3d2cba05f6db6 100644 --- a/packages/e2e-tests/CHANGELOG.md +++ b/packages/e2e-tests/CHANGELOG.md @@ -2,11 +2,15 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 4.0.0 (2022-04-08) ### Breaking Changes -- There's currently an ongoing [project](https://github.com/WordPress/gutenberg/issues/38851) to migrate E2E tests to Playwright instead. This package is deprecated and will only accept bug fixes until fully migrated. +- There's currently an ongoing [project](https://github.com/WordPress/gutenberg/issues/38851) to migrate E2E tests to Playwright instead. This package is deprecated and will only accept bug fixes until fully migrated. ## 3.0.0 (2022-01-27) diff --git a/packages/e2e-tests/README.md b/packages/e2e-tests/README.md index b0e0960e2516c..8629700263ebe 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 fb4e234cfd81c..809265a7d52a6 100644 --- a/packages/e2e-tests/package.json +++ b/packages/e2e-tests/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "dependencies": { "@wordpress/e2e-test-utils": "file:../e2e-test-utils", diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 4e0332764da3e..0ac931b3bd5bd 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -4,7 +4,7 @@ ### Breaking Change -- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). +- Increase the minimum Node.js version to 14 and minimum npm version to 6.14.4 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). ## 12.8.0 (2022-07-27) diff --git a/packages/eslint-plugin/README.md b/packages/eslint-plugin/README.md index 4e6b0c933be9e..4ea772f525c4d 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.9.0 or later. It is not compatible with older versions. +**Note**: This package requires `node` 14.0.0 or later, and `npm` 6.14.4 or later. It is not compatible with older versions. ## Usage diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 7318c691708a4..a5560ad1a7334 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -21,7 +21,7 @@ }, "engines": { "node": ">=14", - "npm": ">=6.9" + "npm": ">=6.14.4" }, "files": [ "configs", diff --git a/packages/jest-puppeteer-axe/CHANGELOG.md b/packages/jest-puppeteer-axe/CHANGELOG.md index 13374cef31f91..b91c907699510 100644 --- a/packages/jest-puppeteer-axe/CHANGELOG.md +++ b/packages/jest-puppeteer-axe/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Change + +- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). + ## 4.0.0 (2022-01-27) ### Breaking Changes diff --git a/packages/jest-puppeteer-axe/README.md b/packages/jest-puppeteer-axe/README.md index 563003b2fbb9e..fb5b6752c5702 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 12.0.0 or later. It is not compatible with older versions. +**Note**: This package requires Node.js 14.0.0 or later. 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 a62dc96126804..be42c146cdda7 100644 --- a/packages/jest-puppeteer-axe/package.json +++ b/packages/jest-puppeteer-axe/package.json @@ -22,7 +22,7 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "engines": { - "node": ">=12" + "node": ">=14" }, "files": [ "build", diff --git a/packages/scripts/CHANGELOG.md b/packages/scripts/CHANGELOG.md index fecfc106f4d74..b30877954d298 100644 --- a/packages/scripts/CHANGELOG.md +++ b/packages/scripts/CHANGELOG.md @@ -4,7 +4,7 @@ ### Breaking Change -- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). +- Increase the minimum Node.js version to 14 and minimum npm version to 6.14.4 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)). ## 23.6.0 (2022-07-27) diff --git a/packages/scripts/README.md b/packages/scripts/README.md index 21f8f53835ce6..2b4839444da95 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.9.0 or later. It is not compatible with older versions. +**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. ## Setup diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 030ff7de4864f..1cf3266beff17 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -20,7 +20,7 @@ }, "engines": { "node": ">=14", - "npm": ">=6.9" + "npm": ">=6.14.4" }, "files": [ "bin",