Skip to content

Commit 78ec6ef

Browse files
josephperrottthePunderWoman
authored andcommitted
build: move dependencies on npm package of dev-infra to workspace dependency (#62083)
Move from relying on the @npm// dependencies to aspect node modules where possible PR Close #62083
1 parent 16ed7f5 commit 78ec6ef

File tree

9 files changed

+4
-14
lines changed

9 files changed

+4
-14
lines changed

devtools/projects/demo-no-zone/src/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ filegroup(
3838
srcs = [
3939
":index.html",
4040
":styles.css",
41-
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
4241
],
4342
)
4443

devtools/projects/demo-no-zone/src/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<body>
1111
<app-root></app-root>
1212

13-
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
1413
<script type="module" src="./bundle/main.js"></script>
1514
</body>
1615
</html>

devtools/projects/demo-standalone/src/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,15 @@ filegroup(
7575
":browser_specific_styles",
7676
":demo_styles",
7777
":index.html",
78+
"//:node_modules/zone.js",
7879
"//devtools/projects/demo-standalone/src/assets",
79-
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
8080
],
8181
)
8282

8383
pkg_web(
8484
name = "devapp",
8585
srcs = [":dev_app_static_files"] + [
8686
":bundle",
87-
"@npm//:node_modules/tslib/tslib.js",
8887
],
8988
)
9089

devtools/projects/demo-standalone/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<app-root></app-root>
1919
</div>
2020

21-
<script src="./npm/node_modules/zone.js/bundles/zone.umd.min.js"></script>
21+
<script src="./node_modules/zone.js/bundles/zone.umd.min.js"></script>
2222
<script type="module" src="./bundle/main.js"></script>
2323
</body>
2424
</html>

devtools/projects/protocol/BUILD.bazel

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ ts_project(
2020
interop_deps = [
2121
"//packages/core",
2222
],
23-
deps = [
24-
"@npm//@types",
25-
],
2623
)
2724

2825
ts_test_library(
@@ -35,7 +32,6 @@ ts_test_library(
3532
],
3633
deps = [
3734
":protocol_rjs",
38-
"@npm//@types",
3935
],
4036
)
4137

devtools/projects/shell-browser/src/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ filegroup(
109109
":browser_specific_styles",
110110
":index.html",
111111
":shell_common_styles",
112-
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
112+
"//:node_modules/zone.js",
113113
],
114114
)
115115

devtools/projects/shell-browser/src/app/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ ts_project(
6969
"//devtools/projects/ng-devtools-backend/src/lib/ng-debug-api",
7070
"//devtools/projects/protocol",
7171
"//devtools/projects/protocol:protocol_rjs",
72-
"@npm//@types",
7372
],
7473
)
7574

devtools/projects/shell-browser/src/environments/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ ts_project(
99
],
1010
deps = [
1111
"//devtools/projects/ng-devtools",
12-
"@npm//@types",
1312
],
1413
)

devtools/src/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ pkg_web(
8686
name = "devapp",
8787
srcs = [":dev_app_static_files"] + [
8888
":bundle",
89-
"@npm//:node_modules/tslib/tslib.js",
90-
"@npm//:node_modules/zone.js/bundles/zone.umd.min.js",
89+
"//:node_modules/zone.js",
9190
],
9291
)
9392

0 commit comments

Comments
 (0)