Fix borken react admin commands (#33649)
* Fix admin build:packages and test:packages * Add changelog
This commit is contained in:
parent
1daa1c07fe
commit
2e167ca088
|
@ -12,7 +12,7 @@
|
|||
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
|
||||
"build": "node ./node_modules/require-turbo && pnpm run install-if-deps-outdated && pnpm run clean && WC_ADMIN_PHASE=core pnpm run build:packages && WC_ADMIN_PHASE=core pnpm run build:feature-config && cross-env NODE_ENV=production WC_ADMIN_PHASE=core webpack",
|
||||
"build:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
|
||||
"build:packages": "cross-env NODE_ENV=production pnpm run:packages -- build",
|
||||
"build:packages": "cross-env NODE_ENV=production pnpm -w exec turbo run build --filter='./packages/js/*'",
|
||||
"clean": "rimraf ../woocommerce/assets/client/admin/* && pnpm run:packages -- clean --parallel",
|
||||
"client:watch": "cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && cross-env WC_ADMIN_PHASE=development webpack --watch",
|
||||
"create-hook-reference": "node ./bin/hook-reference/index.js",
|
||||
|
@ -47,7 +47,7 @@
|
|||
"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:packages": "pnpm run --filter ../../packages/js/ --filter !api-core-tests test",
|
||||
"test:packages": "pnpm -w exec turbo run test --filter='./packages/js/*'",
|
||||
"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",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
Comment: Fix admin build:packages and test:packages commands
|
||||
|
||||
|
Loading…
Reference in New Issue