Nx Conf - 2022 - Keynote - Nx and Lerna: Integrated vs Package-Based Monorepos

Опубликовано: 01 Октябрь 2024
на канале: Nx - Smart Monorepos - Fast CI
5,391
59

Presenter: Victor Savkin

The JS community has two main styles of monorepos: the “package-based” approach (popularized by Lerna) and the “integrated” style (popularized by Nx, used by Google, Facebook etc.). While one is lightweight and easy to adopt, the other gives much more flexibility, scales better, and provides better dev ergonomics but requires a mind shift. In this talk, we’ll have a deeper look at how Lerna and Nx implement these approaches, the trade-offs, and the advantages; we will help you pick the right one and show how to migrate from one to the other.