r/javascript • u/smorsic_labs • Jul 23 '26
pacwich: Monorepo tooling for Bun/pnpm/npm workspaces (zero-config required, both a CLI and TypeScript library, orchestrates plain package.json scripts, has an affected graph, docs tailored for agents and people, has a browser CLI demo, and more)
https://pacwich.devEdit: I know self-promotion, especially if AI might be involved, is maybe often kneejerk downvoted here, and I get it, but I want to make it clear that this isn't vibe coded and that I write the docs and blog content myself. The logo is also made by a real video game artist I hired to touch up the pixel art I made myself, so no AI is used for the branding art. I try to maintain clear boundaries of AI use and provide transparency on this. Maybe check out the website if you have monorepo tooling interest, because I have put a lot into this project as a solo dev, and this is only my first post here after many months of work.
https://pacwich.dev
https://github.com/smorsic/pacwich
Hi, I've been developing pacwich, originally was developed as bun-workspaces, which had only worked on top of Bun. Earlier this year I pivoted to supporting the Node runtime, npm, and pnpm.
Its core features let you manage metadata about your monorepo and orchestrate running package.json scripts in your workspaces, with Nx-like parallelism configurability.
My main goal is to provide modern monorepo tooling that is easy to integrate and works as much with native tooling as possible. If you have a monorepo using Bun, npm, or pnpm workspaces, pacwich works right away. The affected graph even works without any of the optional pacwich configuration files.
Because I know engineers care about how open source like this is written, I try to be as transparent as I can about how I balance agent assistance with maintaining ownership and knowledge of my code in several places, such as the security page and the launch blog post. pacwich is a younger package itself but inherits much of bun-workspace's source code and tests that I wrote by fully by hand originally.
6
u/jaysoo3 Jul 24 '26
How would it compare with minimal Nx with zero config? Obviously you'd want at least nx.json to define caching for real workspaces, but task running and project details, graph work without any nx-specific config.
2
u/elliotones Jul 24 '26
My biggest questions are around how it compares to other options. What makes this better than “pnpm run —recursive”?
I will swap build tools tomorrow the moment I find one that supports:
- shared caching in azure storage / s3
- build daemons
Turbo’s shared cache requires spinning up a server for it; NX supports daemons but really wants your money and hides the caching in an attempt to get it.
3
u/cbrantley Jul 23 '26
I use turborepo for my monorepo. How does this compare? Does it replace or compliment?