-
With load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
node_repositories(
node_version = "16.16.0",
yarn_version = "1.22.19",
)
load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = "16.16.0",
) What is this the right approach for |
Beta Was this translation helpful? Give feedback.
Answered by
jbedard
Jun 14, 2023
Replies: 2 comments 3 replies
-
The node toolchains still come from rules_nodejs, see the WORKSPACE snippets in the release notes: https://github.com/aspect-build/rules_js/releases |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jbedard
-
Hi, what's the replacement for yarn_install (or rather yarn_version)? I'm not seeing any in rule_js. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The node toolchains still come from rules_nodejs, see the WORKSPACE snippets in the release notes: https://github.com/aspect-build/rules_js/releases