Skip to content

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.

ParameterType
projectRootstring
declaredVerbsstring[]
has(absPath) => boolean

Set<string>