From 29b5b6d724925b9f99a5206cd4c855846d5397be Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 18 Dec 2024 10:07:04 -0800 Subject: [PATCH 1/2] chore(bazel): point to the new material.angular.io workspace Bazel needs to be told about the nested workspace, to avoid descending into that folder. --- WORKSPACE | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index 654fc25023e8..a5290d672abd 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,6 +4,14 @@ workspace( managed_directories = {"@npm": ["node_modules"]}, ) +# Point to the nested WORKSPACE we merged from https://github.com/angular/material.angular.io +# NB: even though this isn't referenced anywhere, it's required for Bazel to know about the +# nested workspace so that wildcard patterns like //... don't descend into it. +local_repository( + name = "material_angular_io", + path = "./material.angular.io", +) + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Add NodeJS rules From ccc8397b3207fcf892afe286fb60992562dc3b62 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 18 Dec 2024 10:20:12 -0800 Subject: [PATCH 2/2] Update WORKSPACE --- WORKSPACE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index a5290d672abd..4a699eedc643 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,7 +4,7 @@ workspace( managed_directories = {"@npm": ["node_modules"]}, ) -# Point to the nested WORKSPACE we merged from https://github.com/angular/material.angular.io +# Point to the nested WORKSPACE we merged from github.com/angular/material.angular.io # NB: even though this isn't referenced anywhere, it's required for Bazel to know about the # nested workspace so that wildcard patterns like //... don't descend into it. local_repository(