Adopt galaxy-api-client into the client pnpm workspace

Adds client/pnpm-workspace.yaml so that pnpm install from client/
resolves galaxy-api-client as a workspace member. The per-package
client/packages/api-client/pnpm-lock.yaml goes away in favor of the
single client/pnpm-lock.yaml covering the whole workspace.

CI is simplified to a single install step, then workspace-filtered
build/test/publish invocations (pnpm --filter @galaxyproject/galaxy-api-client).

This is the first real workspace member; the packages/* glob is ready
to accept extractions (galaxy-utils, galaxy-ui, galaxy-composables) in
follow-up PRs.
This commit is contained in:
Dannon Baker
2026-04-17 19:13:25 -04:00
committed by mvdbeek
parent 761308bcda
commit 383dc0ce9d
5 changed files with 1551 additions and 2296 deletions
+9 -8
View File
@@ -3,11 +3,15 @@ on:
push:
paths:
- 'client/packages/api-client/**'
- 'client/pnpm-workspace.yaml'
- 'client/pnpm-lock.yaml'
- 'client/src/api/**'
- '.github/workflows/client-api-test.yaml'
pull_request:
paths:
- 'client/packages/api-client/**'
- 'client/pnpm-workspace.yaml'
- 'client/pnpm-lock.yaml'
- 'client/src/api/**'
- '.github/workflows/client-api-test.yaml'
concurrency:
@@ -31,15 +35,12 @@ jobs:
uses: pnpm/action-setup@v5
with:
package_json_file: client/package.json
- name: Install client dependencies
- name: Install workspace dependencies
run: pnpm install --frozen-lockfile
working-directory: client
- name: Install client-api dependencies
run: pnpm install --frozen-lockfile
working-directory: client/packages/api-client
- name: Build client-api
run: pnpm run build
working-directory: client/packages/api-client
run: pnpm --filter @galaxyproject/galaxy-api-client run build
working-directory: client
- name: Run client-api tests
run: pnpm test
working-directory: client/packages/api-client
run: pnpm --filter @galaxyproject/galaxy-api-client test
working-directory: client
+2 -2
View File
@@ -127,8 +127,8 @@ jobs:
run: npm run sync-version
working-directory: 'client/packages/api-client'
- name: build client-api
run: pnpm install && pnpm run build
working-directory: 'client/packages/api-client'
run: pnpm --filter @galaxyproject/galaxy-api-client run build
working-directory: 'client'
- name: publish client-api
if: (github.event_name == 'workflow_dispatch' && inputs.release_type == 'release') || (github.event_name == 'release' && !github.event.release.prerelease)
run: npm publish --provenance --access public
File diff suppressed because it is too large Load Diff
+1538 -522
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -0,0 +1,2 @@
packages:
- "packages/*"