From e9cb6b87d83f3ab4ee6e99014691a8f6df8c5719 Mon Sep 17 00:00:00 2001 From: Mickael Kasinski Date: Thu, 16 Jul 2026 17:52:51 +0200 Subject: [PATCH] fix: add repository metadata for npm provenance Trusted publishing (OIDC) generates a provenance statement and npm rejects the publish (E422) unless package.json `repository.url` matches the source repo. The field was missing, so `repository.url` resolved to "" and provenance verification failed. Add repository, homepage and bugs pointing to Qwant/answer-node. Co-Authored-By: Claude Opus 4.8 --- package.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package.json b/package.json index f092f40..6fae580 100644 --- a/package.json +++ b/package.json @@ -56,5 +56,13 @@ "sse", "streaming" ], + "repository": { + "type": "git", + "url": "git+https://github.com/Qwant/answer-node.git" + }, + "homepage": "https://github.com/Qwant/answer-node#readme", + "bugs": { + "url": "https://github.com/Qwant/answer-node/issues" + }, "license": "MIT" }