astral-sh / ruff-vscode

A Visual Studio Code extension with support for the Ruff linter.
Other
956 stars 45 forks source link

Exclude scripts directory from extension bundle #373

Closed kieran-ryan closed 6 months ago

kieran-ryan commented 6 months ago

Summary

Excludes scripts/ (added in #251) from the extension bundle as it is not required.

Current bundle:

extension/
├─ bundled/
├─ dist/
├─ scripts/
│  ├─ bump_extension_version.sh
│  ├─ bump_lsp_version.sh
│  ├─ bump_ruff_version.sh
├─ CHANGELOG.md
├─ icon.png
├─ LICENSE.txt
├─ package.json
├─ pyproject.toml
├─ README.md

Test Plan

Built the package, installed it manually through ruff.vsix and launched the extension to verify continued functionality.

python -m pip install -t ./bundled/libs --implementation py --no-deps --upgrade -r ./requirements.txt
npm install
npm run vsce-package