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:

committed by
Alex Rickabaugh

parent
3fecab64b1
commit
06efc340b6
@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user