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

Q: Yarn 2 (Berry) fiasco #2809

Closed
leonkosak opened this issue Feb 11, 2020 · 7 comments
Closed

Q: Yarn 2 (Berry) fiasco #2809

leonkosak opened this issue Feb 11, 2020 · 7 comments
Labels

Comments

@leonkosak
Copy link
Contributor

Besides huge braking change (PnP), Yarn 1.x will be archived in a year or two.
https://dev.to/arcanis/introducing-yarn-2-4eh1

image

Video on Yarn 2 topic: https://www.youtube.com/watch?v=bPae4Z8BFt8

For Angular GUI project - what will you do? NPM did a huge step forward since you were "forced" to use Yarn (lockfile, major speed improvements,...).

@hikalkan
Copy link
Member

Thanks @leonkosak for sharing this.
We will check & discuss it again in the next weeks. We will also see the trend of the community.

@leonkosak
Copy link
Contributor Author

@hikalkan, when this will be actual, consider Deno. Maybe when Yarn v1.22.4 will become EOL, Deno will be stable and feature-rich enough.

@hikalkan
Copy link
Member

We were internally discussing to stop suggesting the yarn and turn back to the npm by default.

@armanozak can you briefly write your thought on that?

@armanozak
Copy link
Contributor

Hi @leonkosak,

We believe, Yarn 2 is a completely different package manager and we are not planning to use it. We are waiting for npm v7 release to leave Yarn behind and are hoping this will be the smoothest transition.

I know what Deno is, but cannot see how it is related. Could you please elaborate on that?

@leonkosak
Copy link
Contributor Author

Moving away from node runtime (and "ecosystem").
But I agree, npm v7 is currently much better option for quicker migration.

@merceyz
Copy link

merceyz commented Oct 10, 2020

Besides huge braking change (PnP)

Yarn 2 supports node_modules even better than Yarn 1 did, the breaking change was switching the default from node_modules to PnP. You can easily switch back using yarn config set nodeLinker node-modules

@MichelZ
Copy link
Contributor

MichelZ commented Jun 7, 2022

With NPM7 now being GA for more than a Year, what's the current stance on this issue? @hikalkan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants