In packages/cli/src/update-check.ts, every update instruction names @prisma/cli@latest, and isLikelyGlobalNpmEntrypoint matches only prisma-cli bin paths. A user with a global prisma install gets the docs-link fallback instead of a concrete command, and the command it would give names the wrong package. This became visible after the binary was renamed to prisma.
Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:
|
- **`isLikelyGlobalNpmEntrypoint` (update-check.ts) matches only `prisma-cli` install paths**, so a globally-installed `prisma` gets the docs-link fallback instead of a concrete update command; `selectUpdateInstruction` still names `@prisma/cli`. Newly conspicuous after the CLI_NAME → prisma rename. |
🤖 Generated with Claude Code
In
packages/cli/src/update-check.ts, every update instruction names@prisma/cli@latest, andisLikelyGlobalNpmEntrypointmatches onlyprisma-clibin paths. A user with a globalprismainstall gets the docs-link fallback instead of a concrete command, and the command it would give names the wrong package. This became visible after the binary was renamed toprisma.Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:
prisma-cli/.drive/projects/prisma-cli-v8/deferred.md
Line 502 in 4356b36
🤖 Generated with Claude Code