Updated PNPM to ^8.12.1 (#42860)

This commit is contained in:
Christopher Allford 2023-12-17 23:31:49 -08:00 committed by GitHub
parent d15bfd2398
commit bf29119032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
71 changed files with 174 additions and 51 deletions

View File

@ -13,10 +13,14 @@ inputs:
runs:
using: 'composite'
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'
uses: 'pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598'
with:
version: '8'
version: ${{ steps.read-pnpm-version.outputs.version }}
- name: 'Setup Node'
uses: 'actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65'
with:

View File

@ -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

View File

@ -12,7 +12,7 @@
"dependencies": [
"pnpm"
],
"pinVersion": "^8.6.7",
"pinVersion": "^8.12.1",
"packages": [
"**"
]

View File

@ -5,7 +5,7 @@
"homepage": "https://woo.com/",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"private": true,
"repository": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/admin-e2e-tests/README.md",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"repository": {
"type": "git",

View File

@ -5,7 +5,7 @@
"main": "index.js",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"scripts": {
"e2e": "jest",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"repository": {
"type": "git",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -7,7 +7,7 @@
"main": "index.js",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"scripts": {
"changelog": "composer install && composer exec -- changelogger"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -5,7 +5,7 @@
"main": "index.js",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"repository": {
"type": "git",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -11,7 +11,7 @@
],
"engines": {
"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",
"repository": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -10,7 +10,7 @@
],
"engines": {
"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",
"repository": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -11,7 +11,7 @@
],
"engines": {
"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",
"repository": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -11,7 +11,7 @@
],
"engines": {
"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",
"repository": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -10,7 +10,7 @@
],
"engines": {
"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",
"repository": {

View File

@ -10,7 +10,7 @@
"license": "GPL-3.0+",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"main": "build/index.js",
"module": "build-module/index.js",

View File

@ -12,7 +12,7 @@
],
"engines": {
"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",
"bugs": {

View File

@ -10,7 +10,7 @@
"license": "GPL-3.0+",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"main": "build/index.js",
"module": "build-module/index.js",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-2.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-2.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -12,7 +12,7 @@
],
"engines": {
"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",
"repository": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -5,7 +5,7 @@
"main": "index.js",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"repository": {
"type": "git",

View File

@ -10,7 +10,7 @@
],
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"bin": {
"e2e-builds": "./build.js"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-2.0-or-later",
"engines": {
"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",
"repository": {

View File

@ -6,7 +6,7 @@
"license": "GPL-2.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-2.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -6,7 +6,7 @@
"license": "GPL-3.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"keywords": [
"wordpress",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -82,7 +82,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"lint-staged": {
"*.php": [

View File

@ -234,7 +234,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"wireit": {
"build:project:bundle": {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -89,7 +89,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"lint-staged": {
"*.php": [

View File

@ -272,7 +272,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -169,7 +169,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"browserslist": [
"> 0.1%",

View File

@ -39,6 +39,6 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
}
}

View File

@ -19,6 +19,6 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
}
}

View File

@ -14,7 +14,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"devDependencies": {
"wireit": "0.14.1"

View File

@ -63,7 +63,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"types": "dist/index.d.ts"
}

View File

@ -167,10 +167,7 @@ export default class TransferIssues extends Command {
continue;
}
this.resetProjectFields(
authenticatedGraphQL,
issue
);
this.resetProjectFields( authenticatedGraphQL, issue );
this.addLabelsToIssue(
authenticatedGraphQL,
@ -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.
// 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 } >(
`
query ($nodeID: ID!) {
@ -749,7 +747,11 @@ export default class TransferIssues extends Command {
for ( const project of node.projectItems.nodes ) {
if ( project.project.id !== projectField.projectId ) {
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 ) {
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 ) +
'"!'
);
}
}

View File

@ -54,6 +54,6 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
}
}

View File

@ -58,7 +58,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"types": "dist/index.d.ts"
}

View File

@ -11,7 +11,7 @@
"license": "GPL-2.0-or-later",
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"devDependencies": {
"@tsconfig/node16": "^1.0.4",

View File

@ -19,7 +19,7 @@
},
"engines": {
"node": "^16.14.1",
"pnpm": "^8.6.7"
"pnpm": "^8.12.1"
},
"bugs": {
"url": "https://github.com/woocommerce/woocommerce/issues"