build: upgrade to rules_nodejs 1.0.0 (first stable release) (#34736)
Brings in the fix for stamping which was preventing many targets from getting cached. PR Close #34736
This commit is contained in:

committed by
Matias Niemelä

parent
fb7a6ce586
commit
c8ba576021
@ -1,4 +1,4 @@
|
||||
load("//tools:defaults.bzl", "ng_module", "ng_package", "npm_package")
|
||||
load("//tools:defaults.bzl", "ng_module", "ng_package", "pkg_npm")
|
||||
|
||||
package(default_visibility = ["//packages/bazel/test:__subpackages__"])
|
||||
|
||||
@ -26,7 +26,7 @@ ng_package(
|
||||
],
|
||||
entry_point = ":index.ts",
|
||||
entry_point_name = "waffels",
|
||||
packages = [
|
||||
nested_packages = [
|
||||
":arbitrary_npm_package",
|
||||
],
|
||||
deps = [
|
||||
@ -52,7 +52,7 @@ genrule(
|
||||
output_to_bindir = True,
|
||||
)
|
||||
|
||||
npm_package(
|
||||
pkg_npm(
|
||||
name = "arbitrary_npm_package",
|
||||
srcs = [":arbitrary-npm-package-main.js"],
|
||||
)
|
||||
|
Reference in New Issue
Block a user