From 05bccf395825fdfe76bcb6c0d9b84e5f27b8e588 Mon Sep 17 00:00:00 2001 From: Ketan Reddy Date: Sat, 13 Jul 2024 12:59:27 -0700 Subject: [PATCH] bump js rules, use node 20 --- MODULE.bazel | 14 +++++++------- package.json | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 91032e69f..ff5bca503 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -13,17 +13,17 @@ archive_override( ) #local_path_override(module_name = "rules_player", path = "../rules_player") -bazel_dep(name = "aspect_bazel_lib", version = "1.39.0") -bazel_dep(name = "aspect_rules_js", version = "1.34.1") -bazel_dep(name = "bazel_skylib", version = "1.4.2") -bazel_dep(name = "rules_pkg", version = "0.9.1") -bazel_dep(name = "aspect_rules_ts", version = "2.1.0") +bazel_dep(name = "aspect_bazel_lib", version = "2.7.8") +bazel_dep(name = "aspect_rules_js", version = "1.42.3") +bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "rules_pkg", version = "1.0.1") +bazel_dep(name = "aspect_rules_ts", version = "2.4.2") ####### Node.js version ######### -bazel_dep(name = "rules_nodejs", version = "6.0.2") +bazel_dep(name = "rules_nodejs", version = "6.2.0") node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node") -node.toolchain(node_version = "18.18.0") +node.toolchain(node_version = "20.14.0") ################################# ###### Start iOS ###### diff --git a/package.json b/package.json index 19415eec4..e06454f72 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test": "bazel test -- $(bazel query \"kind(nodejs_test, //...)\" --output label 2>/dev/null | tr '\\n' ' ')" }, "engines": { - "node": "^18.8.0", + "node": "^20.14.0", "pnpm": "^8.9.2" }, "packageManager": "pnpm@8.9.2", @@ -185,8 +185,8 @@ "webpack-dev-server": "^5.0.4" }, "volta": { - "node": "18.18.0", - "yarn": "1.22.19" + "node": "20.14.0", + "pnpm": "8.15.1" }, "resolutions": { "esbuild": "0.19.8",