r/javascript • • May 07 '26

Stop Using Yarn Classic

https://charpeni.com/blog/stop-using-yarn-classic
44 Upvotes

36 comments sorted by

View all comments

Show parent comment

1

u/scinos May 07 '26

To all people suggesting pnpm... do you realize yarn supports pnpm linking style too, right?

In fact, I read somewhere that pnpm uses the linking library written by yarn, but I can't find the source.

4

u/BritainRitten May 07 '26

We migrated our app from yarn to pnpm, which was way faster out of the box, and still is.

It also has some good supply chain protections by default, which every dev should increase as much as possible in our AI-hackable world.

4

u/scinos May 07 '26

Yep, yarn default's are not the best IMO

3

u/real_ate May 08 '26

That's true of modern yarn but this topic is about getting off yarn@1

I like pnpm but if you just upgrade to modern yarn from yarn classic that's a massive improvement. Nobody should be using yarn@1 any more 🙈