build: remove @types/diff (#61448)

The latest diff package includes the TS types.

PR Close #61448
This commit is contained in:
Alan Agius
2025-05-17 12:56:33 +00:00
committed by Jessica Janiuk
parent 34eb15d93c
commit 74be701d82
7 changed files with 5 additions and 25 deletions
@@ -2,10 +2,10 @@
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-1406867100
package.json=128382086
package.json=-792142842
packages/compiler-cli/package.json=571832290
packages/compiler/package.json=-426903429
pnpm-lock.yaml=963555093
pnpm-lock.yaml=2105051610
pnpm-workspace.yaml=353334404
tools/bazel/rules_angular_store/package.json=-239561259
yarn.lock=1125175999
yarn.lock=-1294600523
@@ -15,7 +15,6 @@ ts_project(
],
deps = [
"//:node_modules/@bazel/runfiles",
"//:node_modules/@types/diff",
"//:node_modules/@types/jsdom",
"//:node_modules/@types/node",
"//:node_modules/diff",
-1
View File
@@ -81,7 +81,6 @@
"@types/bluebird": "^3.5.27",
"@types/chrome": "^0.0.322",
"@types/convert-source-map": "^2.0.0",
"@types/diff": "^7.0.0",
"@types/dom-navigation": "^1.0.5",
"@types/hammerjs": "2.0.46",
"@types/jasmine": "^5.0.0",
+1 -3
View File
@@ -68,7 +68,7 @@ ts_library(
deps = [
"//packages:types",
"@npm//@bazel/runfiles",
"@npm//@types/diff",
"@npm//diff",
],
)
@@ -85,7 +85,6 @@ jasmine_node_test(
# file is based on non-ivy output and therefore won't work for ngc and Ivy at the same time.
# TODO: Update test to rely on Ivy partial compilation after View Engine's removal, update the
# golden files as appropriate for the change in compilation.
deps = ["@npm//diff"],
)
nodejs_binary(
@@ -97,7 +96,6 @@ nodejs_binary(
":example_spec_lib",
"//packages/bazel/test/ng_package/example:npm_package",
"//packages/bazel/test/ng_package/example-with-ts-library:npm_package",
"@npm//diff",
],
entry_point = ":example_package.spec.ts",
templated_args = ["--accept"],
@@ -23,7 +23,6 @@ ts_project(
],
visibility = [":users"],
deps = [
"//:node_modules/@types/diff",
"//:node_modules/@types/jasmine",
"//:node_modules/chalk",
"//:node_modules/diff",
-7
View File
@@ -110,9 +110,6 @@ importers:
'@types/convert-source-map':
specifier: ^2.0.0
version: 2.0.3
'@types/diff':
specifier: ^7.0.0
version: 7.0.2
'@types/dom-navigation':
specifier: ^1.0.5
version: 1.0.5
@@ -5696,10 +5693,6 @@ packages:
'@types/d3-zoom': 3.0.8
dev: true
/@types/diff@7.0.2:
resolution: {integrity: sha512-JSWRMozjFKsGlEjiiKajUjIJVKuKdE3oVy2DNtK+fUo8q82nhFZ2CPQwicAIkXrofahDXrWJ7mjelvZphMS98Q==, tarball: https://registry.npmjs.org/@types/diff/-/diff-7.0.2.tgz}
dev: false
/@types/dom-navigation@1.0.5:
resolution: {integrity: sha512-aM1Mr488jX62+6b9zdEtPHFnI7ILgvbII4BaBJMaqhhbDBupJJJ8+nXFVyQT1ptujOUAg6Sojkjk3j6rU73Bwg==, tarball: https://registry.npmjs.org/@types/dom-navigation/-/dom-navigation-1.0.5.tgz}
dev: false
+1 -9
View File
@@ -320,7 +320,6 @@
"@angular/build-tooling@https://github.com/angular/dev-infra-private-build-tooling-builds.git#5db176c0f3211663830fd3ff4064c1dff0eaccb4":
version "0.0.0-d44be7e28087c3499d70dda9859d51c1cd3fe1bf"
uid "5db176c0f3211663830fd3ff4064c1dff0eaccb4"
resolved "https://github.com/angular/dev-infra-private-build-tooling-builds.git#5db176c0f3211663830fd3ff4064c1dff0eaccb4"
dependencies:
"@angular/benchpress" "0.3.0"
@@ -469,7 +468,6 @@
"@angular/ng-dev@https://github.com/angular/dev-infra-private-ng-dev-builds.git#8f3889eedc8b9f55b266f129b9ada4ef1a453fe1":
version "0.0.0-aef915fe9306251b2dc4edd3717ccb5d4fb5c75c"
uid "8f3889eedc8b9f55b266f129b9ada4ef1a453fe1"
resolved "https://github.com/angular/dev-infra-private-ng-dev-builds.git#8f3889eedc8b9f55b266f129b9ada4ef1a453fe1"
dependencies:
"@google-cloud/spanner" "7.21.0"
@@ -4150,11 +4148,6 @@
"@types/d3-transition" "*"
"@types/d3-zoom" "*"
"@types/diff@^7.0.0":
version "7.0.2"
resolved "https://registry.yarnpkg.com/@types/diff/-/diff-7.0.2.tgz#d638edebf3c97aa4962b6f1164a7921ab3de9f83"
integrity sha512-JSWRMozjFKsGlEjiiKajUjIJVKuKdE3oVy2DNtK+fUo8q82nhFZ2CPQwicAIkXrofahDXrWJ7mjelvZphMS98Q==
"@types/dom-navigation@^1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@types/dom-navigation/-/dom-navigation-1.0.5.tgz#5fd6ed014d3ee66b53b0733b6c50994c105b542d"
@@ -7816,8 +7809,7 @@ domhandler@^5.0.2, domhandler@^5.0.3:
domelementtype "^2.3.0"
"domino@https://github.com/angular/domino.git#93e720f143d0296dd2726ffbcf4fc12283363a7b":
version "2.1.6+git"
uid "93e720f143d0296dd2726ffbcf4fc12283363a7b"
version "2.1.6"
resolved "https://github.com/angular/domino.git#93e720f143d0296dd2726ffbcf4fc12283363a7b"
dompurify@^3.2.4: