use-bun-pm

1.0.1 • Public • Published

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

  1. Install the package as a dev-dependency with bun add -D use-bun-pm;
  2. Add use-bun-pm as a preinstall script in your package.json file;
  3. 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i use-bun-pm

Weekly Downloads

0

Version

1.0.1

License

none

Unpacked Size

1.46 kB

Total Files

3

Last publish

Collaborators

  • miccarr