LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lerna

manages JavaScript monorepos

TLDR

Initialize monorepo
$ lerna init
copy
Bootstrap packages
$ lerna bootstrap
copy
Run script in all packages
$ lerna run [build]
copy
Run in specific package
$ lerna run [build] --scope=[package-name]
copy
Publish packages
$ lerna publish
copy
List packages
$ lerna list
copy
Version packages
$ lerna version
copy

SYNOPSIS

lerna command [options]

DESCRIPTION

Lerna manages JavaScript monorepos. It handles multiple packages in a single repository.The tool coordinates versioning and publishing. It links local dependencies and runs scripts across packages.

PARAMETERS

init

Initialize monorepo.
bootstrap
Install dependencies.
run SCRIPT
Run npm script.
publish
Publish packages.
version
Bump versions.
list
List packages.
--scope PKG
Target specific package.
--help
Display help information.

INSTALL

brew install lerna
copy
nix profile install nixpkgs#lerna
copy

CAVEATS

Consider npm/yarn workspaces. Nx for advanced features. Node.js required.

HISTORY

Lerna was created by Sebastian McKenzie (Babel author) for managing monorepos, now maintained by Nx.

SEE ALSO

npm(1), yarn(1), nx(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid