From c0fe3ec18f84ec4299e92f4cdb9c535e2c94dfb5 Mon Sep 17 00:00:00 2001 From: Sam Seay Date: Tue, 27 Sep 2022 11:30:52 +1300 Subject: [PATCH] Fix pnpm version to 7.11.0 in engines and in CI (#34773) --- .github/actions/setup-woocommerce-monorepo/action.yml | 2 +- .github/workflows/pr-highlight-changes.yml | 2 +- .../js/admin-e2e-tests/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/admin-e2e-tests/package.json | 4 ++++ packages/js/api-core-tests/package.json | 4 ++++ packages/js/api/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/api/package.json | 4 ++++ packages/js/components/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/components/package.json | 4 ++++ packages/js/csv-export/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/csv-export/package.json | 4 ++++ packages/js/currency/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/currency/package.json | 4 ++++ .../changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/customer-effort-score/package.json | 4 ++++ packages/js/data/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/data/package.json | 4 ++++ packages/js/date/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/date/package.json | 4 ++++ .../changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/dependency-extraction-webpack-plugin/package.json | 4 ++++ packages/js/e2e-core-tests/package.json | 4 ++++ packages/js/e2e-environment/package.json | 4 ++++ packages/js/e2e-utils/package.json | 4 ++++ .../js/eslint-plugin/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/eslint-plugin/package.json | 4 ++++ .../js/experimental/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/experimental/package.json | 4 ++++ packages/js/explat/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/explat/package.json | 4 ++++ .../changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/extend-cart-checkout-block/package.json | 4 ++++ packages/js/internal-e2e-builds/package.json | 4 ++++ packages/js/internal-js-tests/package.json | 4 ++++ packages/js/internal-style-build/package.json | 4 ++++ packages/js/navigation/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/navigation/package.json | 4 ++++ packages/js/notices/package.json | 4 ++++ packages/js/number/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/number/package.json | 4 ++++ packages/js/onboarding/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/onboarding/package.json | 4 ++++ packages/js/tracks/changelog/dev-fix-pnpm-version-engines | 4 ++++ packages/js/tracks/package.json | 4 ++++ plugins/woocommerce-admin/package.json | 3 ++- .../changelog/dev-fix-pnpm-version-engines | 4 ++++ plugins/woocommerce-beta-tester/package.json | 4 ++-- plugins/woocommerce/changelog/dev-fix-pnpm-version-engines | 4 ++++ plugins/woocommerce/package.json | 3 ++- tools/cherry-pick/package.json | 3 ++- tools/cli-core/package.json | 4 ++++ tools/code-analyzer/package.json | 3 ++- tools/create-extension/package.json | 4 ++++ tools/monorepo-merge/package.json | 3 ++- tools/package-release/package.json | 3 ++- tools/release-posts/package.json | 4 ++++ tools/storybook/package.json | 4 ++++ tools/version-bump/package.json | 4 ++++ 58 files changed, 212 insertions(+), 10 deletions(-) create mode 100644 packages/js/admin-e2e-tests/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/api/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/components/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/csv-export/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/currency/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/customer-effort-score/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/data/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/date/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/dependency-extraction-webpack-plugin/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/eslint-plugin/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/experimental/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/explat/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/extend-cart-checkout-block/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/navigation/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/number/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/onboarding/changelog/dev-fix-pnpm-version-engines create mode 100644 packages/js/tracks/changelog/dev-fix-pnpm-version-engines create mode 100644 plugins/woocommerce-beta-tester/changelog/dev-fix-pnpm-version-engines create mode 100644 plugins/woocommerce/changelog/dev-fix-pnpm-version-engines diff --git a/.github/actions/setup-woocommerce-monorepo/action.yml b/.github/actions/setup-woocommerce-monorepo/action.yml index 5c928a402ea..f52f85f937e 100644 --- a/.github/actions/setup-woocommerce-monorepo/action.yml +++ b/.github/actions/setup-woocommerce-monorepo/action.yml @@ -28,7 +28,7 @@ runs: - name: Setup PNPM uses: pnpm/action-setup@10693b3829bf86eb2572aef5f3571dcf5ca9287d with: - version: 7 + version: "7.11.0" - name: Setup Node uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 diff --git a/.github/workflows/pr-highlight-changes.yml b/.github/workflows/pr-highlight-changes.yml index df85cdcec51..480005b8734 100644 --- a/.github/workflows/pr-highlight-changes.yml +++ b/.github/workflows/pr-highlight-changes.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v3 - name: Install prerequisites run: | - npm install -g pnpm + npm install -g pnpm@7.11.0 npm -g i @wordpress/env@5.1.0 pnpm install --filter code-analyzer --filter cli-core - name: Run analyzer diff --git a/packages/js/admin-e2e-tests/changelog/dev-fix-pnpm-version-engines b/packages/js/admin-e2e-tests/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/admin-e2e-tests/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/admin-e2e-tests/package.json b/packages/js/admin-e2e-tests/package.json index 0d1f34da8cb..d74a11bd7a3 100644 --- a/packages/js/admin-e2e-tests/package.json +++ b/packages/js/admin-e2e-tests/package.json @@ -4,6 +4,10 @@ "author": "Automattic", "description": "E2E tests for the new WooCommerce interface.", "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/admin-e2e-tests/README.md", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "repository": { "type": "git", "url": "https://github.com/woocommerce/woocommerce.git" diff --git a/packages/js/api-core-tests/package.json b/packages/js/api-core-tests/package.json index 02e7a366bf7..064e1551101 100644 --- a/packages/js/api-core-tests/package.json +++ b/packages/js/api-core-tests/package.json @@ -3,6 +3,10 @@ "version": "0.1.0", "description": "API tests for WooCommerce", "main": "index.js", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "scripts": { "e2e": "jest", "e2e:api": "jest --group=api", diff --git a/packages/js/api/changelog/dev-fix-pnpm-version-engines b/packages/js/api/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/api/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/api/package.json b/packages/js/api/package.json index 4e0e0c62ed5..ff1efa54cac 100644 --- a/packages/js/api/package.json +++ b/packages/js/api/package.json @@ -4,6 +4,10 @@ "author": "Automattic", "description": "A simple interface for interacting with a WooCommerce installation.", "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "repository": { "type": "git", "url": "https://github.com/woocommerce/woocommerce.git" diff --git a/packages/js/components/changelog/dev-fix-pnpm-version-engines b/packages/js/components/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/components/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/components/package.json b/packages/js/components/package.json index 048cbd788ea..387b047fe5d 100644 --- a/packages/js/components/package.json +++ b/packages/js/components/package.json @@ -4,6 +4,10 @@ "description": "UI components for WooCommerce.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/csv-export/changelog/dev-fix-pnpm-version-engines b/packages/js/csv-export/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/csv-export/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/csv-export/package.json b/packages/js/csv-export/package.json index 9eede566360..0d9b4a991d9 100644 --- a/packages/js/csv-export/package.json +++ b/packages/js/csv-export/package.json @@ -4,6 +4,10 @@ "description": "WooCommerce utility library to convert data to CSV files.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/currency/changelog/dev-fix-pnpm-version-engines b/packages/js/currency/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/currency/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/currency/package.json b/packages/js/currency/package.json index 2e53ebc0dab..a93deebda38 100644 --- a/packages/js/currency/package.json +++ b/packages/js/currency/package.json @@ -9,6 +9,10 @@ "woocommerce", "currency" ], + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/currency/README.md", "repository": { "type": "git", diff --git a/packages/js/customer-effort-score/changelog/dev-fix-pnpm-version-engines b/packages/js/customer-effort-score/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/customer-effort-score/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/customer-effort-score/package.json b/packages/js/customer-effort-score/package.json index 2c5e0726b22..8dcacd708cf 100644 --- a/packages/js/customer-effort-score/package.json +++ b/packages/js/customer-effort-score/package.json @@ -8,6 +8,10 @@ "wordpress", "woocommerce" ], + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/customer-effort-score/README.md", "repository": { "type": "git", diff --git a/packages/js/data/changelog/dev-fix-pnpm-version-engines b/packages/js/data/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/data/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/data/package.json b/packages/js/data/package.json index 86ead2f31e4..9ab06cd7968 100644 --- a/packages/js/data/package.json +++ b/packages/js/data/package.json @@ -9,6 +9,10 @@ "woocommerce", "data" ], + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/data/README.md", "repository": { "type": "git", diff --git a/packages/js/date/changelog/dev-fix-pnpm-version-engines b/packages/js/date/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/date/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/date/package.json b/packages/js/date/package.json index 9e2d54d1d89..568ce10d780 100644 --- a/packages/js/date/package.json +++ b/packages/js/date/package.json @@ -9,6 +9,10 @@ "woocommerce", "date" ], + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/date/README.md", "repository": { "type": "git", diff --git a/packages/js/dependency-extraction-webpack-plugin/changelog/dev-fix-pnpm-version-engines b/packages/js/dependency-extraction-webpack-plugin/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/dependency-extraction-webpack-plugin/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/dependency-extraction-webpack-plugin/package.json b/packages/js/dependency-extraction-webpack-plugin/package.json index e2883d8cb24..221375fdd04 100644 --- a/packages/js/dependency-extraction-webpack-plugin/package.json +++ b/packages/js/dependency-extraction-webpack-plugin/package.json @@ -8,6 +8,10 @@ "wordpress", "woocommerce" ], + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/dependency-extraction-webpack-plugin/README.md", "repository": { "type": "git", diff --git a/packages/js/e2e-core-tests/package.json b/packages/js/e2e-core-tests/package.json index eaca2b42ff3..fef022d2967 100644 --- a/packages/js/e2e-core-tests/package.json +++ b/packages/js/e2e-core-tests/package.json @@ -8,6 +8,10 @@ "url": "https://github.com/woocommerce/woocommerce.git" }, "license": "GPL-3.0+", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "main": "build/index.js", "module": "build-module/index.js", "files": [ diff --git a/packages/js/e2e-environment/package.json b/packages/js/e2e-environment/package.json index 1748e8aeb76..8d4f7441b5f 100644 --- a/packages/js/e2e-environment/package.json +++ b/packages/js/e2e-environment/package.json @@ -10,6 +10,10 @@ "e2e", "puppeteer" ], + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment/README.md", "bugs": { "url": "https://github.com/woocommerce/woocommerce/issues" diff --git a/packages/js/e2e-utils/package.json b/packages/js/e2e-utils/package.json index d4e76e2c5ec..9eac6bd3e68 100644 --- a/packages/js/e2e-utils/package.json +++ b/packages/js/e2e-utils/package.json @@ -8,6 +8,10 @@ "url": "https://github.com/woocommerce/woocommerce.git" }, "license": "GPL-3.0+", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "main": "build/index.js", "module": "build-module/index.js", "dependencies": { diff --git a/packages/js/eslint-plugin/changelog/dev-fix-pnpm-version-engines b/packages/js/eslint-plugin/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/eslint-plugin/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/eslint-plugin/package.json b/packages/js/eslint-plugin/package.json index 4383492bfd9..07c2fb90221 100644 --- a/packages/js/eslint-plugin/package.json +++ b/packages/js/eslint-plugin/package.json @@ -4,6 +4,10 @@ "description": "ESLint plugin for WooCommerce development.", "author": "Automattic", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/experimental/changelog/dev-fix-pnpm-version-engines b/packages/js/experimental/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/experimental/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/experimental/package.json b/packages/js/experimental/package.json index 40ca9a7d728..3dfada8e6d4 100644 --- a/packages/js/experimental/package.json +++ b/packages/js/experimental/package.json @@ -4,6 +4,10 @@ "description": "WooCommerce experimental components.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/explat/changelog/dev-fix-pnpm-version-engines b/packages/js/explat/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/explat/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/explat/package.json b/packages/js/explat/package.json index 49a6c68706f..46b25f84d18 100644 --- a/packages/js/explat/package.json +++ b/packages/js/explat/package.json @@ -4,6 +4,10 @@ "description": "WooCommerce component and utils for A/B testing.", "author": "Automattic", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/extend-cart-checkout-block/changelog/dev-fix-pnpm-version-engines b/packages/js/extend-cart-checkout-block/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/extend-cart-checkout-block/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/extend-cart-checkout-block/package.json b/packages/js/extend-cart-checkout-block/package.json index 2439e366c67..5c2dba457df 100644 --- a/packages/js/extend-cart-checkout-block/package.json +++ b/packages/js/extend-cart-checkout-block/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "", "main": "index.js", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "scripts": { "postinstall": "composer install", "changelog": "composer exec -- changelogger" diff --git a/packages/js/internal-e2e-builds/package.json b/packages/js/internal-e2e-builds/package.json index 068cd151a53..e4b83bba8b9 100644 --- a/packages/js/internal-e2e-builds/package.json +++ b/packages/js/internal-e2e-builds/package.json @@ -4,6 +4,10 @@ "description": "Utility build files for e2e packages", "private": true, "main": "build.js", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "bin": { "e2e-builds": "./build.js" }, diff --git a/packages/js/internal-js-tests/package.json b/packages/js/internal-js-tests/package.json index 63e46217a00..10a506072e6 100644 --- a/packages/js/internal-js-tests/package.json +++ b/packages/js/internal-js-tests/package.json @@ -4,6 +4,10 @@ "description": "JavaScript test tooling.", "author": "Automattic", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/internal-js-tests/README.md", "repository": { "type": "git", diff --git a/packages/js/internal-style-build/package.json b/packages/js/internal-style-build/package.json index 5c912e83312..6274ad07516 100644 --- a/packages/js/internal-style-build/package.json +++ b/packages/js/internal-style-build/package.json @@ -4,6 +4,10 @@ "description": "WooCommerce Components SASS Build", "author": "Automattic", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce" diff --git a/packages/js/navigation/changelog/dev-fix-pnpm-version-engines b/packages/js/navigation/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/navigation/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/navigation/package.json b/packages/js/navigation/package.json index a41a3cd5a00..ee1b4a0abf8 100644 --- a/packages/js/navigation/package.json +++ b/packages/js/navigation/package.json @@ -4,6 +4,10 @@ "description": "WooCommerce navigation utilities.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/notices/package.json b/packages/js/notices/package.json index 5662cd9517b..aed4109bde3 100644 --- a/packages/js/notices/package.json +++ b/packages/js/notices/package.json @@ -4,6 +4,10 @@ "description": "State management for notices.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "gutenberg", diff --git a/packages/js/number/changelog/dev-fix-pnpm-version-engines b/packages/js/number/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/number/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/number/package.json b/packages/js/number/package.json index 95479cc000e..8ad4da2d21a 100644 --- a/packages/js/number/package.json +++ b/packages/js/number/package.json @@ -4,6 +4,10 @@ "description": "Number formatting utilities for WooCommerce.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce" diff --git a/packages/js/onboarding/changelog/dev-fix-pnpm-version-engines b/packages/js/onboarding/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/onboarding/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/onboarding/package.json b/packages/js/onboarding/package.json index d1e017231e6..628f6840069 100644 --- a/packages/js/onboarding/package.json +++ b/packages/js/onboarding/package.json @@ -4,6 +4,10 @@ "description": "Onboarding utilities.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/packages/js/tracks/changelog/dev-fix-pnpm-version-engines b/packages/js/tracks/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/packages/js/tracks/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/packages/js/tracks/package.json b/packages/js/tracks/package.json index 968e7035d6e..0b4f9bbdb85 100644 --- a/packages/js/tracks/package.json +++ b/packages/js/tracks/package.json @@ -4,6 +4,10 @@ "description": "WooCommerce user event tracking utilities for Automattic based projects.", "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "keywords": [ "wordpress", "woocommerce", diff --git a/plugins/woocommerce-admin/package.json b/plugins/woocommerce-admin/package.json index be9330e0a5b..9adcf4499fa 100644 --- a/plugins/woocommerce-admin/package.json +++ b/plugins/woocommerce-admin/package.json @@ -226,6 +226,7 @@ ] }, "engines": { - "node": "^16.13.1" + "node": "^16.13.1", + "pnpm": "7.11.0" } } diff --git a/plugins/woocommerce-beta-tester/changelog/dev-fix-pnpm-version-engines b/plugins/woocommerce-beta-tester/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/plugins/woocommerce-beta-tester/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/plugins/woocommerce-beta-tester/package.json b/plugins/woocommerce-beta-tester/package.json index abe1cc98b88..b9399f0fcf9 100644 --- a/plugins/woocommerce-beta-tester/package.json +++ b/plugins/woocommerce-beta-tester/package.json @@ -60,8 +60,8 @@ "test:unit": "wp-scripts test-unit-js" }, "engines": { - "node": ">=10.15.0", - "npm": ">=6.4.1" + "node": "^16.13.1", + "pnpm": "7.11.0" }, "woorelease": { "svn_reauth": "true", diff --git a/plugins/woocommerce/changelog/dev-fix-pnpm-version-engines b/plugins/woocommerce/changelog/dev-fix-pnpm-version-engines new file mode 100644 index 00000000000..a1804a282f0 --- /dev/null +++ b/plugins/woocommerce/changelog/dev-fix-pnpm-version-engines @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Fix node and pnpm versions via engines diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json index ce17ba87ed4..734211ba818 100644 --- a/plugins/woocommerce/package.json +++ b/plugins/woocommerce/package.json @@ -99,7 +99,8 @@ ] }, "engines": { - "node": "^16.13.1" + "node": "^16.13.1", + "pnpm": "7.11.0" }, "browserslist": [ "> 0.1%", diff --git a/tools/cherry-pick/package.json b/tools/cherry-pick/package.json index 6bfc360cdc1..755924d900b 100644 --- a/tools/cherry-pick/package.json +++ b/tools/cherry-pick/package.json @@ -11,7 +11,8 @@ "license": "GPLv3", "repository": "woocommerce/woocommerce", "engines": { - "node": "^16.13.1" + "node": "^16.13.1", + "pnpm": "7.11.0" }, "dependencies": { "node-fetch": "^3.2.6", diff --git a/tools/cli-core/package.json b/tools/cli-core/package.json index 44d0f4052eb..fa63d02537e 100644 --- a/tools/cli-core/package.json +++ b/tools/cli-core/package.json @@ -6,6 +6,10 @@ "scripts": {}, "author": "Automattic", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "devDependencies": { "@tsconfig/node16": "^1.0.3", "typescript": "^4.7.4" diff --git a/tools/code-analyzer/package.json b/tools/code-analyzer/package.json index f734e177df8..27c55b58f60 100644 --- a/tools/code-analyzer/package.json +++ b/tools/code-analyzer/package.json @@ -29,7 +29,8 @@ "analyzer": "node -r ts-node/register ./src/commands/analyzer/index.ts" }, "engines": { - "node": ">=12.0.0" + "node": "^16.13.1", + "pnpm": "7.11.0" }, "types": "dist/index.d.ts" } diff --git a/tools/create-extension/package.json b/tools/create-extension/package.json index 093654ab033..4d3f1b31e4f 100644 --- a/tools/create-extension/package.json +++ b/tools/create-extension/package.json @@ -11,5 +11,9 @@ "chalk": "^4.1.2", "fs-extra": "10.1.0", "promptly": "^3.2.0" + }, + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" } } diff --git a/tools/monorepo-merge/package.json b/tools/monorepo-merge/package.json index b241745ebb2..827327d4a13 100644 --- a/tools/monorepo-merge/package.json +++ b/tools/monorepo-merge/package.json @@ -61,7 +61,8 @@ "prepack": "pnpm build && oclif manifest" }, "engines": { - "node": ">=12.0.0" + "node": "^16.13.1", + "pnpm": "7.11.0" }, "types": "dist/index.d.ts" } diff --git a/tools/package-release/package.json b/tools/package-release/package.json index 84cdab461ee..f4ea3fb81f3 100644 --- a/tools/package-release/package.json +++ b/tools/package-release/package.json @@ -57,7 +57,8 @@ "prepack": "pnpm build && oclif manifest" }, "engines": { - "node": ">=12.0.0" + "node": "^16.13.1", + "pnpm": "7.11.0" }, "types": "dist/index.d.ts" } diff --git a/tools/release-posts/package.json b/tools/release-posts/package.json index 5cb8803d959..ffb6ce6ee31 100644 --- a/tools/release-posts/package.json +++ b/tools/release-posts/package.json @@ -8,6 +8,10 @@ }, "author": "Automattic", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "devDependencies": { "@tsconfig/node16": "^1.0.3", "@types/express": "^4.17.13", diff --git a/tools/storybook/package.json b/tools/storybook/package.json index 6232f7dcd94..d8e1ad60a44 100644 --- a/tools/storybook/package.json +++ b/tools/storybook/package.json @@ -10,6 +10,10 @@ }, "author": "Automattic", "license": "GPL-3.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "bugs": { "url": "https://github.com/woocommerce/woocommerce/issues" }, diff --git a/tools/version-bump/package.json b/tools/version-bump/package.json index 65cd006d4d5..4ab0fbc0d88 100644 --- a/tools/version-bump/package.json +++ b/tools/version-bump/package.json @@ -5,6 +5,10 @@ "main": " ", "author": "", "license": "GPL-2.0-or-later", + "engines": { + "node": "^16.13.1", + "pnpm": "7.11.0" + }, "devDependencies": { "@tsconfig/node16": "^1.0.3", "@types/express": "^4.17.13",