Skip to content

fix(publish): point repository.url at the renamed repo#123

Merged
wmadden-electric merged 2 commits into
mainfrom
fix/npm-provenance-repo-url
Jul 17, 2026
Merged

fix(publish): point repository.url at the renamed repo#123
wmadden-electric merged 2 commits into
mainfrom
fix/npm-provenance-repo-url

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Every Publish to npm run on main has failed since the repo was renamed prisma/composeprisma/composer — at least five runs today, predating #117. The failure:

npm error 422 … Error verifying sigstore provenance bundle: Failed to validate
repository information: package.json: "repository.url" is
"git+https://github.com/prisma/compose.git", expected to match
"https://github.com/prisma/composer" from provenance

Provenance validation compares repository.url against the repository the workflow actually ran in — strictly, without following GitHub's rename redirect. Both publishable manifests still pointed at the old name; this updates the two URLs and nothing else (byte-targeted replacement, no manifest re-serialization).

Verified locally: pnpm lint exit 0, check-publish-deps exit 0. The publish itself can only be proven by the next main push — this PR merging is that push.

🤖 Generated with Claude Code

Every "Publish to npm" run on main has failed since the repository was
renamed prisma/compose -> prisma/composer: sigstore provenance validation
compares package.json repository.url against the repo the workflow actually
ran in, strictly and without following GitHub redirects, and refuses the
mismatch (npm E422). Both publishable manifests still pointed at the old
name.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@prisma/composer@123
npm i https://pkg.pr.new/@prisma/composer-prisma-cloud@123

commit: 30e0112

@wmadden-electric
wmadden-electric merged commit 485dacf into main Jul 17, 2026
12 checks passed
@wmadden-electric
wmadden-electric deleted the fix/npm-provenance-repo-url branch July 17, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants