You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Experiment: integrate shared package as a git submodule (#696)
* Integrate shared package as a git submodule
Replaces the external @vscode/common-python-lsp / vscode-common-python-lsp
dependency with a git submodule at external/vscode-common-python-lsp (pinned
to v0.8.0). npm consumes it via a file: reference, the Python lib is bundled
from the submodule, and the release pipeline now bumps the submodule commit
instead of a version pin.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix CI for git submodule integration
- Build the shared package TypeScript dist via a postinstall hook so the
bundler and type-checker can resolve the file: dependency.
- Regenerate package-lock.json to record the file: link and the submodule
dependency tree.
- Exclude external/ from the extension tsconfig so the submodule sources are
not type-checked against the extension rootDir.
- Check out submodules (recursive) in PR and push CI so the submodule and its
Python library are present for npm and nox.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix VSIX packaging and type-checking for submodule integration
- Exclude external/ from the VSIX (.vscodeignore) since webpack already
bundles the shared package; avoids case-insensitive path collisions from
the submodule node_modules.
- Add skipLibCheck to tsconfig where missing so hoisted submodule devDep
type definitions do not fail the extension type-check.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Checkout submodules in Azure DevOps pipelines
The 1ES/DevDiv checkout template does not initialize submodules, so add an
explicit git submodule update --init --recursive step before npm ci and nox
in the validation, stable, and pre-release pipelines.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Init submodules manually in isort tests job
The tests job checks out into a working directory with spaces and unicode
(the special-working-directory path), which breaks actions/checkout submodule
initialization. Check out without submodules there and run git submodule
update --init --recursive as a separate step instead.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments