Prompt Buddy logoPrompt Buddy

bun · Bun Docs

Bun Workspaces

Explains how to manage monorepos using Bun workspaces to link multiple packages within a single repository.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Bun Workspaces

Explains how to manage monorepos using Bun workspaces to link multiple packages within a single repository.

When To Use

Use when configuring a monorepo structure to manage multiple interdependent packages with a single lockfile and shared dependencies using Bun.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/bun-workspaces-workflow-guide.mdDocumentation covering core commands, publishing, analysis, and workspace management for Bun workspaces.Questions about documentation covering core commands, publishing, analysis, and workspace management for Bun workspaces.
examples/bun-workspaces-monorepo-directory-structure.textA text representation of a monorepo directory structure demonstrating how Bun Workspaces organizes multiple packages and configuration files.Exact payloads, commands, or snippets shown in A text representation of a monorepo directory structure demonstrating how Bun Workspaces organizes multiple packages...
examples/bun-workspaces-package-json-configuration.textA package.json configuration demonstrating the workspaces field and workspace protocol dependencies for a Bun monorepo.Exact payloads, commands, or snippets shown in A package.json configuration demonstrating the workspaces field and workspace protocol dependencies for a Bun monorepo.
examples/bun-workspaces-package-json-configuration-2.textA package.json file demonstrating the workspaces field configuration including inclusion and exclusion patterns.Exact payloads, commands, or snippets shown in A package.json file demonstrating the workspaces field configuration including inclusion and exclusion patterns.
examples/bun-workspaces-package-json-configuration-3.textA package.json configuration demonstrating the workspace protocol for linking local packages.Exact payloads, commands, or snippets shown in A package.json configuration demonstrating the workspace protocol for linking local packages.
examples/bun-workspaces-install-filter-command.textA command line example demonstrating how to use the bun install filter flag to include specific workspace patterns while excluding others.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the bun install filter flag to include specific workspace patterns wh...
examples/bun-workspaces-dependency-version-syntax.textA text file demonstrating the syntax for specifying workspace dependency versions using wildcard, caret, and tilde patterns.Exact payloads, commands, or snippets shown in A text file demonstrating the syntax for specifying workspace dependency versions using wildcard, caret, and tilde pa...
examples/bun-workspaces-version-resolution.textAn example demonstrating how Bun resolves workspace protocol versions to specific version numbers.Exact payloads, commands, or snippets shown in An example demonstrating how Bun resolves workspace protocol versions to specific version numbers.

What This Skill Covers

    • Workspaces - Bun Skip to main content Bun home page Search... ⌘ K Install Bun Search... Navigation Workspace Management Workspaces RuntimePackage ManagerBu...
  • Main sections: Core Commands, Publishing & Analysis, Workspace Management, Advanced Configuration, Documentation Index.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://bun.sh/docs/pm/workspaces