How I Structured a TypeScript Monorepo with pnpm Workspaces
When spectr-ai started as a single package, everything lived in one directory: the CLI engine, the web frontend, shared types, and configuration. It worked fine until it did not. The engine needed its own publish cycle. The web app had different build tooling. Shared types were copy-pasted between files. It was time for a monorepo. This is the practical guide I wish I had. No theory — just the steps, the config files, and the problems I hit along the way. Why pnpm Workspaces I chose pnpm over np
Comment
Sign in to join the discussion.
Loading comments…