Lerna Monorepo Tool
lerna.js.org
1
Leaving SiteNav
External Link Disclaimer
You are about to visit lerna.js.org. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Lerna is a fast build system and tool for managing JavaScript and TypeScript monorepos, originally created in 2015 and now maintained by the Nx team at Narwhal Technologies. The tool enables teams to develop multiple packages within a single repository, sharing code, establishing clear ownership, and running unified CI pipelines. Thousands of teams worldwide rely on it, including the maintainers of Create React App, Jest, Strapi, NestJS, WebdriverIO, and Nx itself. Key capabilities include never rebuilding the same code twice through local task caching, distributed computation caching that can be shared between developers and CI machines to dramatically reduce build times, and task pipeline configuration that specifies how different npm scripts depend on each other for correct execution ordering. The tool runs commands with maximum parallelization while respecting dependency constraints and supports distributed execution across multiple machines for infinite horizontal scaling. A powerful interactive workspace visualizer helps developers understand the architecture and dependency graph of their monorepo through an interactive web UI. The dynamic CLI ensures developers only see relevant output when running commands across many projects. Package publishing supports both fixed and independent versioning strategies, with automated changelog generation and GitHub release creation. The tool requires minimal configuration, integrates seamlessly with existing npm scripts, and is released under the MIT license. Installation is as simple as running npx lerna init, and it works alongside or integrates with Nx for advanced monorepo capabilities.
Tags & Categories
Categories
Tags
Statistics
1
Views
0
Clicks
0
Like
0
Dislike