11workspace (name = "angular_material" )
22
33# Add nodejs rules
4- git_repository (
4+ http_archive (
55 name = "build_bazel_rules_nodejs" ,
6- remote = "https://github.com/bazelbuild/rules_nodejs.git" ,
7- commit = "0.5.1" ,
6+ url = "https://github.com/bazelbuild/rules_nodejs/archive/0.5.3.zip" ,
7+ strip_prefix = "rules_nodejs-0.5.3" ,
8+ sha256 = "17a5515f59777b00cb25dbc710017a14273f825029b2ec60e0969d28914870be" ,
89)
910
1011# NOTE: this rule installs nodejs, npm, and yarn, but does NOT install
1112# your npm dependencies. You must still run the package manager.
12- load ("@build_bazel_rules_nodejs//:defs.bzl" , "node_repositories" )
13+ load ("@build_bazel_rules_nodejs//:defs.bzl" , "check_bazel_version" , "node_repositories" )
14+
15+ check_bazel_version ("0.9.0" )
1316node_repositories (package_json = ["//:package.json" ])
1417
1518# Add sass rules
@@ -23,10 +26,11 @@ load("@io_bazel_rules_sass//sass:sass.bzl", "sass_repositories")
2326sass_repositories ()
2427
2528# Add TypeScript rules
26- git_repository (
29+ http_archive (
2730 name = "build_bazel_rules_typescript" ,
28- remote = "https://github.com/bazelbuild/rules_typescript.git" ,
29- tag = "0.11.1" ,
31+ url = "https://github.com/bazelbuild/rules_typescript/archive/0.11.1.zip" ,
32+ strip_prefix = "rules_typescript-0.11.1" ,
33+ sha256 = "7406bea7954e1c906f075115dfa176551a881119f6820b126ea1eacb09f34a1a" ,
3034)
3135
3236# Setup TypeScript Bazel workspace
0 commit comments