Function: resolveProjectRoots()
resolveProjectRoots(
cwd?):Generator<string>
Yield candidate project-root directories for cwd, in priority order: the
npm prefix, the git top-level, then cwd itself. Duplicates are skipped;
only existing directories are yielded (except the final cwd fallback).
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Generator<string>