Lerna

lerna.js.org

The original tool for JavaScript monorepos, powered by Nx.

Visit
Lerna screenshot
/ About /

Lerna is an open-source build system and CLI tool for managing and publishing multiple JavaScript/TypeScript packages within a single repository (monorepo). It handles task orchestration with caching and distributed execution via Nx, and automates the publishing of packages to npm with flexible versioning options. Originally created years ago and now stewarded by Nx, it is used by tens of thousands of projects including React and Jest.

/ How it works /

Lerna orchestrates commands across packages in the correct order using Nx's task runner with computation caching, distributed task execution, and automated npm publishing workflows.

/ Who it's for /

JavaScript and TypeScript developers managing multiple packages in a monorepo

/ More info /

Background.

Status
launched
Business model
open-source
Company
Nx (Nrwl)
/ Discovered patterns /

Similar projects.

Coming soonSpektrail’s read on Dev Tools

Editorial take on the space this project sits in — momentum signals, adjacent moves, our call on whether the wedge is real. Get pinged when we publish a new read or when the landscape shifts.

Coming soon

Have a take on this space?

Tell us what you’d build differently, where you think the incumbents miss, or what we’ve gotten wrong about this project. Comments + reactions are coming soon.