All apps/Lerna

Lerna

lerna

Tool for managing JavaScript monorepos with multiple packages.

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

Command form

ai-draft · 2 tasks · 12 fields

Run scripts and list packages. Publishing and versioning are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui lerna

lerna run

Run script

Run an npm script in each package that contains it.

Run scriptExample values, fixed in this page — nothing here reaches a terminal
Basic
Script*
string
Scope glob
string
Stream output
--stream
TasksEach one presets the form for one job
Run script
scriptscopestream
ParametersOnly these flags are editable in the form
Script
string · positional 0
Scope glob
string
--scope
Ignore glob
string
--ignore
Concurrency
integer
--concurrency
Stream output
boolean
--stream
Run in parallel
boolean
--parallel
Keep going on failure
boolean
--no-bail

lerna ls

List packages

List local packages.

List packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
JSON
--json
Long
--long
TasksEach one presets the form for one job
List
longjson
ParametersOnly these flags are editable in the form
JSON
boolean
--json
Long
boolean
--long-l
Parseable
boolean
--parseable-p
Topological order
boolean
--toposort
Dependency graph
boolean
--graph
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed lerna against its version. A form that does not match your version is not offered.