Courses / Monorepo Tooling
9. Lerna versioning & publishing
Lerna's role in versioning and publishing packages from a monorepo.
JavaScript
Lerna versioning & publishing
A tool that coordinates version numbers and publishes many related npm packages from a single repository.
"I changed a shared util — now I want only dependent packages to get new versions and be published automatically."
Lerna groups multiple npm packages in a monorepo and automates bumping versions, linking local packages, and publishing only packages that changed (or depend on changes). It can run in fixed/independent versioning modes and integrate with git tags.
"I changed a shared util — now I want only dependent packages to get new versions and be published automatically."
Lerna groups multiple npm packages in a monorepo and automates bumping versions, linking local packages, and publishing only packages that changed (or depend on changes). It can run in fixed/independent versioning modes and integrate with git tags.