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

Version number for lerna correct topological sort. #467

Merged
merged 1 commit into from Aug 8, 2021

Conversation

nirnaor
Copy link
Collaborator

@nirnaor nirnaor commented Aug 5, 2021

Why?
lerna run build should build the packages in a topological order of dependency graph. It means that dependencies should be built before dependents, for example the playground is dependent on gallery, therefor gallery should be built before playground.
If the version numbers are inconsistent across the packages, Lerna sorting doesn't do it correctly.

I didn't reproduce the problem and this fix is an assumption based on this post

What?
Use the correct version numbers

@nirnaor nirnaor merged commit 732db42 into master Aug 8, 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

Successfully merging this pull request may close these issues.

None yet

1 participant