Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] npm workspaces --parallel #3923

Closed
Eomm opened this issue Oct 21, 2021 · 3 comments
Closed

[Feature] npm workspaces --parallel #3923

Eomm opened this issue Oct 21, 2021 · 3 comments

Comments

@Eomm
Copy link
Contributor

Eomm commented Oct 21, 2021

There are some scripts on a monorepo that can run in parallel to speed up the command execution.

It would be useful to integrate the --parallel flag as implemented in lerna.

example:

npm run lint --parallel --workspaces

runs the echo script for each project workspace.

The result would be:

  • successful if all the commands are completed successfully
  • or fail if once returns an error
@ljharb
Copy link
Contributor

ljharb commented Oct 21, 2021

(This should be discussed in the rfcs repo instead of here)

There’s a lot of complexity around this, including how to interleave and/or prefix output.

@EvanCarroll
Copy link

Agreed. But that's a good idea to flesh out @Eomm Perhaps we could close this?

@Eomm
Copy link
Contributor Author

Eomm commented Oct 21, 2021

Yes,
I found this issue on that repo: npm/rfcs#190 that fits a bit

I will continue the discussion there

Thanks

@Eomm Eomm closed this as completed Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants