@@ -2,12 +2,6 @@ workspace(name = "angular_cli")
22
33DEFAULT_NODE_VERSION = "20.11.1"
44
5- # Workaround for: https://github.com/bazel-contrib/bazel-lib/issues/968.
6- # Override toolchain for tar on windows.
7- register_toolchains (
8- "//tools:windows_tar_system_toolchain" ,
9- )
10-
115load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" , "http_file" )
126
137http_archive (
@@ -145,13 +139,6 @@ aspect_bazel_lib_dependencies()
145139
146140aspect_bazel_lib_register_toolchains ()
147141
148- register_toolchains (
149- "@npm//@angular/build-tooling/bazel/git-toolchain:git_linux_toolchain" ,
150- "@npm//@angular/build-tooling/bazel/git-toolchain:git_macos_x86_toolchain" ,
151- "@npm//@angular/build-tooling/bazel/git-toolchain:git_macos_arm64_toolchain" ,
152- "@npm//@angular/build-tooling/bazel/git-toolchain:git_windows_toolchain" ,
153- )
154-
155142load ("@npm//@angular/build-tooling/bazel/browsers:browser_repositories.bzl" , "browser_repositories" )
156143
157144browser_repositories ()
@@ -205,6 +192,10 @@ npm_translate_lock(
205192 # for `rules_nodejs` dependencies :)
206193 },
207194 pnpm_lock = "//:pnpm-lock.yaml" ,
195+ public_hoist_packages = {
196+ # TODO: Remove when https://github.com/verdaccio/verdaccio/commit/bf0e09a509e8e0a74167b0307d129202bc3f40d2 is available.
197+ "@verdaccio/config" : ["" ],
198+ },
208199 update_pnpm_lock = True ,
209200 verify_node_modules_ignored = "//:.bazelignore" ,
210201 yarn_lock = "//:yarn.lock" ,
@@ -216,8 +207,6 @@ npm_repositories()
216207
217208http_archive (
218209 name = "aspect_rules_ts" ,
219- patch_args = ["-p1" ],
220- patches = ["//tools:rules_ts_windows.patch" ],
221210 sha256 = "4263532b2fb4d16f309d80e3597191a1cb2fb69c19e95d91711bd6b97874705e" ,
222211 strip_prefix = "rules_ts-3.5.0" ,
223212 url = "https://github.com/aspect-build/rules_ts/releases/download/v3.5.0/rules_ts-v3.5.0.tar.gz" ,
@@ -253,7 +242,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
253242
254243git_repository (
255244 name = "devinfra" ,
256- commit = "0ad6a370f70638e785d6ef1f90dc6ede34684a47 " ,
245+ commit = "836bdd0543d15904c469f5a0ce869d30a8029971 " ,
257246 remote = "https://github.com/angular/dev-infra.git" ,
258247)
259248
@@ -264,3 +253,10 @@ setup_dependencies_1()
264253load ("@devinfra//bazel:setup_dependencies_2.bzl" , "setup_dependencies_2" )
265254
266255setup_dependencies_2 ()
256+
257+ register_toolchains (
258+ "@devinfra//bazel/git-toolchain:git_linux_toolchain" ,
259+ "@devinfra//bazel/git-toolchain:git_macos_x86_toolchain" ,
260+ "@devinfra//bazel/git-toolchain:git_macos_arm64_toolchain" ,
261+ "@devinfra//bazel/git-toolchain:git_windows_toolchain" ,
262+ )
0 commit comments