bun-monorepo-workflows
Installation
SKILL.md
Bun monorepo workflows (Cloudflare Workers SaaS kit)
This repo is currently pnpm-based, but Bun can act as the package manager for the monorepo. This skill covers (1) day-to-day Bun equivalents for pnpm workflows and (2) a safe pnpm → Bun migration checklist.
Quick commands (Bun)
- Install all deps:
bun install - CI install (frozen lockfile):
bun ci(equivalent tobun install --frozen-lockfile) - Run a root script:
bun run <script> - Run a workspace script (common patterns):
- By filter:
bun --filter <workspace-name-or-glob> run <script> - By path filter:
bun --filter ./apps/user-application run build
- By filter:
- Add deps:
- Prod:
bun add <pkg> - Dev:
bun add -d <pkg>
- Prod:
- List deps:
bun pm ls(orbun list) - Lockfile / migration utilities:
bun pm migrate