Skip to content

Commit 3e2a3db

Browse files
committed
build: update to bazel 6
This is necessary for an incremental migration to `rules_js` which requires Bazel v6. Bazel v6 removed the managed directories feature, which means we no longer can rely on symlinked node modules as the Bazel repository; but rather need to duplicate dependencies. This is okay/acceptable to enable the incremental migration.
1 parent 688c430 commit 3e2a3db

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: .bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
6.5.0

Diff for: WORKSPACE

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#Workspace for angular material
22
workspace(
33
name = "angular_material",
4-
managed_directories = {"@npm": ["node_modules"]},
54
)
65

76
# Point to the nested WORKSPACE we merged from github.com/angular/material.angular.io
@@ -103,9 +102,6 @@ yarn_install(
103102
manual_build_file_contents = create_npm_package_archive_build_file(),
104103
package_json = "//:package.json",
105104
quiet = False,
106-
# We prefer to symlink the `node_modules` to only maintain a single install.
107-
# See https://github.com/angular/dev-infra/pull/446#issuecomment-1059820287 for details.
108-
symlink_node_modules = True,
109105
yarn = "//:.yarn/releases/yarn-1.22.17.cjs",
110106
yarn_lock = "//:yarn.lock",
111107
)

0 commit comments

Comments
 (0)