@@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
88
99http_archive (
1010 name = "build_bazel_rules_nodejs" ,
11- sha256 = "84abf7ac4234a70924628baa9a73a5a5cbad944c4358cf9abdb4aab29c9a5b77 " ,
12- urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.7.0 /rules_nodejs-1.7.0 .tar.gz" ],
11+ sha256 = "6a67a8a1bf6fddc9113f73471029b819eef4575c3a936a4a01d57e411894d692 " ,
12+ urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.0.2 /rules_nodejs-2.0.2 .tar.gz" ],
1313)
1414
1515# We use protocol buffers for the Build Event Protocol
@@ -37,7 +37,7 @@ Angular has a dependency on the @bazel/bazelisk package which supplies it.
3737Try running `yarn bazel` instead.
3838 (If you did run that, check that you've got a fresh `yarn install`)
3939""" ,
40- minimum_bazel_version = "0.27 .0" ,
40+ minimum_bazel_version = "3.0 .0" ,
4141)
4242
4343# The NodeJS rules version must be at least the following version because:
@@ -52,7 +52,7 @@ Try running `yarn bazel` instead.
5252# - 0.32.1 remove override of @bazel/tsetse & exclude typescript lib declarations in node_module_library transitive_declarations
5353# - 0.32.2 resolves bug in @bazel/hide-bazel-files postinstall step
5454# - 0.34.0 introduces protractor rule
55- check_rules_nodejs_version (minimum_version_string = "1.5 .0" )
55+ check_rules_nodejs_version (minimum_version_string = "2.0 .0" )
5656
5757# Setup the Node.js toolchain
5858node_repositories (
@@ -80,36 +80,22 @@ yarn_install(
8080
8181load ("@npm//:install_bazel_dependencies.bzl" , "install_bazel_dependencies" )
8282
83- install_bazel_dependencies ()
84-
85- load ("@npm_bazel_typescript//:index.bzl" , "ts_setup_workspace" )
86-
87- ts_setup_workspace ()
88-
89- # Load karma dependencies
90- load ("@npm_bazel_karma//:package.bzl" , "npm_bazel_karma_dependencies" )
91-
92- npm_bazel_karma_dependencies ()
83+ install_bazel_dependencies (suppress_warning = True )
9384
9485# Load labs dependencies
95- load ("@npm_bazel_labs// :package.bzl" , "npm_bazel_labs_dependencies" )
86+ load ("@npm//@bazel/labs :package.bzl" , "npm_bazel_labs_dependencies" )
9687
9788npm_bazel_labs_dependencies ()
9889
99- # Setup the rules_webtesting toolchain
100- load ("@io_bazel_rules_webtesting//web:repositories.bzl" , "web_test_repositories" )
101-
102- web_test_repositories ()
103-
10490##########################
10591# Remote Execution Setup #
10692##########################
10793# Bring in bazel_toolchains for RBE setup configuration.
10894http_archive (
10995 name = "bazel_toolchains" ,
110- sha256 = "882fecfc88d3dc528f5c5681d95d730e213e39099abff2e637688a91a9619395 " ,
111- strip_prefix = "bazel-toolchains-3.4.0 " ,
112- url = "https://github.com/bazelbuild/bazel-toolchains/archive/3.4.0 .tar.gz" ,
96+ sha256 = "7ebb200ed3ca3d1f7505659c7dfed01c4b5cb04c3a6f34140726fe22f5d35e86 " ,
97+ strip_prefix = "bazel-toolchains-3.4.1 " ,
98+ url = "https://github.com/bazelbuild/bazel-toolchains/archive/3.4.1 .tar.gz" ,
11399)
114100
115101load ("@bazel_toolchains//rules:environments.bzl" , "clang_env" )
0 commit comments