Skip to content

fix(ci): vsce packaging with pnpm#119

Merged
anjerodev merged 1 commit into
mainfrom
fix/vsce-pnpm-package
Jun 17, 2026
Merged

fix(ci): vsce packaging with pnpm#119
anjerodev merged 1 commit into
mainfrom
fix/vsce-pnpm-package

Conversation

@anjerodev

Copy link
Copy Markdown
Owner

Summary

  • Move bundled runtime deps (@tanstack/ai, @tanstack/ai-ollama, zod) to devDependencies
  • Package and publish with vsce --no-dependencies (runtime code is in out/extension.js)
  • Add vsce.dependencies: false in package.json
  • Tighten .vscodeignore so the VSIX stays small (~200 KB)

Why

Release failed because vsce runs npm list --production, which breaks on pnpm's symlinked node_modules and optional transitive dev deps.

After merge

Run Actions → Release Extension → Run workflow on main to publish v3.0.0.

Test plan

  • pnpm run build
  • pnpm run package succeeds locally
  • Merge and re-run Release Extension workflow

Made with Cursor

Bundle runtime deps into out/extension.js, move them to devDependencies,
and package/publish with --no-dependencies so vsce does not run npm list on
pnpm's node_modules layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
@anjerodev anjerodev merged commit 8a106eb into main Jun 17, 2026
1 check passed
@anjerodev anjerodev deleted the fix/vsce-pnpm-package branch June 17, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant