@@ -91,6 +91,21 @@ nodejs_register_toolchains(
91
91
node_version = "20.11.1" ,
92
92
)
93
93
94
+ nodejs_register_toolchains (
95
+ name = "node22" ,
96
+ # The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
97
+ node_repositories = {
98
+ "22.0.0-darwin_arm64" : ("node-v22.0.0-darwin-arm64.tar.gz" , "node-v22.0.0-darwin-arm64" , "ea96d349cfaa67aa87ceeaa3e5b52c9167f7ac302fd8d1ff162d0785e9dc0785" ),
99
+ "22.0.0-darwin_amd64" : ("node-v22.0.0-darwin-x64.tar.gz" , "node-v22.0.0-darwin-x64" , "422a3887ff5418f0a4552d89cf99346ab8ab51bb5d384660baa88b8444d2c111" ),
100
+ "22.0.0-linux_arm64" : ("node-v22.0.0-linux-arm64.tar.xz" , "node-v22.0.0-linux-arm64" , "83711d29cbe46375bdffab5419f3d831892e24294169272f6c39edc364556241" ),
101
+ "22.0.0-linux_ppc64le" : ("node-v22.0.0-linux-ppc64le.tar.xz" , "node-v22.0.0-linux-ppc64le" , "2b3fb8707a79243bfb3131312b86716ddc3855bce21bb168095b6b916798e5e9" ),
102
+ "22.0.0-linux_s390x" : ("node-v22.0.0-linux-s390x.tar.xz" , "node-v22.0.0-linux-s390x" , "89a8efeeb9f94ce9ea251b8109e079c14919f4c0dc2cbc9f545ec47ef0886737" ),
103
+ "22.0.0-linux_amd64" : ("node-v22.0.0-linux-x64.tar.xz" , "node-v22.0.0-linux-x64" , "9122e50f2642afd5f6078cafd1f52ede60fc464284384f05c18a04d13d07ae5a" ),
104
+ "22.0.0-windows_amd64" : ("node-v22.0.0-win-x64.zip" , "node-v22.0.0-win-x64" , "32d639b47d4c0a651ff8f8d7d41a454168a3d4045be37985f9a810cf8cef6174" ),
105
+ },
106
+ node_version = "22.0.0" ,
107
+ )
108
+
94
109
load ("@build_bazel_rules_nodejs//:index.bzl" , "yarn_install" )
95
110
96
111
yarn_install (
0 commit comments