News for hackers. Stuff that matters.
Re:Yarn 4.0 by animuchan on Monday October 23, 2023 @11:36AM (#37987234)
Fully supporting the anecdata, different projects at my current company use all of the package managers — npm, yarn 1.x, pnpm, bun — except for yarn 2+

In personal projects I heavily gravitate towards bun as a package manager now, it's npm drop-in replacement but faster (and typing `bun run` is just so cute compared to `npm run`).

Re:Yarn 4.0 by hardcopy on Monday October 23, 2023 @11:54AM (#37987500)
I'd love to use Bun for my projects, but it's not integrated into Corepack yet (and therefore you cannot pin the bun version w/ checksum in package.json)

https://github.com/nodejs/corepack/issues/295

Re:Yarn 4.0 by willsmith72 on Monday October 23, 2023 @12:06PM (#37987662)
yes bun as a package manager is great. I wouldn't advise anyone to run a production app with its runtime though. "drop-in replacement" for node was a lie with how many bugs and how much unimplemented stuff there is
Re:Yarn 4.0 by dimgl on Monday October 23, 2023 @12:18PM (#37987837)
I've been chatting with Jarred and it's obvious they care and want to make it better. But yes, the "1.0" release and claims like this hurt the sentiment for Bun. Hope it gets better, it's a seriously impressive (but monumental) undertaking.
Re:Yarn 4.0 by willsmith72 on Monday October 23, 2023 @12:25PM (#37987942)
totally agree. I'm rooting for them