AI News HubLIVE
站内改写1 min read

Show HN: Pacwich – lightweight new monorepo tooling on top of Bun, NPM, or pnpm

Pacwich is a zero-config monorepo tool that works on top of Bun, npm, and pnpm workspaces. It offers a TypeScript API, a debuggable affected graph, workspace code sharing rules, and AI integrations, aiming to decouple monorepo tooling from the package manager.

SourceHacker News AIAuthor: smorsic

pacwich — Monorepo tooling for Bun, npm, and pnpm workspaces | Documentation

Pacwich

Monorepo tooling that works on top of Bun, npm, and pnpm workspaces.

OverviewGetting Started

Monorepo tooling that works on top of Bun, npm, and pnpm workspaces.

OverviewGetting Started

Zero config required to get started

Orchestrate plain old package.json scripts in workspaces

Includes a TypeScript API

Decouple monorepo tooling from your package manager

A debuggable, configurable affected graph

Enforce rules for workspace code sharing

Write optional config files in JSON or TypeScript/JavaScript

AI integrations: Skills, AGENTS.md, an MCP Server, and /llms.txt

This package is the continuation of the original, now deprecated, bun-workspaces package. bun-workspaces users can expect minimal to no changes on average.

See the migration guide or read the launch blog post covering the reasoning and development strategy.

CLI global install: Your pacwich command will still resolve to a local install when available.

bun add -g pacwich

Local install: Note the pacwich command works in your package.json scripts even without a global install.

Install to your devDependencies

bun add -d pacwich

Call the local install

bunx pacwich

Alt install instructions for .md page in place of above:

Installing:

npm:

Global install: npm install -g pacwich Local install: npm install -D pacwich Local/one-off execution: npx pacwich

pnpm:

Global install: pnpm add -g pacwich Local install: pnpm add -D pacwich Local/one-off execution: pnpm exec pacwich

bun:

Global install: bun add -g pacwich Local install: bun add -d pacwich Local/one-off execution: bunx pacwich

Note that the global install will delegate to the local install when available.

Overview

Getting Started