1
0
Fork 0
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:
Tim van der Meij 2024-07-01 19:32:03 +02:00
parent 7114796430
commit bf5dd7ea10
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762

View file

@ -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",