Show HN: Pacwich, Monorepo tooling for Bun/NPM/pnpm (try the browser CLI demo)

https://pacwich.dev
by smorsic • 3 hours ago
1 0 3 hours ago

I develop pacwich, which started as package bun-workspaces before I expanded it to support Node as a runtime and npm and pnpm as package manager backends.

No config is required to use it. It has a CLI and an equivalent TypeScript library API. Docs are tailored for both people and agents.

The main goal of the package is to provide easy-to-integrate tooling directly on top of the native workspaces of Bun/npm/pnpm that can orchestrate package.json scripts directly.

You can also run inline shell commands across workspaces that run via your system shell or optionally the Bun shell (Bun's builtin bash-like cross-platform shell).

Working closely with native package manager features is why config isn't required, but optional config enriches its features. The idea is monorepo tooling that can be used in a lightweight or advanced manner and doesn't try to lock you in.

It has a highly debuggable and configurable affected graph, Nx-like concurrency settings for running package.json scripts in parallel, configurable rules for workspace-to-workspace dependencies, and more.

Related Stories

Loading related stories...

Source preview

pacwich.dev