Example of minimal published client package -- we dont' want to do it this way

This commit is contained in:
Dannon Baker
2025-05-08 16:59:25 -04:00
parent c107b64672
commit 47f081628c
5 changed files with 54 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"name": "@galaxyproject/client-api",
"version": "1.0.0",
"description": "A client library for the Galaxy API",
"main": "src/index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Galaxy Community",
"license": "MIT",
"dependencies": {
"openapi-fetch": "^0.12.0"
}
}
+29
View File
@@ -0,0 +1,29 @@
lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
dependencies:
openapi-fetch:
specifier: ^0.12.0
version: 0.12.0
packages:
openapi-fetch@0.12.0:
resolution: {integrity: sha512-D/g5BUGiOAKqivR5s02veJ2+cMHzrkFJKberKP4Z8Vl2VhE6MMirI6wWOgpp8wlsYCRRK7CX0NCGVL/mt6l1fA==}
openapi-typescript-helpers@0.0.13:
resolution: {integrity: sha512-z44WK2e7ygW3aUtAtiurfEACohf/Qt9g6BsejmIYgEoY4REHeRzgFJmO3ium0libsuzPc145I+8lE9aiiZrQvQ==}
snapshots:
openapi-fetch@0.12.0:
dependencies:
openapi-typescript-helpers: 0.0.13
openapi-typescript-helpers@0.0.13: {}
+1
View File
@@ -0,0 +1 @@
../../client/src/api
+1
View File
@@ -0,0 +1 @@
../../../client/src/utils/simple-error.ts
+8
View File
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
}
}