Files
galaxy/client/packages/api-client/package.json
T
Dannon Baker d893619232 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.
2026-06-06 22:59:21 -04:00

57 lines
1.2 KiB
JSON

{
"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",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rimraf dist",
"prepublishOnly": "npm run clean && npm run build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"sync-version": "node scripts/sync-version.js"
},
"keywords": [
"galaxy",
"api",
"client"
],
"author": "Galaxy Community",
"license": "MIT",
"dependencies": {
"openapi-fetch": "^0.17.0"
},
"peerDependencies": {
"typescript": ">=4.5.0"
},
"devDependencies": {
"jsdom": "^28.0.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.4.0",
"typescript": "^5.7.3",
"vitest": "^4.0.14"
}
}