Tooling: added pre-build steps to solve concurrency issues
This commit is contained in:
parent
6e047b6d3f
commit
24a02bc6a7
|
@ -10,7 +10,8 @@
|
|||
},
|
||||
"license": "GPL-3.0+",
|
||||
"scripts": {
|
||||
"build": "pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name^...\" --parallel build && pnpm --filter=\"$npm_package_name\" build:project",
|
||||
"build:pre": "pnpm --if-present --workspace-concurrency=Infinity --stream --filter @woocommerce/admin-library --filter @woocommerce/block-library --filter @woocommerce/classic-assets --parallel build",
|
||||
"build": "pnpm --filter $npm_package_name build:pre && pnpm --if-present --workspace-concurrency=Infinity --stream --filter=\"$npm_package_name...\" --parallel build:project",
|
||||
"build:project": "pnpm --if-present '/^build:project:.*$/'",
|
||||
"build:project:copy-assets": "wireit",
|
||||
"build:zip": "./bin/build-zip.sh",
|
||||
|
@ -695,7 +696,6 @@
|
|||
"node_modules/@woocommerce/e2e-core-tests/CHANGELOG.md",
|
||||
"node_modules/@woocommerce/api/dist/",
|
||||
"node_modules/@woocommerce/admin-e2e-tests/build",
|
||||
"node_modules/@woocommerce/classic-assets/build",
|
||||
"node_modules/@woocommerce/block-library/build",
|
||||
"node_modules/@woocommerce/block-library/blocks.ini",
|
||||
"node_modules/@woocommerce/admin-library/build",
|
||||
|
|
Loading…
Reference in New Issue