Skip to content

Commit

Permalink
use updated rules_js toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarfurth committed Jan 24, 2025
1 parent effc5d1 commit 946a6b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,9 @@ rules_ts_dependencies(
ts_version_from = "//:package.json",
)

load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")

nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)

load("@com_github_google_flatbuffers//ts:repositories.bzl", "flatbuffers_npm")

Expand Down
7 changes: 2 additions & 5 deletions tests/ts/bazel_repository_test_dir/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ rules_ts_dependencies(
ts_version = "5.3.3",
)

load("@rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
load("@aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")

nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)

npm_translate_lock(
name = "npm",
Expand Down

0 comments on commit 946a6b4

Please sign in to comment.