Skip to content

fix: add repository URL to npm package.json files for provenance#679

Merged
morgante merged 1 commit intobiomejs:mainfrom
cogwirrel:fix/npm-repository-url
Mar 30, 2026
Merged

fix: add repository URL to npm package.json files for provenance#679
morgante merged 1 commit intobiomejs:mainfrom
cogwirrel:fix/npm-repository-url

Conversation

@cogwirrel
Copy link
Copy Markdown
Contributor

@cogwirrel cogwirrel commented Mar 30, 2026

Problem

The publish workflow fails with:

E422 - Error verifying sigstore provenance bundle: Failed to validate repository information: 
package.json: "repository.url" is "", expected to match "https://github.com/biomejs/gritql" from provenance

npm's provenance verification requires the repository field in package.json to match the GitHub repository that built the package.

Fix

  1. Add "repository": "https://github.com/biomejs/gritql" to the main js/gritql/package.json and all 12 platform-specific js/gritql/npm/*/package.json files
  2. Bump all package versions from 0.0.2 to 0.0.3 (including optionalDependencies) since the v0.0.2 release tag already exists from the previous failed publish attempt

- Add repository field pointing to https://github.com/biomejs/gritql
  in the main package.json and all platform-specific npm package.json
  files. Required for npm provenance verification.
- Bump all package versions from 0.0.2 to 0.0.3 (including
  optionalDependencies) since v0.0.2 release tag already exists from
  a previous failed publish attempt.
@cogwirrel cogwirrel force-pushed the fix/npm-repository-url branch from fde6450 to f6d1e42 Compare March 30, 2026 04:07
@morgante morgante merged commit dbe8fab into biomejs:main Mar 30, 2026
11 of 17 checks passed
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