Fast PNPM Monorepos
Juri Strumpflohner
Published
PNPM already optimizes for speed and also comes with a built-in system for managing dependencies in a monorepo: PNPM workspaces. They work just fine, until they don’t. Especially if your workspace gets bigger. In this 7 min video we’re going to have a look how to add Nx to speed things up!
Links
- Example repo: https://github.com/juristr/jsnation-pnpm-workspace-nx
- Nx Overview: https://nx.dev/getting-started/why-nx
- Blog post: https://dev.to/nx/setup-a-monorepo-with-pnpm-workspaces-and-speed-it-up-with-nx-1eem
- Package-based monorepos tutorial: https://nx.dev/tutorials/package-based-repo-tutorial
- GitHub: https://github.com/nrwl/nx
- Docs: https://nx.dev