From f947b1f2848edb82b671215563c24061e163f66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tetsuaki=20Hamano=20/=20=E6=B5=9C=E9=87=8E=20=E5=93=B2?= =?UTF-8?q?=E6=98=8E?= Date: Fri, 25 Mar 2022 01:47:50 +0000 Subject: [PATCH 1/2] fix npm scripts'changelog' --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6148eede09687..5520b91ea22ac 100755 --- a/package.json +++ b/package.json @@ -243,7 +243,7 @@ "build:package-types": "node ./bin/packages/validate-typescript-version.js && tsc --build", "build:plugin-zip": "./bin/build-plugin-zip.sh", "build": "npm run build:packages && wp-scripts build", - "changelog": "./bin/plugin/cli.js changelog", + "changelog": "node ./bin/plugin/cli.js changelog", "check-licenses": "concurrently \"wp-scripts check-licenses --prod --gpl2 --ignore=@react-native-community/cli,@react-native-community/cli-platform-ios\" \"wp-scripts check-licenses --dev\"", "precheck-local-changes": "npm run docs:build", "check-local-changes": "( git diff -U0 | xargs -0 node bin/process-git-diff ) || ( echo \"There are local uncommitted changes after one or both of 'npm install' or 'npm run docs:build'!\" && git diff --exit-code && exit 1 );", From a5f4a400958c1e5c3bbc0154de70178f4a8ce1f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tetsuaki=20Hamano=20/=20=E6=B5=9C=E9=87=8E=20=E5=93=B2?= =?UTF-8?q?=E6=98=8E?= Date: Fri, 25 Mar 2022 03:26:47 +0000 Subject: [PATCH 2/2] fix npm scripts 'build:plugin-zip' 'test-unit:date' 'test:create-block' --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5520b91ea22ac..3e7c67389e605 100755 --- a/package.json +++ b/package.json @@ -241,7 +241,7 @@ "prebuild:packages": "npm run clean:packages && lerna run build", "build:packages": "npm run build:package-types && node ./bin/packages/build.js", "build:package-types": "node ./bin/packages/validate-typescript-version.js && tsc --build", - "build:plugin-zip": "./bin/build-plugin-zip.sh", + "build:plugin-zip": "bash ./bin/build-plugin-zip.sh", "build": "npm run build:packages && wp-scripts build", "changelog": "node ./bin/plugin/cli.js changelog", "check-licenses": "concurrently \"wp-scripts check-licenses --prod --gpl2 --ignore=@react-native-community/cli,@react-native-community/cli-platform-ios\" \"wp-scripts check-licenses --dev\"", @@ -276,7 +276,7 @@ "publish:patch": "lerna publish patch --no-private --dist-tag patch", "publish:latest": "lerna publish --no-private", "test": "npm run lint && npm run test-unit", - "test:create-block": "./bin/test-create-block.sh", + "test:create-block": "bash ./bin/test-create-block.sh", "test-e2e": "wp-scripts test-e2e --config packages/e2e-tests/jest.config.js", "test-e2e:playwright": "playwright test --config test/e2e/playwright.config.ts", "test-e2e:debug": "wp-scripts --inspect-brk test-e2e --config packages/e2e-tests/jest.config.js --puppeteer-devtools", @@ -285,7 +285,7 @@ "test-php": "npm run lint-php && npm run test-unit-php", "test-php:watch": "wp-env run composer run-script test:watch", "test-unit": "wp-scripts test-unit-js --config test/unit/jest.config.js", - "test-unit:date": "./bin/unit-test-date.sh", + "test-unit:date": "bash ./bin/unit-test-date.sh", "test-unit:debug": "wp-scripts --inspect-brk test-unit-js --runInBand --no-cache --verbose --config test/unit/jest.config.js ", "test-unit:update": "npm run test-unit -- --updateSnapshot", "test-unit:watch": "npm run test-unit -- --watch",