pnpm / pnpm.io

pnpm's website
https://pnpm.io
MIT License
211 stars 475 forks source link

Add `--workspace-concurrency` to `run` docs #515

Open maschwenk opened 5 months ago

maschwenk commented 5 months ago

This has been a point of confusion for me for a while. I almost never use -r and instead use --filter to run my scripts. I've used:

pnpm -F packageA -F packageB -F packageC --workspace-concurrency=1 scriptName

Quite a bit and it works. I've always wondered why --workspace-concurrency was only buried in the recursive docs. The command above I believe is really just syntactic sugar for:

pnpm -F packageA -F packageB -F packageC --workspace-concurrency=1 run scriptName

So I think this is the right place for this to be documented? Or is It more of a global option? I assuming using --filter has nothing to do with recursive mode? It seems like it can be used to have a similar effect but is completely different tool.

stackblitz[bot] commented 5 months ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

vercel[bot] commented 5 months ago

@maschwenk is attempting to deploy a commit to the pnpm Team on Vercel.

A member of the Team first needs to authorize it.