Updated PNPM to ^8.12.1 (#42860)
This commit is contained in:
parent
d15bfd2398
commit
bf29119032
|
@ -13,10 +13,14 @@ inputs:
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
- name: 'Read PNPM Version'
|
||||||
|
id: 'read-pnpm-version'
|
||||||
|
shell: 'bash'
|
||||||
|
run: 'echo "version=$(./.github/actions/setup-woocommerce-monorepo/scripts/read-pnpm-version.sh package.json)" >> $GITHUB_OUTPUT'
|
||||||
- name: 'Setup PNPM'
|
- name: 'Setup PNPM'
|
||||||
uses: 'pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598'
|
uses: 'pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598'
|
||||||
with:
|
with:
|
||||||
version: '8'
|
version: ${{ steps.read-pnpm-version.outputs.version }}
|
||||||
- name: 'Setup Node'
|
- name: 'Setup Node'
|
||||||
uses: 'actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65'
|
uses: 'actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65'
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
PACKAGE_FILE=$1
|
||||||
|
if [[ -z "$PACKAGE_FILE" ]]; then
|
||||||
|
echo "Usage: $0 <package.json>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
awk -F'"' '/"pnpm": ".+"/{ print $4; exit; }' $PACKAGE_FILE
|
|
@ -12,7 +12,7 @@
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"pnpm"
|
"pnpm"
|
||||||
],
|
],
|
||||||
"pinVersion": "^8.6.7",
|
"pinVersion": "^8.12.1",
|
||||||
"packages": [
|
"packages": [
|
||||||
"**"
|
"**"
|
||||||
]
|
]
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"homepage": "https://woo.com/",
|
"homepage": "https://woo.com/",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/admin-e2e-tests/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/admin-e2e-tests/README.md",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"e2e": "jest",
|
"e2e": "jest",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"changelog": "composer install && composer exec -- changelogger"
|
"changelog": "composer install && composer exec -- changelogger"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/currency/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/currency/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/customer-effort-score/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/customer-effort-score/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/data/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/data/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/date/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/date/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/dependency-extraction-webpack-plugin/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/dependency-extraction-webpack-plugin/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"license": "GPL-3.0+",
|
"license": "GPL-3.0+",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"module": "build-module/index.js",
|
"module": "build-module/index.js",
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/e2e-environment/README.md",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"license": "GPL-3.0+",
|
"license": "GPL-3.0+",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"module": "build-module/index.js",
|
"module": "build-module/index.js",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/expression-evaluation/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/expression-evaluation/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"e2e-builds": "./build.js"
|
"e2e-builds": "./build.js"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/internal-js-tests/README.md",
|
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/internal-js-tests/README.md",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wordpress",
|
"wordpress",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.php": [
|
"*.php": [
|
||||||
|
|
|
@ -234,7 +234,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build:project:bundle": {
|
"build:project:bundle": {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.php": [
|
"*.php": [
|
||||||
|
|
|
@ -272,7 +272,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dnd-kit/core": "^6.1.0",
|
"@dnd-kit/core": "^6.1.0",
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
Comment: Updated PNPM
|
||||||
|
|
|
@ -169,7 +169,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 0.1%",
|
"> 0.1%",
|
||||||
|
|
|
@ -39,6 +39,6 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"wireit": "0.14.1"
|
"wireit": "0.14.1"
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"types": "dist/index.d.ts"
|
"types": "dist/index.d.ts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -167,10 +167,7 @@ export default class TransferIssues extends Command {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.resetProjectFields(
|
this.resetProjectFields( authenticatedGraphQL, issue );
|
||||||
authenticatedGraphQL,
|
|
||||||
issue
|
|
||||||
);
|
|
||||||
|
|
||||||
this.addLabelsToIssue(
|
this.addLabelsToIssue(
|
||||||
authenticatedGraphQL,
|
authenticatedGraphQL,
|
||||||
|
@ -657,7 +654,7 @@ export default class TransferIssues extends Command {
|
||||||
* Resets the project fields for the issue if necessary.
|
* Resets the project fields for the issue if necessary.
|
||||||
*
|
*
|
||||||
* @param {graphql} authenticatedGraphQL The graphql object for making requests.
|
* @param {graphql} authenticatedGraphQL The graphql object for making requests.
|
||||||
* @param {GitHubIssue} issue The GitHub issue to update the project fields for.
|
* @param {GitHubIssue} issue The GitHub issue to update the project fields for.
|
||||||
*/
|
*/
|
||||||
private async resetProjectFields(
|
private async resetProjectFields(
|
||||||
authenticatedGraphQL: typeof graphql,
|
authenticatedGraphQL: typeof graphql,
|
||||||
|
@ -665,6 +662,7 @@ export default class TransferIssues extends Command {
|
||||||
) {
|
) {
|
||||||
// Pull all of the project fields from the issue post-transfer so that we can make sure that they've been transferred correctly.
|
// Pull all of the project fields from the issue post-transfer so that we can make sure that they've been transferred correctly.
|
||||||
// If they haven't, we need to to try and set them and log the ones that required this step.
|
// If they haven't, we need to to try and set them and log the ones that required this step.
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
const { node } = await authenticatedGraphQL< { node: any } >(
|
const { node } = await authenticatedGraphQL< { node: any } >(
|
||||||
`
|
`
|
||||||
query ($nodeID: ID!) {
|
query ($nodeID: ID!) {
|
||||||
|
@ -749,7 +747,11 @@ export default class TransferIssues extends Command {
|
||||||
for ( const project of node.projectItems.nodes ) {
|
for ( const project of node.projectItems.nodes ) {
|
||||||
if ( project.project.id !== projectField.projectId ) {
|
if ( project.project.id !== projectField.projectId ) {
|
||||||
this.error(
|
this.error(
|
||||||
'Issue "' + issue.title + '" does not have an entry for project "' + project.project.title + '"!'
|
'Issue "' +
|
||||||
|
issue.title +
|
||||||
|
'" does not have an entry for project "' +
|
||||||
|
project.project.title +
|
||||||
|
'"!'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -766,7 +768,15 @@ export default class TransferIssues extends Command {
|
||||||
|
|
||||||
if ( ! foundField ) {
|
if ( ! foundField ) {
|
||||||
this.error(
|
this.error(
|
||||||
'Issue "' + issue.title + '" - Project "' + project.project.title + '" is missing "' + projectField.fieldId + '" value "' + JSON.stringify( projectField.value ) + '"!'
|
'Issue "' +
|
||||||
|
issue.title +
|
||||||
|
'" - Project "' +
|
||||||
|
project.project.title +
|
||||||
|
'" is missing "' +
|
||||||
|
projectField.fieldId +
|
||||||
|
'" value "' +
|
||||||
|
JSON.stringify( projectField.value ) +
|
||||||
|
'"!'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,6 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"types": "dist/index.d.ts"
|
"types": "dist/index.d.ts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/node16": "^1.0.4",
|
"@tsconfig/node16": "^1.0.4",
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.14.1",
|
"node": "^16.14.1",
|
||||||
"pnpm": "^8.6.7"
|
"pnpm": "^8.12.1"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/woocommerce/woocommerce/issues"
|
"url": "https://github.com/woocommerce/woocommerce/issues"
|
||||||
|
|
Loading…
Reference in New Issue