All apps/Lerna

Lerna

lerna

Tool for managing JavaScript monorepos with multiple packages.

Runs as lerna|macOS, Linux, Windows|lerna.js.org

Autocomplete

Fig spec, with what the manifest adds · 18 subcommands
Published once and never changed; check the digest before caching
sha256
484f58bad1dcae66637d1b53f0abd60c864be87f6ae816750163b5acaaab6a4a
Size
54643 bytes
Subcommands18 subcommands
lerna init
Create a new lerna repo or upgrade an existing repo to the current version of Lerna
lerna bootstrap
Bootstrap the packages in the current Lerna repo. Installing all their dependencies and linking any cross-dependencies
lerna import
Import the package in the local path <pathToRepo> into packages/<directory-name> with commit history
lerna publish
Create a new release of the packages that have been updated. Prompts for a new version and updates all the packages on git and npm
lerna ls
List local packages
lerna ll
List local packages
lerna la
List local packages
lerna list
List local packages
lerna changed
Check which packages have changed since the last release
lerna run
Run an npm script in each package that contains that script
lerna link
Symlink together all Lerna packages that are dependencies of each other in the current Lerna repo
lerna info
Prints local environment information that proves to be useful especially while submitting bug reports
lerna version
Bump version of packages changed since the last release
lerna diff
Diff all packages or a single package since the last release
lerna exec
Execute an arbitrary command in each package
lerna add
Add a dependency to matched packages
lerna clean
Remove the node_modules directory from all packages
lerna create
Create a new lerna-managed package