Updated PNPM to ^8.12.1 (#42860)
This commit is contained in:
parent
d15bfd2398
commit
bf29119032
|
@ -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:
|
||||
|
|
|
@ -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": [
|
||||
"pnpm"
|
||||
],
|
||||
"pinVersion": "^8.6.7",
|
||||
"pinVersion": "^8.12.1",
|
||||
"packages": [
|
||||
"**"
|
||||
]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"homepage": "https://woo.com/",
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"private": true,
|
||||
"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",
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"scripts": {
|
||||
"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",
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
],
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"bin": {
|
||||
"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",
|
||||
"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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.php": [
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"wireit": {
|
||||
"build:project:bundle": {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.php": [
|
||||
|
|
|
@ -272,7 +272,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
Comment: Updated PNPM
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 0.1%",
|
||||
|
|
|
@ -39,6 +39,6 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"wireit": "0.14.1"
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"types": "dist/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -167,10 +167,7 @@ export default class TransferIssues extends Command {
|
|||
continue;
|
||||
}
|
||||
|
||||
this.resetProjectFields(
|
||||
authenticatedGraphQL,
|
||||
issue
|
||||
);
|
||||
this.resetProjectFields( authenticatedGraphQL, issue );
|
||||
|
||||
this.addLabelsToIssue(
|
||||
authenticatedGraphQL,
|
||||
|
@ -657,7 +654,7 @@ export default class TransferIssues extends Command {
|
|||
* Resets the project fields for the issue if necessary.
|
||||
*
|
||||
* @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(
|
||||
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.
|
||||
// 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 ) +
|
||||
'"!'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,6 +54,6 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "^16.14.1",
|
||||
"pnpm": "^8.6.7"
|
||||
"pnpm": "^8.12.1"
|
||||
},
|
||||
"types": "dist/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue