#zero install solution for bun?

1 messages · Page 1 of 1 (latest)

long vortex
#

Does Bun have a zero-install solution? i.e. one where everyone doesn't have to run bun install on a branch change to make sure any dependency changes are in?

checking in node_modules is too heavy on the git side of things. yarn offers a solution to this by putting all dependencies in a single file, which git does well with.

Is there any solution like this for bun?

quartz valley
#

Probably not what you mean, but if you delete node_modules entirely Bun will auto-install your packages on the fly: https://bun.sh/docs/runtime/autoimport

I'm not familiar with that Yarn feature and I can't find anything about it, can you post a link?

Bun

Never use node_modules again. Bun can optionally auto-install your dependencies on the fly.

long vortex