Skip to content

fix(release): declare package.json's repository field for provenance - #75

Merged
Mearman merged 1 commit into
mainfrom
fix/release-package-repository-field
Sep 11, 2026
Merged

fix(release): declare package.json's repository field for provenance#75
Mearman merged 1 commit into
mainfrom
fix/release-package-repository-field

Conversation

@Mearman

@Mearman Mearman commented Sep 11, 2026

Copy link
Copy Markdown
Member

npm publish rejected the first release that reached this far (34656647499) with a 422: "Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: 'repository.url' is '', expected to match 'https://github.com/ExaDev/wire-mesh' from provenance." Signed provenance (publishConfig.provenance, already set) verifies the published package's repository claim against GitHub's own OIDC-issued attestation, and package.json had no repository field at all for it to check against.

Setting repository.directory to ts/packages/core follows npm's own documented convention for a monorepo package that doesn't live at its repo's root.

npm publish rejected the first release that reached this far with a
422: "Error verifying sigstore provenance bundle: Failed to validate
repository information: package.json: 'repository.url' is '', expected
to match 'https://github.com/ExaDev/wire-mesh' from provenance."
Signed provenance (publishConfig.provenance, already set) verifies the
published package's repository claim against GitHub's own OIDC-issued
attestation, and package.json had no repository field at all for it to
check against. Setting repository.directory to this package's actual
subdirectory follows npm's own documented convention for a monorepo
package that doesn't live at its repo's root.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-11T23:12:38.462120Z ed3d3c9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman

Mearman commented Sep 11, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Mearman
Mearman merged commit ed5d769 into main Sep 11, 2026
8 checks passed
@Mearman
Mearman deleted the fix/release-package-repository-field branch September 11, 2026 23:12
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