← All projects

Lerna

The original tool for JavaScript monorepos, powered by Nx.

Dev Toolsmonorepojavascripttypescriptbuild-systempackage-publishingnxopen-source
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.

Problem

Managing, building, and publishing multiple JavaScript/TypeScript packages from a single repository is complex and slow without proper tooling.

For

JavaScript and TypeScript developers managing multiple packages in a monorepo

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.

Business model

open-source

Status

launched

Company

Nx (Nrwl)

Similar projects