Use Yarn 3 to manage monorepo installation #5833
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since Lerna is getting slower and slower, and is now almost discontinued, we can try to use Yarn 3 Workspaces instead.
It's way faster on cold install, and extremely fast on warm install. It also seems to handle errors better than npm as it creates a text files about the specific error when something happens (instead of 50 pages of meaningless warnings and errors as is common with npm). Hopefully it can also solve our issues with package-lock files.
TODO