use-bun-pm
v1.0.1
Published
Force users to use bun as package manager
Downloads
2
Readme
use-bun-pm
Force everyone to use
bun
command as package manager for the project.
If anyone uses npm
, yarn
, pnpm
or any other package manager, it will fail with an invitation to use bun
.
Install
- Install the package as a dev-dependency with
bun add -D use-bun-pm
; - Add
use-bun-pm
as apreinstall
script in yourpackage.json
file; - Add those files in
.gitignore
:
/.pnp
.pnp.js
package-lock.json
.env
Why ?
It's dramatically faster.
More info
Have a look at bun documentation.