@@ -4,8 +4,7 @@ workspace(name = "angular_material_src")
4
4
git_repository (
5
5
name = "build_bazel_rules_nodejs" ,
6
6
remote = "https://github.com/bazelbuild/rules_nodejs.git" ,
7
- # TODO(jelbourn): use the correct tag here.
8
- commit = "31d36ff2acdf630d1e331f38006cf1a5d303d338" ,
7
+ commit = "0.3.1" ,
9
8
)
10
9
11
10
# NOTE: this rule installs nodejs, npm, and yarn, but does NOT install
@@ -17,20 +16,31 @@ node_repositories(package_json = ["//:package.json"])
17
16
git_repository (
18
17
name = "io_bazel_rules_sass" ,
19
18
remote = "https://github.com/bazelbuild/rules_sass.git" ,
20
- tag = "0.0.2 " ,
19
+ tag = "0.0.3 " ,
21
20
)
22
21
23
22
load ("@io_bazel_rules_sass//sass:sass.bzl" , "sass_repositories" )
24
23
sass_repositories ()
25
24
26
25
# Add TypeScript rules
27
- local_repository (
26
+ git_repository (
28
27
name = "build_bazel_rules_typescript" ,
29
- path = "node_modules/@bazel/typescript" ,
28
+ remote = "https://github.com/bazelbuild/rules_typescript.git" ,
29
+ commit = "89d2c75066bea3d9c942f29dd1d2ea543c58d6d5" ,
30
30
)
31
31
32
+ # Setup TypeScript Bazel workspace
33
+ load ("@build_bazel_rules_typescript//:setup.bzl" , "ts_setup_workspace" )
34
+ ts_setup_workspace ()
35
+
32
36
# Add Angular rules
33
37
local_repository (
34
38
name = "angular" ,
35
39
path = "node_modules/@angular/bazel" ,
36
40
)
41
+
42
+ # Add rxjs
43
+ local_repository (
44
+ name = "rxjs" ,
45
+ path = "node_modules/rxjs/src" ,
46
+ )
0 commit comments