Skip to content

Commit

Permalink
Exclude scripts directory from extension bundle (#373)
Browse files Browse the repository at this point in the history
## Summary

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

Current bundle:

```console
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.

```console
python -m pip install -t ./bundled/libs --implementation py --no-deps --upgrade -r ./requirements.txt
npm install
npm run vsce-package
```
  • Loading branch information
kieran-ryan authored Dec 23, 2023
1 parent 788b781 commit 877392f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
justfile
requirements-dev.txt
requirements.txt
scripts/
src/
tests/
tsconfig.json
Expand Down

0 comments on commit 877392f

Please sign in to comment.