build: align VSCode extension build with vsce (#64220)

This commit refactors the VSCode extension's build and launch configurations to align with `vsce` and `pnpm` workspaces.

The following changes are included:
- Updated `.vscode/launch.json` to use new `vsce:` prefixed tasks and simplified launch configurations.
- Updated `.vscode/tasks.json` to use `pnpm` workspace commands for watching and packaging the extension.
- Adjusted `BUILD.bazel` and `package.json` files to reflect the new build output paths.

These changes streamline the development workflow for the VSCode extension, making it easier to build, debug, and package.

PR Close #64220
This commit is contained in:
Alan Agius
2025-10-03 08:02:09 +00:00
committed by Miles Malerba
parent b49db1644e
commit 90d3b7f834
6 changed files with 28 additions and 81 deletions
+3 -3
View File
@@ -242,11 +242,11 @@
"onLanguage:html",
"onLanguage:typescript"
],
"main": "./bazel-bin/client/src/extension",
"main": "../dist/bin/vscode-ng-language-service/client/index",
"scripts": {
"build:syntaxes": "bazel run //vscode-ng-language-service/syntaxes:syntaxes",
"watch": "ibazel build //vscode-ng-language-service:index.js //vscode-ng-language-service/server:index.js",
"package": "pnpm bazel build //vscode-ng-language-service:npm --config=release",
"watch": "ibazel build //vscode-ng-language-service/client:index //vscode-ng-language-service/server:index",
"package": "bazel build //vscode-ng-language-service:npm --config=release",
"test": "bazel test --test_tag_filters=unit_test //vscode-ng-language-service/...",
"test:watch": "ibazel test --test_tag_filters=unit_test //vscode-ng-language-service/...",
"test:lsp": "bazel test --test_output=streamed //vscode-ng-language-service/integration/lsp:test",