-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Contribution
- I'd be willing to implement this feature (contributing guide)
Describe the user story
I currently use npm-run-all2 in many of my packages to run all dev: prefixed scripts, for example, in parallel. I also use npm-run-all2 to run all test: prefixed scripts sequentially.
I can use pnpm run "/<regex>/" to replace the dev: prefixed call, running them in parallel, but I cannot replace the test: prefixed call as pnpm run "/<regex>/" does not allow for sequential running.
Describe the solution you'd like
pnpm run already has a --parallel flag for other situations, so I'd love to see the opposite, a --sequential flag added for this situation.
Describe the drawbacks of your solution
I suppose there is a risk that there isn't a particular guaranteed order for this, but I would assume by default it'll just run in whatever order the scripts are in in package.json, only running those matching the regex pattern.
Describe alternatives you've considered
No response