Skip to content

Fix VS Code extension npm build workflow#356

Merged
imDarshanGK merged 7 commits into
imDarshanGK:mainfrom
Divv1524:fix/issue-319-vscode-extension-build
May 30, 2026
Merged

Fix VS Code extension npm build workflow#356
imDarshanGK merged 7 commits into
imDarshanGK:mainfrom
Divv1524:fix/issue-319-vscode-extension-build

Conversation

@Divv1524
Copy link
Copy Markdown
Contributor

Description

Fixes the VS Code extension build workflow so contributors can use the standard npm flow.

This PR:

  • Adds compile and watch scripts to vscode-extension/package.json.
  • Adds required local dev dependencies: typescript, @types/node, and @types/vscode.
  • Adds package-lock.json for reproducible extension installs.
  • Documents the standalone extension build command in vscode-extension/README.md.
  • Adds a regression test to verify the extension package keeps a valid compile workflow and emits the expected ./extension.js entrypoint.

Related Issue

Fixes #319

Type of change

  • Bug fix
  • New feature / enhancement
  • Documentation update
  • Test addition
  • Refactor

Checklist

  • I have read CONTRIBUTING.md
  • My branch is up to date with main
  • I have run pytest -v and all tests pass
  • I have not introduced duplicate issues or features
  • My PR title follows the format: feat/fix/docs/test: short description
  • I have added tests for new features (Level 2 and 3 issues)
  • No hardcoded secrets or API keys in my code
  • This PR is linked to a GSSoC 2026 issue

Screenshots (if frontend change)

Not applicable. This PR only updates the VS Code extension build workflow, docs, and tests.

Test evidence

npm.cmd ci --cache .npm-cache

added 4 packages, and audited 5 packages

found 0 vulnerabilities

npm.cmd run compile

> qyverixai-vscode@0.1.0 compile

> tsc -p ./

..venv\Scripts\python.exe -B -m pytest backend\tests\test_vscode_extension_package.py -q

. [100%]

1 passed in 0.07s

..venv\Scripts\python.exe -B -m pytest backend\tests -q

........................................................................ [ 81%]

................ [100%]

88 passed in 3.97s

..venv\Scripts\python.exe -B -m ruff check backend\tests\test_vscode_extension_package.py

All checks passed!

git diff --check

Passed with only Windows CRLF warnings.

@Divv1524 Divv1524 requested a review from imDarshanGK as a code owner May 26, 2026 10:34
@imDarshanGK
Copy link
Copy Markdown
Owner

@Divv1524
update your branch with the latest main changes

@Divv1524
Copy link
Copy Markdown
Contributor Author

update your branch with the latest main changes

Done, I've updated my branch with the latest changes from main.

@imDarshanGK
Copy link
Copy Markdown
Owner

@Divv1524 update the branch with the latest main changes

@imDarshanGK
Copy link
Copy Markdown
Owner

@Divv1524 update the branch with the latest main changes

@imDarshanGK imDarshanGK added type:bug Something is not working good first issue Beginner friendly tasks type:devops CI/CD, deployment, and DevOps related changes gssoc2026 Official GSSoC 2026 issue level:beginner Beginner friendly labels May 30, 2026
@imDarshanGK imDarshanGK merged commit adbed25 into imDarshanGK:main May 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Beginner friendly tasks gssoc:approved gssoc2026 Official GSSoC 2026 issue level:beginner Beginner friendly type:bug Something is not working type:devops CI/CD, deployment, and DevOps related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] VS Code extension cannot be built with standard npm workflow

2 participants