1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-05-24 08:06:17 +08:00
Keen Yee Liau a3b05a0283 build: Use fine-grained node_module deps
This commit updates the BUILD files to specify fine-grained node_module deps
by replacing "@typings" comments with actual @npm node module.

Moved tools/bazel.rc -> .bazelrc

Removed "jasmine" typings from base tsconfig.json

Added @bazel/karma to devDependencies, needed for `ts_web_test`
2018-10-31 20:56:27 -07:00

25 lines
647 B
Python

load("@build_bazel_rules_typescript//:defs.bzl", "ts_library", "ts_proto_library")
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
ts_proto_library(
name = "build_event_stream",
deps = ["//third_party/github.com/bazelbuild/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto"],
)
ts_library(
name = "parse_bep",
srcs = ["parse_bep.ts"],
deps = [
":build_event_stream",
"@npm//@types/node",
"@rxjs",
"@rxjs//operators",
],
)
nodejs_binary(
name = "parse",
entry_point = "angular_devkit/tools/build_event_protocol/parse_bep",
data = [":parse_bep"],
)