statusboard icon indicating copy to clipboard operation
statusboard copied to clipboard

feat(workspaces): add `--topological-order` flag

Open darcyclarke opened this issue 3 years ago • 4 comments

Summary

npm has enough information to properly run workspace commands in an order that should be ideal for the workspaces.

Exit Criteria

  • [ ] default is false
  • [ ]

Links & References

  • https://github.com/npm/cli/issues/3034#issuecomment-885290017
  • https://github.com/npm/rfcs/issues/548

darcyclarke avatar May 18 '22 18:05 darcyclarke

@darcyclarke Hey i want to fix this problem,can u share me all the preferences to related issue?

Prashant7451 avatar May 30 '22 12:05 Prashant7451

is there a reason not to do --order=topological?

bnb avatar Jun 09 '22 16:06 bnb

Only when you know that the tasks you’re running can be done in any order.

ljharb avatar Jun 09 '22 19:06 ljharb

This should be the default... Currently the build happens out of order even though there are package dependencies between workspace packages.

niemyjski avatar Feb 09 '23 14:02 niemyjski