From 877392fa3c4a092b82d4a92f5d875b247eda0290 Mon Sep 17 00:00:00 2001 From: Kieran Ryan Date: Sat, 23 Dec 2023 22:06:16 +0000 Subject: [PATCH] Exclude scripts directory from extension bundle (#373) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Excludes `scripts/` (added in [#251](https://github.com/astral-sh/ruff-vscode/pull/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 ``` --- .vscodeignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.vscodeignore b/.vscodeignore index 6c3e7f3..f59cf1e 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -20,6 +20,7 @@ justfile requirements-dev.txt requirements.txt +scripts/ src/ tests/ tsconfig.json