You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Currently, the --sequential option is supported. The default execution order is based on the script positions matched in the scripts field, from top to bottom.
Uh oh!
There was an error while loading. Please reload this page.
Contribution
Describe the user story
I currently use
npm-run-all2
in many of my packages to run alldev:
prefixed scripts, for example, in parallel. I also usenpm-run-all2
to run alltest:
prefixed scripts sequentially.I can use
pnpm run "/<regex>/"
to replace thedev:
prefixed call, running them in parallel, but I cannot replace thetest:
prefixed call aspnpm 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
The text was updated successfully, but these errors were encountered: