ls
List packages in your monorepo.
When scoped to the entire repository, output includes package manager, package count, and all package names and directories.
When scoped to one or more packages, output includes package name, directory, internal dependencies, and all tasks.
Flags
--affected
Automatically filter to only packages that are affected by changes on the current branch.
By default the changes considered are those between main and HEAD.
- You can override
mainas the default base by settingTURBO_SCM_BASE. - You can override
HEADas the default head by settingTURBO_SCM_HEAD.
--output <format> Experimental
Format to output the results. json or pretty (default)