mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Miles Malerba
parent
b49db1644e
commit
90d3b7f834
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user