diff --git a/plugins/woocommerce-admin/package.json b/plugins/woocommerce-admin/package.json index f3a1632ecc5..be9330e0a5b 100644 --- a/plugins/woocommerce-admin/package.json +++ b/plugins/woocommerce-admin/package.json @@ -28,7 +28,7 @@ "lint:css": "stylelint '**/*.scss'", "lint:css-fix": "stylelint '**/*.scss' --fix --ip 'storybook/wordpress'", "lint:js": "eslint ./client --ext=js,ts,tsx", - "lint:js-fix": "pnpm run lint:js -- --fix --ext=js,ts,tsx", + "lint:js-fix": "pnpm run lint:js --fix --ext=js,ts,tsx", "lint:js-packages": "eslint ../../packages/js --ext=js,ts,tsx", "lint:js-pre-commit": "eslint --ext=js,ts,tsx", "prepack": "pnpm install && pnpm run lint && pnpm run test && cross-env WC_ADMIN_PHASE=core pnpm run build", @@ -36,12 +36,12 @@ "packages:watch": "cross-env WC_ADMIN_PHASE=development pnpm run:packages -- start --parallel", "run:packages": "pnpm run --filter ../../packages/js/", "start": "cross-env WC_ADMIN_PHASE=development pnpm -w run build --filter='./packages/js/*' && cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && concurrently \"cross-env WC_ADMIN_PHASE=development webpack --watch\" \"cross-env WC_ADMIN_PHASE=development pnpm packages:watch\"", - "test-staged": "pnpm run test:client -- --bail --findRelatedTests", + "test-staged": "pnpm run test:client --bail --findRelatedTests", "test:client": "jest --config client/jest.config.js", "test:debug": "node --inspect-brk ./node_modules/.bin/jest --config client/jest.config.js --watch --runInBand --no-cache", "test:help": "wp-scripts test-unit-js --help", - "test:update-snapshots": "pnpm run test:client -- --updateSnapshot && pnpm run --filter @woocommerce/components test:update-snapshots", - "test:watch": "pnpm run test:client -- --watch", + "test:update-snapshots": "pnpm run test:client --updateSnapshot && pnpm run --filter @woocommerce/components test:update-snapshots", + "test:watch": "pnpm run test:client --watch", "ts:check": "tsc --build ./tsconfig.json --pretty", "ts:check:watch": "npm run ts:check -- --watch" }, diff --git a/plugins/woocommerce/changelog/fix-pnpm-7-script-dashes b/plugins/woocommerce/changelog/fix-pnpm-7-script-dashes new file mode 100644 index 00000000000..60f47537590 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-pnpm-7-script-dashes @@ -0,0 +1,5 @@ +Significance: patch +Type: dev +Comment: Fix a pnpm script execution error + +