Sunday, December 19, 2021

monorepos: Nx, Turborepo, Lerna

Monorepos - How the Pros Scale Huge Software Projects // Turborepo vs Nx

Nx: more features, written in TypeScript

Turborepo: simpler to start, written in Go Founder @turborepo (acquired by @vercel)

also created formik turbo-and-nx

Nx and Yarn workspaces are complementary, so it makes sense to use both in some situations. Turborepo is a subset of Nx (at this point), so we don’t think it makes sense to use both.

  • Nx has a rich, interactive visualiser (watch a video here)
  • Turborepo has a basic graphviz image export.


No comments: