build: update to latest bazel rules (#21821)

PR Close #21821
This commit is contained in:
Alex Eagle 2018-01-26 18:10:45 -08:00 committed by Misko Hevery
parent 5778bb820a
commit a1cc02f0bd
5 changed files with 9 additions and 8 deletions

View File

@ -24,9 +24,7 @@ filegroup(
"typescript", "typescript",
"zone.js", "zone.js",
"tsutils", "tsutils",
"@types/jasmine", "@types",
"@types/node",
"@types/source-map",
"tsickle", "tsickle",
"hammerjs", "hammerjs",
"protobufjs", "protobufjs",

View File

@ -5,7 +5,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository( git_repository(
name = "build_bazel_rules_nodejs", name = "build_bazel_rules_nodejs",
remote = "https://github.com/bazelbuild/rules_nodejs.git", remote = "https://github.com/bazelbuild/rules_nodejs.git",
tag = "0.3.1", commit = "230d39a391226f51c03448f91eb61370e2e58c42",
) )
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories") load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories")
@ -16,7 +16,7 @@ node_repositories(package_json = ["//:package.json"])
git_repository( git_repository(
name = "build_bazel_rules_typescript", name = "build_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git", remote = "https://github.com/bazelbuild/rules_typescript.git",
commit = "c4ea003acd7d42269b81a2d25eb832972cd24912" commit = "eb3244363e1cb265c84e723b347926f28c29aa35"
) )
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace") load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")

View File

@ -5,7 +5,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository( git_repository(
name = "build_bazel_rules_nodejs", name = "build_bazel_rules_nodejs",
remote = "https://github.com/bazelbuild/rules_nodejs.git", remote = "https://github.com/bazelbuild/rules_nodejs.git",
tag = "0.3.1", commit = "230d39a391226f51c03448f91eb61370e2e58c42",
) )
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories") load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories")
@ -14,7 +14,7 @@ node_repositories(package_json = ["//:package.json"])
git_repository( git_repository(
name = "build_bazel_rules_typescript", name = "build_bazel_rules_typescript",
remote = "https://github.com/bazelbuild/rules_typescript.git", remote = "https://github.com/bazelbuild/rules_typescript.git",
commit = "c4ea003acd7d42269b81a2d25eb832972cd24912" commit = "eb3244363e1cb265c84e723b347926f28c29aa35"
) )
load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace") load("@build_bazel_rules_typescript//:defs.bzl", "ts_setup_workspace")

View File

@ -27,7 +27,7 @@ nodejs_binary(
"@build_bazel_rules_typescript//internal:worker_protocol.proto", "@build_bazel_rules_typescript//internal:worker_protocol.proto",
], ],
entry_point = "angular/packages/bazel/src/ngc-wrapped/index.js", entry_point = "angular/packages/bazel/src/ngc-wrapped/index.js",
node_modules = "@build_bazel_rules_typescript_deps//:node_modules", node_modules = "@build_bazel_rules_typescript_tsc_wrapped_deps//:node_modules",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )

View File

@ -7,4 +7,7 @@ ts_library(
testonly = 1, testonly = 1,
srcs = glob(["**/*.ts"]), srcs = glob(["**/*.ts"]),
module_name = "@angular/service-worker/testing", module_name = "@angular/service-worker/testing",
deps = [
"@rxjs",
],
) )