Skip to content

fix(scripts): add --no-dependencies to publish:vsce and use pnpm exec - #72

Merged
phine-apps merged 1 commit into
mainfrom
fix/publish-vsce-script
Aug 11, 2026
Merged

fix(scripts): add --no-dependencies to publish:vsce and use pnpm exec#72
phine-apps merged 1 commit into
mainfrom
fix/publish-vsce-script

Conversation

@phine-apps

Copy link
Copy Markdown
Owner

Summary

  • Fixes publish:vsce script by adding --no-dependencies flag so vsce does not fail on pnpm symlinked node_modules (ELSPROBLEMS error during npm list).
  • Updates package and publish:vsce scripts to explicitly use pnpm exec for consistency with publish:ovsx.

Details

  • Since runtime dependencies are bundled into out/extension.js via esbuild and node_modules/ is excluded in .vscodeignore, bundling node_modules during packaging/publishing is unnecessary.
  • Adding --no-dependencies allows pnpm run publish:vsce to publish successfully in pnpm workspace setups.

Testing

  • Verified pnpm run package completes successfully and produces valid VSIX.
  • Verified pnpm run lint and pnpm run test:unit pass (199 tests).

@phine-apps
phine-apps merged commit 6c5366b into main Aug 11, 2026
1 check passed
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