resolveProjectManagers
resolveProjectManagers(
projectRoot,declaredVerbs,has):Set<string>
Every package manager a project uses: the union of every MARKER_TABLE
marker present at projectRoot, plus the leading-token manager of each
declared verb.
Pure — the caller supplies the existence check, so this is testable without a filesystem and callable from an async context without becoming async.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
projectRoot | string |
declaredVerbs | string[] |
has | (absPath) => boolean |
Returns
Section titled “Returns”Set<string>