Skip to content

Commit 0a1e28a

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 b817860 commit 0a1e28a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
6.5.0

WORKSPACE

Lines changed: 0 additions & 4 deletions
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
@@ -102,9 +101,6 @@ yarn_install(
102101
manual_build_file_contents = create_npm_package_archive_build_file(),
103102
package_json = "//:package.json",
104103
quiet = False,
105-
# We prefer to symlink the `node_modules` to only maintain a single install.
106-
# See https://github.com/angular/dev-infra/pull/446#issuecomment-1059820287 for details.
107-
symlink_node_modules = True,
108104
yarn = "//:.yarn/releases/yarn-1.22.17.cjs",
109105
yarn_lock = "//:yarn.lock",
110106
)

0 commit comments

Comments
 (0)