Skip to content

fix: repository.url -> code-forge-io to unblock provenance publish#259

Merged
AlemTuzlak merged 1 commit into
mainfrom
fix/package-repository-url
Jun 1, 2026
Merged

fix: repository.url -> code-forge-io to unblock provenance publish#259
AlemTuzlak merged 1 commit into
mainfrom
fix/package-repository-url

Conversation

@AlemTuzlak
Copy link
Copy Markdown
Contributor

The v6.2.1 publish (via the new OIDC flow in #258) signed provenance successfully but npm rejected it with E422:

Failed to validate repository information: package.json: "repository.url" is
"git+https://github.com/forge-42/react-router-devtools.git", expected to match
"https://github.com/code-forge-io/react-router-devtools" from provenance

OIDC provenance is stamped with the repo's current location (code-forge-io), but the package manifest still pointed at the old forge-42 org. npm requires them to match.

Fix

Update repository.url, bugs.url, and readme from forge-42 -> code-forge-io in both the published package and the root manifest. homepage (forge42.dev docs domain) is intentionally left unchanged — it's not a GitHub URL and isn't part of provenance validation.

Result

6.2.1 is not on npm (the publish was cleanly rejected). Merging this triggers a Release run with no pending changesets -> changeset publish republishes 6.2.1, and provenance now validates.

🤖 Generated with Claude Code

npm rejected the 6.2.1 publish (E422) because the package's
repository.url still referenced the old forge-42 org while OIDC build
provenance is stamped with code-forge-io (the repo's current location):

  Failed to validate repository information: package.json repository.url
  is forge-42/... expected to match code-forge-io/... from provenance

Update repository.url, bugs.url and readme in both the published package
and the root manifest. homepage (forge42.dev docs domain) is left as-is.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 1, 2026

Open in StackBlitz

npm i https://pkg.pr.new/react-router-devtools@259

commit: 62cc8af

@AlemTuzlak AlemTuzlak merged commit 6eab97d into main Jun 1, 2026
7 checks passed
@AlemTuzlak AlemTuzlak deleted the fix/package-repository-url branch June 1, 2026 11:17
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.

1 participant