mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Fix the repository URL in the package.json
file for pdfjs-dist
For provenance, enabled in PR #18352, to work the repository URL in `package.json` is required to match the repository URL of the GitHub Actions invocation. This should fix the following error we encountered publishing a new release today: ``` npm error 422 Unprocessable Entity - PUT https://registry.npmjs.org/pdfjs-dist - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "git+https://github.com/mozilla/pdfjs-dist.git", expected to match "https://github.com/mozilla/pdf.js" from provenance ```
This commit is contained in:
parent
7114796430
commit
bf5dd7ea10
1 changed files with 1 additions and 1 deletions
|
@ -2226,7 +2226,7 @@ function packageJson() {
|
|||
},
|
||||
repository: {
|
||||
type: "git",
|
||||
url: `git+${DIST_REPO_URL}.git`,
|
||||
url: `git+https://github.com/mozilla/pdf.js.git`,
|
||||
},
|
||||
engines: {
|
||||
node: ">=18",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue