lerna
A tool for managing JavaScript projects with multiple packages. More information: https://lerna.js.org.
-
Initialize project files (
lerna.json,package.json,.git, etc.):
lerna init -
Install all external dependencies of each package and symlink together local dependencies:
lerna bootstrap -
Run a specific script for every package that contains it in its
package.json:
lerna run {{script}} -
Execute an arbitrary shell command in every package:
lerna exec -- {{ls}} -
Publish all packages that have changed since the last release:
lerna publish
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.