📄️ Run Tasks
Monorepos can have hundreds or even thousands of projects, so being able to run npm scripts against all (or some) of
📄️ Cache Task Results
When it comes to running tasks, caching etc., Lerna and Nx can be used interchangeably. When we say "Lerna can cache
📄️ Share Your Cache
The computation cache provided by Lerna can be distributed across multiple machines. You can either build an implementation
📄️ Explore the Project Graph
For Lerna (and Nx) to run tasks quickly and correctly, it creates a graph of the dependencies between all the projects in the repository. Exploring this graph visually can be useful to understand why Lerna is behaving in a certain way and to get a high level view of your code architecture.
📄️ Distribute Task Execution
Lerna speeds up your average CI time with caching and the --since flag. But neither of these features help with the worst case scenario. When something at the core of your repo has been modified and every task needs to be run in CI, the only way to improve the performance is by adding more agent jobs and efficiently parallelizing the tasks.
📄️ Version and Publish
Lerna can increment your package's versions as well as publish your packages to NPM, and it provides a variety of options to make sure any workflow can be accommodated.
📄️ Editor Integrations
Nx Console displays the npm scripts for all your projects in the VS Code sidebar and allows you to run them with a single click or open the script definition in your editor.
📄️ Workspace Watching
Workspace Watching is available as of Lerna 6.4.0.