diff --git a/.changeset/add-repository-field.md b/.changeset/add-repository-field.md new file mode 100644 index 0000000..7614eab --- /dev/null +++ b/.changeset/add-repository-field.md @@ -0,0 +1,5 @@ +--- +"@deessejs/errors": patch +--- + +Add the missing `repository` field to `packages/errors/package.json`. Trusted publishing with provenance requires `package.json:repository.url` to match the GitHub repo URL from the OIDC token — without it, npm rejects the publish with `E422: Error verifying sigstore provenance bundle: "repository.url" is ""`. diff --git a/packages/errors/package.json b/packages/errors/package.json index c2db56b..c29fcb0 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -3,6 +3,10 @@ "version": "1.1.1", "description": "TypeScript error handling library inspired by Python — function-based API, exception chaining, hierarchical inheritance", "homepage": "https://errors.deessejs.com", + "repository": { + "type": "git", + "url": "https://github.com/deessejs/errors.git" + }, "type": "module", "main": "./dist/index.js", "module": "./dist/index.js",