In this post and video I’ll compare two dev tools for working with monorepos: Lerna and Nx.

Lerna offers several great affordances for developing multiple projects in the same repo, and it’s used by many open source projects. Nx is developed by former Googlers and provides a richer monorepo-based developer experience. Nx has a lot more in common with the tools you find at companies like Google, Uber, and Twitter.

In addition to comparing Lerna and Nx, I’ll show how to migrate your repository from Lerna to Nx.

#javascript

Migrating from Lerna to Nx: Better Dev Ergonomics + Much Faster Build Times
1.95 GEEK