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:
Greg Magolan
2019-12-28 16:37:59 -08:00
committed by atscott
parent 4d95c3d39a
commit cb6ffa1211
21 changed files with 78 additions and 79 deletions

View File

@ -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",
],

View File

@ -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=.*/>": "",