Yarn updates - all deps + move to modern yarn #17535
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.
Not sure anyone else is qualified here to do yarn maintenance work and eventually has to get done, so here it is
we were using yarn v1 and they are on v4+ now, so let's adopt the new style...
if it works in CI it'll work
the major change in the new style is that you can use "plug-n-play" (read as: no
node_modules
folder) if you like and it's way faster, but is also not backwards compatible. But you don't have to. And the backwards-compatible "don't have to think about it" way to migrate is just to keep the linker-style as node_modules, so we do that hereIn that sense - it is a major but also very easy upgrade. I've done it in lots of repos now without issue
https://yarnpkg.com/migration/guide