Skip to content

Commit 7b5df48

Browse files
authored
chore: Increase default concurrency for plugin dev (#1270)
The default concurrency value for `lerna` is to use the number of logical cores. In cases where the number of logical cores is < the number of plugins, `npm start:packages` will only build some of the plugins. For example, on my Mac, I have 10 logical cores, and we now have 11 plugins. This resulted in `ui` plugin not being built. This PR increases the default to 20 which gives us some cushion to grow in the number of plugins. ## Testing I have tested this by running `npm start` on my machine which has 10 logical cores. All 11 plugins ran in watch mode. Without the `--concurrency 20` flag, only 10 of them run.
1 parent 37e8a11 commit 7b5df48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"types": "tsc",
1313
"watch:types": "tsc --watch",
1414
"serve:plugins": "vite",
15-
"start:packages": "lerna run start --stream",
15+
"start:packages": "lerna run start --stream --concurrency 20",
1616
"docs": "./tools/run_docker.sh ./docker-compose.docs.yml docs",
1717
"test": "jest --watch --changedSince origin/main",
1818
"test:unit": "jest --config jest.config.unit.cjs",

0 commit comments

Comments
 (0)