build: update rules_nodejs and clean up bazel warnings (#30370)

Preserve compatibility with rollup_bundle rule.
Add missing npm dependencies, which are now enforced by the strict_deps plugin in tsc_wrapped

PR Close #30370
This commit is contained in:
Alex Eagle
2019-05-09 14:51:51 -07:00
committed by Alex Rickabaugh
parent 3fecab64b1
commit 06efc340b6
30 changed files with 123 additions and 62 deletions

View File

@ -12,6 +12,8 @@ ts_library(
deps = [
"@npm//@types/node",
"@npm//@types/source-map",
"@npm//chalk",
"@npm//source-map",
],
)
@ -21,7 +23,7 @@ ts_library(
srcs = glob(["**/*_spec.ts"]),
deps = [
":size-tracking",
"@npm//@types/source-map",
"@npm//source-map",
],
)

View File

@ -1,9 +1,6 @@
# BEGIN-INTERNAL
load(
"@build_bazel_rules_nodejs//:defs.bzl",
"jasmine_node_test",
"npm_package",
)
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_package")
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
load("@npm_bazel_typescript//:index.bzl", "ts_library")
ts_library(