diff --git a/frontend/MODULE.bazel b/frontend/MODULE.bazel index fa35bce75..99dffe86a 100644 --- a/frontend/MODULE.bazel +++ b/frontend/MODULE.bazel @@ -1,18 +1,18 @@ "Bazel module dependencies, see https://bazel.build/external/overview#bzlmod" bazel_dep(name = "aspect_bazel_lib", version = "2.7.6") -bazel_dep(name = "aspect_rules_lint", version = "0.18.0") -bazel_dep(name = "aspect_rules_jest", version = "0.20.0") -bazel_dep(name = "aspect_rules_js", version = "1.41.2") -bazel_dep(name = "aspect_rules_swc", version = "1.2.2") -bazel_dep(name = "aspect_rules_ts", version = "2.2.0") -bazel_dep(name = "aspect_rules_rollup", version = "1.0.2") -bazel_dep(name = "aspect_rules_webpack", version = "0.14.0") -bazel_dep(name = "bazel_skylib", version = "1.5.0") -bazel_dep(name = "rules_nodejs", version = "6.1.0") +bazel_dep(name = "aspect_rules_lint", version = "1.0.0-rc1") +bazel_dep(name = "aspect_rules_jest", version = "0.22.0-rc0") +bazel_dep(name = "aspect_rules_js", version = "2.0.0-rc1") +bazel_dep(name = "aspect_rules_swc", version = "2.0.0-rc0") +bazel_dep(name = "aspect_rules_ts", version = "3.0.0-rc0") +bazel_dep(name = "aspect_rules_rollup", version = "2.0.0-rc0") +bazel_dep(name = "aspect_rules_webpack", version = "0.16.0-rc0") +bazel_dep(name = "bazel_skylib", version = "1.6.1") +bazel_dep(name = "rules_nodejs", version = "6.1.1") node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node", dev_dependency = True) -node.toolchain(node_version = "18.17.0") +node.toolchain(node_version = "20.13.1") pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm", dev_dependency = True) use_repo(pnpm, "pnpm") diff --git a/frontend/packages/one/BUILD.bazel b/frontend/packages/one/BUILD.bazel index 220a8c696..401000d2b 100644 --- a/frontend/packages/one/BUILD.bazel +++ b/frontend/packages/one/BUILD.bazel @@ -22,12 +22,10 @@ ts_project( # make this library available via node_modules npm_package( - name = "one", + name = "pkg", srcs = [ "package.json", ":one_ts", ], - # This is a perf improvement; the default will be flipped to False in rules_js 2.0 - include_runfiles = False, visibility = ["//visibility:public"], ) diff --git a/frontend/vue/BUILD.bazel b/frontend/vue/BUILD.bazel index f599a561a..d4bd42217 100644 --- a/frontend/vue/BUILD.bazel +++ b/frontend/vue/BUILD.bazel @@ -40,7 +40,7 @@ vue_tsc_bin.vue_tsc_test( args = ["--noEmit"], chdir = package_name(), data = SRCS + BUILD_DEPS, - include_declarations = True, + include_types = True, ) vite_bin.vite_binary( diff --git a/frontend/vue/libraries/simple/BUILD.bazel b/frontend/vue/libraries/simple/BUILD.bazel index dd1a2490b..8eb7918bb 100644 --- a/frontend/vue/libraries/simple/BUILD.bazel +++ b/frontend/vue/libraries/simple/BUILD.bazel @@ -53,7 +53,7 @@ vue_tsc_bin.vue_tsc( # TODO(alexeagle): show how this could be published to npm npm_package( - name = "simple", + name = "pkg", srcs = [ "package.json", ":build",