DEV Community

Discussion on: Nx - The fastest growing monorepo solution in the JS ecosystem

Collapse
 
eshimischi profile image
eshimischi

Turbo is lighter, very fast integrating process, no complaints

Thread Thread
 
juristr profile image
Juri Strumpflohner

Nx has two different approaches to monorepos: one using plugins which is usually providing better DX in the long run, but is certainly more involved initially.

The second approach with Nx is the same Lerna originally took (and now also Turbo) which is with local node_modules, separate package.json per package etc. Easier to get started and ideal for incremental adoption, but usually harder to maintain in the long run.
Check out the 1st video I embedded in the post. That shows a setup that is identical if not easier than Turbo, but has some more options in the long-run 😃

But in the end, choose what works best 😃

Thread Thread
 
eshimischi profile image
eshimischi • Edited

Instead of Lerna, chose Pnpm workspaces long ago (So Turbo + Pnpm workspaces work for me)