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

Run lifecycle hooks in topological sort order via CLI flag #257

Closed
noahnu opened this issue Feb 25, 2021 · 0 comments · Fixed by #273
Closed

Run lifecycle hooks in topological sort order via CLI flag #257

noahnu opened this issue Feb 25, 2021 · 0 comments · Fixed by #273
Assignees
Labels
enhancement New feature or request

Comments

@noahnu
Copy link
Contributor

noahnu commented Feb 25, 2021

Is your feature request related to a problem? Please describe.

If package A depends on package B, there should be a guarantee that package B is built before package A's prepack is run.

Describe the solution you'd like

A new CLI flag to enable topological sort.

Describe alternatives you've considered

Additional context

Both lerna and yarn workspaces supports topological sort. Yarn has 2 options for this sort, one based on dependencies, and one based on dependencies+devDependencies. We can also support both.

@noahnu noahnu added the enhancement New feature or request label Feb 25, 2021
@noahnu noahnu self-assigned this Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant