feat(tooling): migrate to a pnpm workspace (#66) - #81
Merged
Conversation
Replaces the three per-package npm lockfiles with a single pnpm workspace (ui, mcp-server, sdk): - pnpm-workspace.yaml + a private root package.json (packageManager: pnpm@9.15.0). - pnpm-lock.yaml; the ui/mcp-server/sdk package-lock.json files are removed. - CI (ci.yml): pnpm/action-setup + `pnpm install --frozen-lockfile` once, then `pnpm -C <pkg> ...` per package (ui lint/test/build, e2e, mcp-server/sdk type-check). node from .nvmrc across all jobs. - desktop-release.yml + tauri.conf beforeDevCommand: pnpm. Validated locally: frozen-lockfile install is in sync, `pnpm -C ui run build`/`lint`/vitest (76) and the mcp-server/sdk type-checks all pass. The PR's Vercel preview is the deploy gate (Vercel detects pnpm from the lockfile); if it needs a dashboard change (root dir / install command) I will call it out before merge. Local Windows `tauri dev`/`build` should be re-tested with pnpm before relying on it there.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces three per-package npm lockfiles with one pnpm workspace (ui · mcp-server · sdk).
What
pnpm-workspace.yaml+ a private rootpackage.json(packageManager: pnpm@9.15.0); singlepnpm-lock.yaml; the threepackage-lock.jsonremoved.ci.yml):pnpm/action-setup+pnpm install --frozen-lockfileonce, thenpnpm -C <pkg> …(ui lint/test/build, e2e, mcp/sdk type-check), node from.nvmrceverywhere.desktop-release.yml+ tauribeforeDevCommand: pnpm.Validated locally
frozen-lockfile in sync;
pnpm -C uibuild + lint + vitest (76 green); mcp-server & sdk type-checks pass.pnpm -C ui run dev+tauri dev/tauri buildon Windows to confirm the desktop flow under pnpm.Do not merge until the Vercel preview is green (or the dashboard is updated).