Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2f4753d

Browse files
josephperrottjkrems
authored andcommitted
build: rename npm2 to npm as rules_nodejs based npm workspace has been removed
1 parent 70a8752 commit 2f4753d

File tree

20 files changed

+21
-21
lines changed

20 files changed

+21
-21
lines changed

‎BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
load("@aspect_rules_ts//ts:defs.bzl", rules_js_tsconfig = "ts_config")
22
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
3-
load("@npm2//:defs.bzl", "npm_link_all_packages")
3+
load("@npm//:defs.bzl", "npm_link_all_packages")
44
load("//tools:defaults.bzl", "copy_to_bin")
55

66
package(default_visibility = ["//visibility:public"])

‎WORKSPACE‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ esbuild_repositories(
130130
load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
131131

132132
npm_translate_lock(
133-
name = "npm2",
133+
name = "npm",
134134
custom_postinstalls = {
135135
# TODO: Standardize browser management for `rules_js`
136136
"webdriver-manager": "node ./bin/webdriver-manager update --standalone false --gecko false --versions.chrome 106.0.5249.21",
@@ -178,7 +178,7 @@ npm_translate_lock(
178178
verify_node_modules_ignored = "//:.bazelignore",
179179
)
180180

181-
load("@npm2//:repositories.bzl", "npm_repositories")
181+
load("@npm//:repositories.bzl", "npm_repositories")
182182

183183
npm_repositories()
184184

‎modules/testing/builder/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm2//:defs.bzl", "npm_link_all_packages")
1+
load("@npm//:defs.bzl", "npm_link_all_packages")
22
load("//tools:defaults.bzl", "jasmine_test", "ts_project")
33

44
package(default_visibility = ["//visibility:public"])

‎packages/angular/build/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@devinfra//bazel/api-golden:index_rjs.bzl", "api_golden_test_npm_package")
2-
load("@npm2//:defs.bzl", "npm_link_all_packages")
2+
load("@npm//:defs.bzl", "npm_link_all_packages")
33
load("//:constants.bzl", "BASELINE_DATE")
44
load("//tools:defaults.bzl", "copy_to_bin", "jasmine_test", "npm_package", "ts_project")
55
load("//tools:ts_json_schema.bzl", "ts_json_schema")

‎packages/angular/cli/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Use of this source code is governed by an MIT-style license that can be
44
# found in the LICENSE file at https://angular.dev/license
55

6-
load("@npm2//:defs.bzl", "npm_link_all_packages")
6+
load("@npm//:defs.bzl", "npm_link_all_packages")
77
load("//tools:defaults.bzl", "jasmine_test", "npm_package", "ts_project")
88
load("//tools:ng_cli_schema_generator.bzl", "cli_json_schema")
99
load("//tools:ts_json_schema.bzl", "ts_json_schema")

‎packages/angular/pwa/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Use of this source code is governed by an MIT-style license that can be
44
# found in the LICENSE file at https://angular.dev/license
55

6-
load("@npm2//:defs.bzl", "npm_link_all_packages")
6+
load("@npm//:defs.bzl", "npm_link_all_packages")
77
load("//tools:defaults.bzl", "jasmine_test", "npm_package", "ts_project")
88
load("//tools:ts_json_schema.bzl", "ts_json_schema")
99

‎packages/angular/ssr/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@devinfra//bazel/api-golden:index_rjs.bzl", "api_golden_test_npm_package")
2-
load("@npm2//:defs.bzl", "npm_link_all_packages")
2+
load("@npm//:defs.bzl", "npm_link_all_packages")
33
load("@rules_pkg//:pkg.bzl", "pkg_tar")
44
load("//tools:defaults.bzl", "ng_package", "ts_project")
55

‎packages/angular/ssr/third_party/beasties/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
load("@aspect_rules_js//js:defs.bzl", "js_library")
2-
load("@npm2//:rollup/package_json.bzl", rollup = "bin")
2+
load("@npm//:rollup/package_json.bzl", rollup = "bin")
33

44
package(default_visibility = ["//visibility:public"])
55

‎packages/angular_devkit/architect/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# found in the LICENSE file at https://angular.dev/license
55

66
load("@devinfra//bazel/api-golden:index_rjs.bzl", "api_golden_test_npm_package")
7-
load("@npm2//:defs.bzl", "npm_link_all_packages")
7+
load("@npm//:defs.bzl", "npm_link_all_packages")
88
load("//tools:defaults.bzl", "jasmine_test", "npm_package", "ts_project")
99
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1010

‎packages/angular_devkit/architect_cli/BUILD.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm2//:defs.bzl", "npm_link_all_packages")
1+
load("@npm//:defs.bzl", "npm_link_all_packages")
22
load("//tools:defaults.bzl", "npm_package", "ts_project")
33

44
# Copyright Google Inc. All Rights Reserved.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /