build: remove unneeded language-service dependency (#64306)

The `@angular/language-service` package was not needed for integration tests or benchmarks. Removing this dependency simplifies the build configuration.

PR Close #64306
This commit is contained in:
Alan Agius 2025-10-09 06:09:54 +00:00 committed by Andrew Kushnir
parent 22a1001b0f
commit 461eeda6d9
6 changed files with 5 additions and 17 deletions

View file

@ -26,7 +26,6 @@
"@angular-devkit/build-angular": "21.0.0-next.7",
"@angular/cli": "21.0.0-next.7",
"@angular/compiler-cli": "link:./in-existing-linked-by-bazel",
"@angular/language-service": "link:./in-existing-linked-by-bazel",
"@types/jasmine": "^5.0.0",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^20.14.8",

View file

@ -45,9 +45,6 @@ importers:
'@angular/compiler-cli':
specifier: link:./in-existing-linked-by-bazel
version: link:in-existing-linked-by-bazel
'@angular/language-service':
specifier: link:./in-existing-linked-by-bazel
version: link:in-existing-linked-by-bazel
'@types/jasmine':
specifier: ^5.0.0
version: 5.1.9

View file

@ -8,7 +8,6 @@
"@angular/core": "workspace:*",
"@angular/elements": "workspace:*",
"@angular/forms": "workspace:*",
"@angular/language-service": "workspace: *",
"@angular/localize": "workspace: *",
"@angular/platform-browser-dynamic": "workspace:*",
"@angular/platform-browser": "workspace:*",

View file

@ -50,7 +50,7 @@ UNPUBLISHED_PACKAGES = [
ALL_PACKAGES = PUBLISHED_PACKAGES + UNPUBLISHED_PACKAGES
# Packages used by integration tests
INTEGRATION_PACKAGES = _exclude_pkgs(PUBLISHED_PACKAGES, "zone.js", "angular-in-memory-web-api")
INTEGRATION_PACKAGES = _exclude_pkgs(PUBLISHED_PACKAGES, "@angular/language-service", "zone.js", "angular-in-memory-web-api")
# Package names under //packages that have `files_for_docgen` targets
DOCS_ENTRYPOINTS = [

View file

@ -63,8 +63,5 @@ npm_package(
],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__subpackages__",
"//modules/ssr-benchmarks:__subpackages__",
],
visibility = [],
)

View file

@ -833,9 +833,6 @@ importers:
'@angular/forms':
specifier: workspace:*
version: link:../packages/forms
'@angular/language-service':
specifier: 'workspace: *'
version: link:../packages/language-service
'@angular/localize':
specifier: 'workspace: *'
version: link:../packages/localize
@ -1401,7 +1398,7 @@ importers:
devDependencies:
ng-packagr:
specifier: 21.0.0-next.4
version: 21.0.0-next.4(@angular/compiler-cli@21.0.0-next.7(@angular/compiler@21.0.0-next.7)(typescript@5.9.3))(tailwindcss@3.4.18(ts-node@10.9.2(@types/node@20.19.17)(typescript@5.9.3)))(tslib@2.8.1)(typescript@5.9.3)
version: 21.0.0-next.4(@angular/compiler-cli@21.0.0-next.7(@angular/compiler@21.0.0-next.7)(typescript@5.9.3))(tailwindcss@3.4.18(ts-node@10.9.2(@types/node@24.7.0)(typescript@5.9.3)))(tslib@2.8.1)(typescript@5.9.3)
typescript:
specifier: 5.9.3
version: 5.9.3
@ -10641,7 +10638,6 @@ packages:
engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
deprecated: |-
You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
qjobs@1.2.0:
@ -23445,7 +23441,7 @@ snapshots:
netmask@2.0.2: {}
ng-packagr@21.0.0-next.4(@angular/compiler-cli@21.0.0-next.7(@angular/compiler@21.0.0-next.7)(typescript@5.9.3))(tailwindcss@3.4.18(ts-node@10.9.2(@types/node@20.19.17)(typescript@5.9.3)))(tslib@2.8.1)(typescript@5.9.3):
ng-packagr@21.0.0-next.4(@angular/compiler-cli@21.0.0-next.7(@angular/compiler@21.0.0-next.7)(typescript@5.9.3))(tailwindcss@3.4.18(ts-node@10.9.2(@types/node@24.7.0)(typescript@5.9.3)))(tslib@2.8.1)(typescript@5.9.3):
dependencies:
'@ampproject/remapping': 2.3.0
'@angular/compiler-cli': 21.0.0-next.7(@angular/compiler@21.0.0-next.7)(typescript@5.9.3)
@ -23473,7 +23469,7 @@ snapshots:
typescript: 5.9.3
optionalDependencies:
rollup: 4.52.3
tailwindcss: 3.4.18(ts-node@10.9.2(@types/node@20.19.17)(typescript@5.9.3))
tailwindcss: 3.4.18(ts-node@10.9.2(@types/node@24.7.0)(typescript@5.9.3))
ng-packagr@21.0.0-next.4(@angular/compiler-cli@packages+compiler-cli)(tailwindcss@3.4.18(ts-node@10.9.2(@types/node@20.19.17)(typescript@5.9.3)))(tslib@2.8.1)(typescript@5.9.3):
dependencies: