Skip to content

Commit

Permalink
update rules_js to 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tsawada committed Oct 31, 2024
1 parent 3a1502c commit 8785771
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bazel_dep(
)

bazel_dep(name = "aspect_bazel_lib", version = "2.9.3")
bazel_dep(name = "aspect_rules_js", version = "1.42.3")
bazel_dep(name = "aspect_rules_js", version = "2.1.0")
bazel_dep(name = "rules_nodejs", version = "5.8.3")

node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
Expand All @@ -30,10 +30,12 @@ pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
# bazel run -- @pnpm --dir /home/runner/work/rules_js/rules_js install
use_repo(pnpm, "pnpm")

bazel_dep(name = "aspect_rules_ts", version = "2.4.2")
bazel_dep(name = "aspect_rules_ts", version = "3.2.1")

rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True)
rules_ts_ext.deps()
rules_ts_ext.deps(
ts_version_from = "//:package.json",
)
use_repo(rules_ts_ext, "npm_typescript")

bazel_dep(name = "aspect_rules_esbuild", version = "0.20.1")
bazel_dep(name = "aspect_rules_esbuild", version = "0.21.0")

0 comments on commit 8785771

Please sign in to comment.