diff --git a/src/drift/checkers/command.ts b/src/drift/checkers/command.ts index 04cc1d94..8d445d50 100644 --- a/src/drift/checkers/command.ts +++ b/src/drift/checkers/command.ts @@ -2,6 +2,77 @@ import { readFileSync, existsSync } from "node:fs"; import { resolve } from "node:path"; import type { Claim, DriftIssue } from "../../types.js"; +/** + * First-token verbs that yarn/pnpm treat as their own commands. Bare + * `yarn install` / `pnpm add` must not be looked up as package.json scripts. + * `run` is handled separately so `yarn run