From fe33f0a4475d14c70d04299d851d29dc17ac634a Mon Sep 17 00:00:00 2001 From: Vladimir Reznichenko Date: Wed, 26 Jun 2024 21:22:44 +0200 Subject: [PATCH] Tooling: limit workers --- plugins/woocommerce/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json index 4e4184160e3..2e77c007566 100644 --- a/plugins/woocommerce/package.json +++ b/plugins/woocommerce/package.json @@ -10,8 +10,8 @@ }, "license": "GPL-3.0+", "scripts": { - "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:pre": "pnpm --if-present --workspace-concurrency=8 --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=8 --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",