build: upgrade to rules_nodejs 1.0.0 (first stable release) (#34589)
Brings in the fix for stamping which was preventing many targets from getting cached. PR Close #34589
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
load("//tools:defaults.bzl", "npm_package")
|
||||
load("//tools:defaults.bzl", "pkg_npm")
|
||||
|
||||
npm_package(
|
||||
pkg_npm(
|
||||
name = "npm_package",
|
||||
srcs = glob(
|
||||
["*"],
|
||||
@ -14,10 +14,10 @@ npm_package(
|
||||
"//packages/bazel/src/schematics:package_assets",
|
||||
"//packages/bazel/third_party/github.com/bazelbuild/bazel/src/main/protobuf:package_assets",
|
||||
],
|
||||
packages = [
|
||||
nested_packages = [
|
||||
"//packages/bazel/docs",
|
||||
],
|
||||
replacements = {
|
||||
substitutions = {
|
||||
"(#|\/\/)\\s+BEGIN-DEV-ONLY[\\w\W]+?(#|\/\/)\\s+END-DEV-ONLY": "",
|
||||
"//packages/bazel/": "//",
|
||||
"angular/packages/bazel/": "npm_angular_bazel/",
|
||||
|
Reference in New Issue
Block a user