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:
@ -26,7 +26,7 @@ ng_package(
|
||||
"//packages/common/upgrade:package.json",
|
||||
],
|
||||
entry_point = ":index.ts",
|
||||
packages = ["//packages/common/locales:package"],
|
||||
nested_packages = ["//packages/common/locales:package"],
|
||||
tags = [
|
||||
"release-with-framework",
|
||||
],
|
||||
|
@ -1,4 +1,4 @@
|
||||
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
||||
load("//tools:defaults.bzl", "pkg_npm", "ts_library")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
@ -10,11 +10,10 @@ ts_library(
|
||||
),
|
||||
)
|
||||
|
||||
npm_package(
|
||||
pkg_npm(
|
||||
name = "package",
|
||||
srcs = glob(["global/*.js"]) + ["package.json"],
|
||||
replacements = {
|
||||
|
||||
substitutions = {
|
||||
# Workaround for `.d.ts`` containing `/// <amd-module .../>`
|
||||
# which are generated in TypeScript v2.9, but not before.
|
||||
"/// <amd-module name=.*/>": "",
|
||||
|
Reference in New Issue
Block a user