News for hackers. Stuff that matters.
Re:Bun 1.1 by angra_mainyu on Monday April 01, 2024 @11:15PM (#39902033)
Bun's equivalent of "npm i" is extremely fast, at least an order of magnitude faster on all 3 of my machines.

Since I run "npm i" many times per day, that in itself is a big timesaver, not just for local dev but also in CI pipelines.

Re:Bun 1.1 by arcanemachiner on Monday April 01, 2024 @11:36PM (#39902141)
Have you tried pnpm?

https://pnpm.io/

Re:Bun 1.1 by rlt on Monday April 01, 2024 @11:38PM (#39902149)
How does it compare to pnpm
Re:Bun 1.1 by briantakita on Tuesday April 02, 2024 @12:49AM (#39902488)
I found Bun to be faster. Monorepo support is a bit kludgy though. Once you know of the workarounds, it's ok. See my comment on https://github.com/oven-sh/bun/issues/5413#issuecomment-1956...

AFAIK, Pnpm monorepos do not follow standard npm. Bun does follow standard npm monorepos.

Pnpm's feature to override dependency versions is nice for legacy projects with many 3rd party dependencies. Not sure if Bun has the same feature. I mostly use it on greenfield projects with dependencies that I control.