build(bazel): update to rules_typescript 0.16.0 & update to tagged rules_webtesting 0.2.1 (#25433)

PR Close #25433
This commit is contained in:
Greg Magolan
2018-08-10 13:27:09 -07:00
committed by Ben Lesh
parent a0a29fdd27
commit b5f354f2fb
3 changed files with 16 additions and 12 deletions

View File

@ -6,6 +6,7 @@
"Install toolchain dependencies"
load("@build_bazel_rules_nodejs//:defs.bzl", "yarn_install")
load("@build_bazel_rules_typescript//:defs.bzl", "check_rules_typescript_version")
def ng_setup_workspace():
"""This repository rule should be called from your WORKSPACE file.
@ -18,3 +19,6 @@ def ng_setup_workspace():
package_json = "@angular//packages/bazel/src/ng_package:package.json",
yarn_lock = "@angular//packages/bazel/src/ng_package:yarn.lock",
)
# 0.16.0: minimal version required to work with ng_module
check_rules_typescript_version("0.16.0")