mcpField
B
bun-install

bun-install

github.com/laurigatesDevelopment5960 installsUpdated 1d ago
Repository

About bun-install

A skill that installs dependencies declared in package.json using Bun. It supports development, reproducible CI installs, and production deployments through different install options.

Key features

  1. 01Install package.json dependencies
  2. 02Frozen-lockfile CI installs
  3. 03Production-only installs
  4. 04Post-install checks

Use cases

  1. 01Set up a fresh checkout
  2. 02Restore node_modules
  3. 03Install dependencies in CI
  4. 04Prepare a production deployment

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/laurigates/claude-plugins --skill bun-install

After installing, type/bun-installin Claude Code to confirm it loaded.

Details

From the project README

/bun:install

Install all dependencies from package.json using Bun.

When to Use This Skill

Use this skill when...Use bun-add instead when...
Bootstrapping a fresh checkout from existing package.jsonAdding a new dependency to package.json
Running a CI install with --frozen-lockfileInstalling a single package with version pinning
Preparing a production deployment with --productionUpdating an existing dependency (use bun-lockfile-update)
Restoring node_modules after deletionAuditing what could be upgraded (use bun-outdated)

Context

Package file: `find . -maxdepth 1 -name "package.json" | head -1`
Lock file: `find . -maxdepth 1 -name "bun.lock*" -o -name "bun.lockb" | head -1`

Execution

  1. Check if package.json exists
  2. Run installation with appropriate flags:

Development (default):

bun install

CI/Reproducible builds:

bun install --frozen-lockfile

Production deployment:

bun install --production
  1. Report installed package count and any warnings

Post-install

  • Verify node_modules exists
  • Check for peer dependency warnings
  • Run bun run prepare if it exists (for husky/hooks)

Comments

Markdown supported