bun-package-manager

Manage Bun package installation, lockfile, and workspace topology in a monorepo.

1|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/matthewharwood/dean-stack --skill bun-package-manager-matthewharwood
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-package-manager
Source: https://github.com/matthewharwood/dean-stack/tree/main/.claude/skills/bun-package-manager
Command: npx skills add https://github.com/matthewharwood/dean-stack --skill bun-package-manager-matthewharwood

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bun-based package management and workspace orchestration for the dean-stack monorepo, streamlining dependency installation, lockfile maintenance, and workspace alignment.

Core Features & Use Cases

  • Manages bun install/bun add/bun remove workflows across apps and packages.
  • Maintains the Bun lockfile (bun.lock) and enforces workspace topology via workspaces globs.
  • Handles overrides and packageManager pinning to ensure deterministic, repeatable builds.

Quick Start

Run bun install at the repo root to synchronize all dependencies and lockfile state across the monorepo.

Frequently Asked Questions about bun-package-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage dependencies in a Bun monorepo workspace?

To manage dependencies in a Bun monorepo workspace, run bun install at the repository root to synchronize dependencies and lockfile state across all workspace apps and packages.

What is the best way to ensure deterministic builds with Bun in CI?

Ensuring deterministic builds with Bun requires maintaining the bun.lock lockfile, pinning the packageManager field, and applying bun overrides to control exact dependency versions across your monorepo.

How do I add or remove packages across apps and packages in a Bun workspace?

You can add or remove packages across Bun workspace apps by using the bun add and bun remove commands, which automatically update the workspace topology and the bun.lock lockfile.

Can I override specific package versions in a Bun workspace?

Yes, you can override specific package versions in a Bun workspace by configuring bun overrides, which enforces consistent dependency versions and ensures repeatable builds throughout the monorepo.

Why do I need to pin the packageManager field for my Bun monorepo?

Pinning the packageManager field for your Bun monorepo guarantees that CI environments and local development use the exact same Bun version, preventing lockfile drift and ensuring deterministic installations.

What is the purpose of the bun.lock lockfile in workspace orchestration?

The bun.lock lockfile records exact dependency resolutions for workspace orchestration, ensuring that all apps and packages in the monorepo share synchronized and repeatable dependency states during installation.