Skip to content

Exclude .yarn-bootstrap from VSIX - #14877

Merged
Sean McManus (sean-mcmanus) merged 1 commit into
mainfrom
seanmcm/devbox4-wsl/agent143/exclude-yarn-bootstrap-vsix
Nov 19, 2026
Merged

Sean McManus (sean-mcmanus) merged 1 commit into
mainfrom
seanmcm/devbox4-wsl/agent143/exclude-yarn-bootstrap-vsix

Conversation

@sean-mcmanus

Copy link
Copy Markdown
Contributor

Summary

Exclude the development-only Yarn bootstrap directory and its dependencies from the extension VSIX.

Fixes #14854.

Validation

  • VSCE 4.0.0 file listing excludes .yarn-bootstrap while retaining the extension manifest and README.
  • Compared VSIX fixture archives before and after the exclusion, including a nested Yarn dependency and a runtime-file control.
  • Full extension build not run.

This PR was investigated and created by GitHub Copilot (in VS Code). Any message starting with ✨Copilot was sent by Copilot.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the change excluding development-only Yarn bootstrap files from the VSIX.

No open issues 🎉

What changed in this PR

Excludes development-only Yarn bootstrap files from the C/C++ extension’s VSIX, addressing a specific source of unnecessary package contents raised in #14854.

Changes:

  • Adds .yarn-bootstrap/** to the packaging exclusions, covering the directory and its nested dependencies.
  • Leaves runtime code and other packaging rules unchanged.
File Description
Extension/​.vscodeignore Excludes the Yarn bootstrap directory from the VSIX.

Review effort: Balanced

@sean-mcmanus
Sean McManus (sean-mcmanus) marked this pull request as ready for review November 19, 2026 21:14
@sean-mcmanus
Sean McManus (sean-mcmanus) requested a review from a team as a code owner November 19, 2026 21:14
@sean-mcmanus
Sean McManus (sean-mcmanus) merged commit 6b2f4fb into main Nov 19, 2026
7 checks passed
@sean-mcmanus
Sean McManus (sean-mcmanus) deleted the seanmcm/devbox4-wsl/agent143/exclude-yarn-bootstrap-vsix branch November 19, 2026 22:59
@github-project-automation github-project-automation Bot moved this from Pull Request to Done in cpptools Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Packaging runtime dependencies without shipping the entire node_modules directory

3 participants