Repository navigation
fix: exclude dev tooling (.claude/, CLAUDE.md) and non-runtime files from extension package - #4019
Open
Mohit-Gaur75 wants to merge 1 commit into
Open
Mohit-Gaur75 wants to merge 1 commit into
Mohit-Gaur75 wants to merge 1 commit into
Conversation
…extension package - Add .claude/ and CLAUDE.md to .vscodeignore (fixes prettier#4011) - Exclude internal/dev files from package (.devcontainer/, docs/, legacy/, .tool-versions, .vscode-test.mjs, tsconfig.test.json, zuplo.png) - Exclude nested test artifacts and source maps (dist/**/*.map, dist/web/test/)
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.
Summary
Fixes #4011
When packaging the extension for distribution (e.g. via
vsce package), internal developer tooling and non-runtime files were being bundled into the.vsixfile and installed onto user machines:.claude/dev tooling (subagents, settings) andCLAUDE.md(reported in .claude/ dev tooling (settings.json, CLAUDE.md, custom agents) is bundled into the published extension #4011).devcontainer/.tool-versions.vscode-test.mjstsconfig.test.jsondocs/andlegacy/directorieszuplo.png(sponsorship banner)dist/web/test/) and sourcemaps in subdirectories (dist/**/*.map)This change updates
.vscodeignoreso that only runtime files needed by VS Code and the bundled Prettier dependency are packaged into the extension.Changes
.claude/andCLAUDE.mdto.vscodeignore.devcontainer/,docs/,legacy/,.tool-versions,.vscode-test.mjs,tsconfig.test.json, andzuplo.pngto.vscodeignoredist/*.maptodist/**/*.mapand addeddist/web/test/to avoid bundling test artifactsTest plan
npx @vscode/vsce ls: confirmed that.claude/,CLAUDE.md,.devcontainer/,docs/,legacy/,.tool-versions,.vscode-test.mjs,tsconfig.test.json,zuplo.png, anddist/web/test/are no longer included in the package listdist/extension.js,dist/web-extension.cjs,package.json,package.nls*.json,icon.png,README.md,CHANGELOG.md,LICENSE,THIRDPARTY.md,package-json-schema.json, andnode_modules/prettier/**)npm run compilesucceedsnpm run lintpasses with 0 errors