Add repository field to galaxy-api-client for npm provenance publish

The npm publish of @galaxyproject/galaxy-api-client fails with E422 because
npm publish --provenance validates that package.json's repository.url matches the
build's provenance source, and api-client had no repository field (galaxy-client does,
which is why it publishes fine). That's why api-client has been stuck at 25.1.0 on npm
while galaxy-client publishes each release. Mirror galaxy-client's repository field,
with a directory for the monorepo subdir.
This commit is contained in:
Dannon Baker
2026-06-06 22:59:21 -04:00
parent 3e9e1ab6f9
commit d893619232
+5
View File
@@ -2,6 +2,11 @@
"name": "@galaxyproject/galaxy-api-client",
"version": "25.0.0-dev.0",
"description": "A client library for the Galaxy API",
"repository": {
"type": "git",
"url": "https://github.com/galaxyproject/galaxy.git",
"directory": "client/packages/api-client"
},
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",