Skip to content

NODE_LOCKFILE_MANAGERS

const NODE_LOCKFILE_MANAGERS: ReadonlyArray<{ files: readonly string[]; manager: NodeManager; }>

Ordered node lockfile → manager mapping, the single source of truth for these literals. Precedence is first match: bun beats pnpm beats yarn beats npm, for a repo that has drifted into holding more than one lockfile.