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

Do we need yarn v4? #962

Open
rin-st opened this issue Oct 10, 2024 · 0 comments · May be fixed by #961
Open

Do we need yarn v4? #962

rin-st opened this issue Oct 10, 2024 · 0 comments · May be fixed by #961
Labels
discussion Further information is discussed

Comments

@rin-st
Copy link
Member

rin-st commented Oct 10, 2024

Why did I start to think about it? Some people use v4 although we’re configured v3 in our projects. So when using v4 yarn.lock changes and use last versions of packages, not the ones we have in our yarn.lock and things might break. Examples, challenge 0 telegram, challenge1 telegram. But that cases are very rare


Yarn v4 overview: https://yarnpkg.com/blog/release/4.0

Pros

  • better performance? For me it's not true. yarn install after the fresh clone repo are the same - for yarn v3 (21s 416ms), and v4 (21s 570ms)
  • integration of ts and upgrade-interactive plugins by default
  • better ui
  • last version of yarn, hence yarn team works mostly with it
  • some day we will need to migrate anyway

Cons


To be honest, I'm tending not to change it for now, maybe 60% v3 and 40% v4. But I'd love to know your thoughts on this @carletex @technophile-04

Draft pr to test v4 if you want #961

@rin-st rin-st linked a pull request Oct 10, 2024 that will close this issue
@rin-st rin-st added the discussion Further information is discussed label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Further information is discussed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant