Lerna reborn — What's new in v6?
Blog post from Nx
Lerna v6 introduces significant updates under the stewardship of Nrwl, the creators of Nx, enhancing the tool's performance and usability in monorepo management. Following its perceived decline in 2022, Lerna has been revitalized with the integration of Nx, enabling default caching capabilities that significantly boost speed, making it 2.5 times faster than Lage and 4 times faster than Turbo, according to benchmarks. The new version includes features such as remote caching, a dynamic terminal output, and a VSCode extension for Lerna workspaces, while also supporting the PNPM package manager. Users can now define task pipelines more efficiently and leverage the new 'Lerna add-caching' command for improved workflow management. The update also addresses backward compatibility, allowing users to continue with traditional Lerna commands despite the integration with Nx, while encouraging smooth migration to the latest version for both individual developers and open-source project maintainers.