Skip to content

Commit 9230031

Browse files
committed
cleanup(build): some bazel related cleanup
- Ensures that `bazel build ...` succeeds - Removed unused dep in e2e-app - Updates rules_sass
1 parent 03fb711 commit 9230031

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.bazelignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
node_modules
2+
tools/dashboard/node_modules
3+
tools/dashboard/functions/node_modules

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ http_archive(
1212
# Add sass rules
1313
http_archive(
1414
name = "io_bazel_rules_sass",
15-
sha256 = "f71709f4c2d39e81c9b452e00f22e554b26d7beacaedc5b85d61f771fd01268d",
16-
url = "https://github.com/bazelbuild/rules_sass/archive/1.16.1.zip",
17-
strip_prefix = "rules_sass-1.16.1",
15+
sha256 = "ea79647e5cd36867568d80811a951c7b3170791058f50a5cbd3d542627e78881",
16+
url = "https://github.com/bazelbuild/rules_sass/archive/1.17.3.zip",
17+
strip_prefix = "rules_sass-1.17.3",
1818
)
1919

2020
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")

src/e2e-app/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ ng_module(
1515
"@npm//@angular/platform-browser",
1616
"@npm//@angular/router",
1717
"@npm//@angular/animations",
18-
"@npm//@webcomponents/custom-elements",
1918
"//src/cdk/drag-drop",
2019
"//src/cdk/overlay",
2120
"//src/cdk/scrolling",

tools/highlight-files/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ ts_library(
88
srcs = glob(["**/*.ts"]),
99
deps = [
1010
"@npm//@types/node",
11+
"@npm//highlight.js",
1112
],
1213
tsconfig = ":tsconfig.json",
1314
)
1415

1516
nodejs_binary(
1617
name = "highlight-files",
18+
node_modules = "@npm//:node_modules",
1719
entry_point = "angular_material/tools/highlight-files/highlight-files.js",
1820
data = [
1921
"@npm//highlight.js",

0 commit comments

Comments
 (0)