@@ -2,20 +2,21 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2
2
3
3
http_archive (
4
4
name = "aspect_bazel_lib" ,
5
- sha256 = "0da75299c5a52737b2ac39458398b3f256e41a1a6748e5457ceb3a6225269485 " ,
6
- strip_prefix = "bazel-lib-1.31.2 " ,
7
- url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.31.2 /bazel-lib-v1.31.2 .tar.gz" ,
5
+ sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3 " ,
6
+ strip_prefix = "bazel-lib-2.4.1 " ,
7
+ url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1 /bazel-lib-v2.4.1 .tar.gz" ,
8
8
)
9
9
10
- load ("@aspect_bazel_lib//lib:repositories.bzl" , "aspect_bazel_lib_dependencies" )
10
+ load ("@aspect_bazel_lib//lib:repositories.bzl" , "aspect_bazel_lib_dependencies" , "aspect_bazel_lib_register_toolchains" )
11
11
12
12
aspect_bazel_lib_dependencies ()
13
+ aspect_bazel_lib_register_toolchains ()
13
14
14
15
http_archive (
15
16
name = "aspect_rules_js" ,
16
- sha256 = "dcd1567d4a93a8634ec0b888b371a60b93c18d980f77dace02eb176531a71fcf " ,
17
- strip_prefix = "rules_js-1.26.0 " ,
18
- url = "https://github.com/aspect-build/rules_js/releases/download/v1.26.0 /rules_js-v1.26.0 .tar.gz" ,
17
+ sha256 = "630a71aba66c4023a5b16ab3efafaeed8b1a2865ccd168a34611eb73876b3fc4 " ,
18
+ strip_prefix = "rules_js-1.37.1 " ,
19
+ url = "https://github.com/aspect-build/rules_js/releases/download/v1.37.1 /rules_js-v1.37.1 .tar.gz" ,
19
20
)
20
21
21
22
load ("@aspect_rules_js//js:repositories.bzl" , "rules_js_dependencies" )
@@ -26,7 +27,17 @@ load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains")
26
27
27
28
nodejs_register_toolchains (
28
29
name = "nodejs" ,
29
- node_version = "16.17.1" ,
30
+ # The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
31
+ node_repositories = {
32
+ "20.11.0-darwin_arm64" : ("node-v20.11.0-darwin-arm64.tar.gz" , "node-v20.11.0-darwin-arm64" , "94e443d007e2882f8e5aecc85d978f7591520dc3b642adc7583b3cb0b3fc37d7" ),
33
+ "20.11.0-darwin_amd64" : ("node-v20.11.0-darwin-x64.tar.gz" , "node-v20.11.0-darwin-x64" , "c0ba02c905814258bd99a362027f8d4d2cc738218a9cf1dce2620e8735e3a80e" ),
34
+ "20.11.0-linux_arm64" : ("node-v20.11.0-linux-arm64.tar.xz" , "node-v20.11.0-linux-arm64" , "f6df68c6793244071f69023a9b43a0cf0b13d65cbe86d55925c28e4134d9aafb" ),
35
+ "20.11.0-linux_ppc64le" : ("node-v20.11.0-linux-ppc64le.tar.xz" , "node-v20.11.0-linux-ppc64le" , "6a0e1fa23d7bc707711bbc36159b4220eca123e13435d266d690c6b6c443dc67" ),
36
+ "20.11.0-linux_s390x" : ("node-v20.11.0-linux-s390x.tar.xz" , "node-v20.11.0-linux-s390x" , "cc92efa3fa101d613539451b1cf323ea9ac6198b4a68a7d3bf3b1090c6a7b5da" ),
37
+ "20.11.0-linux_amd64" : ("node-v20.11.0-linux-x64.tar.xz" , "node-v20.11.0-linux-x64" , "822780369d0ea309e7d218e41debbd1a03f8cdf354ebf8a4420e89f39cc2e612" ),
38
+ "20.11.0-windows_amd64" : ("node-v20.11.0-win-x64.zip" , "node-v20.11.0-win-x64" , "893115cd92ad27bf178802f15247115e93c0ef0c753b93dca96439240d64feb5" ),
39
+ },
40
+ node_version = "20.11.0" ,
30
41
)
31
42
32
43
# Add a patch fix for rules_webtesting v0.3.5 required for enabling runfiles on Windows.
0 commit comments