List Command

Supports all Melos filtering flags.

List information about the local packages.

melos list

--long (-l)

Show extended/verbose information. Defaults to false.

melos list --long
melos list -l

--relative (-r)

When printing output, use package paths relative to the root of the workspace. Defaults to false (or full paths).

melos list --relative
melos list -r

--parsable (-p)

Show parsable output instead of columnified view. Defaults to false.

melos list --parsable
melos list -p

--json

Show information as a JSON array. Defaults to false.

melos list --json

--graph

Show dependency graph as a JSON-formatted adjacency list. Defaults to false.

--gviz

Show dependency graph in Graphviz DOT language. Defaults to false.

melos list --gviz

--cycles

Find cycles in package dependencies in the workspace.

melos list --cycles