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.

/use-bun-pm/

    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