Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional files and directories to vscodeignore #2570

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

dotNomad
Copy link
Collaborator

This PR adds a few directories and files to the .vscodeignore file which prevents those files being bundled into the extension:

  • A CONTRIBUTING doc
  • A vitest and fantasticon configuration file
  • And the coverage directory in case that ever sneaks in during the CI

To see what files are bundled you can go to the extensions/vscode directory and run: npx vsce ls which will utilize the vscode:prepublish script and show what files are included.

After this PR the list is:

assets/img/posit-publisher.png
assets/walkthroughs/activate-extension.png
assets/walkthroughs/create-new-deployment.png
assets/walkthroughs/deploy.png
assets/walkthroughs/edit-configuration.png
assets/walkthroughs/open-folder.png
assets/walkthroughs/visit-content.png
bin/publisher
CHANGELOG.md
dist/extension.js
dist/extension.js.map
dist/posit-publisher-icons.css
dist/posit-publisher-icons.html
dist/posit-publisher-icons.json
dist/posit-publisher-icons.woff2
LICENSE
package.json
README.md
SUPPORT.md
webviews/homeView/dist/index.css
webviews/homeView/dist/index.html
webviews/homeView/dist/index.js
node_modules/@vscode/codicons/dist/codicon.css
node_modules/@vscode/codicons/dist/codicon.csv
node_modules/@vscode/codicons/dist/codicon.html
node_modules/@vscode/codicons/dist/codicon.svg
node_modules/@vscode/codicons/dist/codicon.ttf
node_modules/@vscode/codicons/dist/codiconsLibrary.ts

Type of Change

    • Bug Fix
    • New Feature
    • Breaking Change
    • Documentation
    • Refactor
    • Tooling

User Impact

The bundle for the extension will be smaller.

Directions for Reviewers

Pull down the VSIX file for this PR, install the extension manually, and ensure it behaves normally.

@dotNomad dotNomad merged commit e8f48b4 into main Jan 30, 2025
13 checks passed
@dotNomad dotNomad deleted the dotnomad/vscode-ignore branch January 30, 2025 19:02
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.

2 participants