Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/schemas/json/pnpm-workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,11 @@
"description": "When set to true, installation will fail if the workspace has cycles.",
"type": "boolean"
},
"workspaceConcurrency": {
"description": "Set the maximum number of tasks to run simultaneously. For unlimited concurrency use Infinity. You can set the value to <= 0 and it will use amount of CPU cores of the host minus the absolute value of the provided number as: max(1, (number of cores) - abs(workspaceConcurrency)).",
"type": "number",
"default": 4
},
"failIfNoMatch": {
"type": "boolean",
"description": "If true, pnpm will fail if no packages match the filter",
Expand Down
3 changes: 3 additions & 0 deletions src/test/pnpm-workspace/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ saveExact: true

# https://pnpm.io/cli/install#--prefer-offline
preferOffline: true

# https://pnpm.io/cli/run#--workspace-concurrency
workspaceConcurrency: 5