scan
Re-detect a monorepo's workspaces and add to the config the ones that appeared since init.
Usage
navori scan [--yes] [--cwd <dir>]
Flags
--yes Accept the suggested preset for every new workspace without prompting. --cwd <dir> Directory to scan (default: current). Examples
A repo that declares no monorepo
$ navori scan
└ navori.config.json does not declare 'monorepo'. Add { monorepo: { enabled: true, tool: '...' } } to the config and run scan again. Notes
- It is incremental: it only adds workspaces the config does not list yet, and never touches the ones already there.
- It needs monorepo.enabled in the config. 'navori init --scan-monorepo' is what sets that up from the start.