build: update to rules_typescript 0.20.1 and rules_nodejs 0.15.0 (#26260) (#26488)

PR Close #26488
This commit is contained in:
Greg Magolan
2018-10-05 07:16:47 -07:00
committed by Igor Minar
parent 1f3331f5e6
commit d698b0eadf
11 changed files with 37 additions and 35 deletions

View File

@ -24,8 +24,8 @@ def rules_angular_dependencies():
_maybe(
http_archive,
name = "build_bazel_rules_typescript",
url = "https://github.com/bazelbuild/rules_typescript/archive/6561f95aa621a6e3d421ab86451167ec84e580fa.zip",
strip_prefix = "rules_typescript-6561f95aa621a6e3d421ab86451167ec84e580fa",
url = "https://github.com/bazelbuild/rules_typescript/archive/0.20.1.zip",
strip_prefix = "rules_typescript-0.20.1",
)
# Needed for Remote Execution

View File

@ -19,8 +19,8 @@ Fulfills similar role as the package.json file.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# This file mirrored from https://raw.githubusercontent.com/bazelbuild/rules_nodejs/0.14.2/package.bzl
VERSION = "0.14.2"
# This file mirrored from https://raw.githubusercontent.com/bazelbuild/rules_nodejs/0.15.0/package.bzl
VERSION = "0.15.0"
def rules_nodejs_dependencies():
"""

View File

@ -20,8 +20,8 @@ against a minimum dependent build_bazel_rules_typescript version.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# This file mirrored from https://raw.githubusercontent.com/bazelbuild/rules_typescript/0.19.1/package.bzl
VERSION = "0.19.1"
# This file mirrored from https://raw.githubusercontent.com/bazelbuild/rules_typescript/0.20.1/package.bzl
VERSION = "0.20.1"
def rules_typescript_dependencies():
"""
@ -35,8 +35,8 @@ def rules_typescript_dependencies():
_maybe(
http_archive,
name = "build_bazel_rules_nodejs",
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/3501f9b6a9a78a01fd1ef9b808f022bfcbb478a0.zip"],
strip_prefix = "rules_nodejs-3501f9b6a9a78a01fd1ef9b808f022bfcbb478a0",
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.15.0.zip"],
strip_prefix = "rules_nodejs-0.15.0",
)
# ts_web_test depends on the web testing rules to provision browsers.

View File

@ -22,4 +22,5 @@ def ng_setup_workspace():
# 0.16.0: minimal version required to work with ng_module
# 0.16.2: bazel type resolution for zone.js types
check_rules_typescript_version("0.16.2")
# 0.20.1: fine grained deps
check_rules_typescript_version("0.20.1")