build: update to rules_nodejs v4.0.0-beta.0 (#42760)

Updates the Bazel NodeJS rules to v4.0.0-beta.0. This is necessary
so that the Angular components repo can update, and it's generally
good to stay as up-to-date as possible with the Bazel rules as it's
easy to fall behind, and updating early allows us to discover issues
affecting our tooling earlier (where they are easier to address due to
e.g. potential breaking change policy).

PR Close #42760
This commit is contained in:
Paul Gschwendtner
2021-07-06 15:45:55 +02:00
committed by Andrew Kushnir
parent 9da68a77e6
commit 762e057e85
38 changed files with 201 additions and 141 deletions
+1 -4
View File
@@ -1,5 +1,4 @@
load("//tools:defaults.bzl", "jasmine_node_test")
load("@npm//@bazel/typescript:index.bzl", "ts_library")
load("//dev-infra:defaults.bzl", "jasmine_node_test", "ts_library")
ts_library(
name = "commit-message",
@@ -7,7 +6,6 @@ ts_library(
["**/*.ts"],
exclude = ["**/*.spec.ts"],
),
module_name = "@angular/dev-infra-private/commit-message",
visibility = ["//dev-infra:__subpackages__"],
deps = [
"//dev-infra/utils",
@@ -41,7 +39,6 @@ ts_library(
jasmine_node_test(
name = "test",
bootstrap = ["//tools/testing:node_no_angular_es5"],
deps = [
":test_lib",
],