@@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
8
8
9
9
http_archive (
10
10
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" ],
13
13
)
14
14
15
15
# 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.
37
37
Try running `yarn bazel` instead.
38
38
(If you did run that, check that you've got a fresh `yarn install`)
39
39
""" ,
40
- minimum_bazel_version = "0.27 .0" ,
40
+ minimum_bazel_version = "3.0 .0" ,
41
41
)
42
42
43
43
# The NodeJS rules version must be at least the following version because:
@@ -52,7 +52,7 @@ Try running `yarn bazel` instead.
52
52
# - 0.32.1 remove override of @bazel/tsetse & exclude typescript lib declarations in node_module_library transitive_declarations
53
53
# - 0.32.2 resolves bug in @bazel/hide-bazel-files postinstall step
54
54
# - 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" )
56
56
57
57
# Setup the Node.js toolchain
58
58
node_repositories (
@@ -80,36 +80,22 @@ yarn_install(
80
80
81
81
load ("@npm//:install_bazel_dependencies.bzl" , "install_bazel_dependencies" )
82
82
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 )
93
84
94
85
# 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" )
96
87
97
88
npm_bazel_labs_dependencies ()
98
89
99
- # Setup the rules_webtesting toolchain
100
- load ("@io_bazel_rules_webtesting//web:repositories.bzl" , "web_test_repositories" )
101
-
102
- web_test_repositories ()
103
-
104
90
##########################
105
91
# Remote Execution Setup #
106
92
##########################
107
93
# Bring in bazel_toolchains for RBE setup configuration.
108
94
http_archive (
109
95
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" ,
113
99
)
114
100
115
101
load ("@bazel_toolchains//rules:environments.bzl" , "clang_env" )
0 commit comments