2024-04-19 15:39:47 +03:00
|
|
|
"enso-org/enso"
|
|
|
|
|
2024-04-23 18:52:41 +03:00
|
|
|
bazel_dep(name = "aspect_rules_js", version = "1.41.2")
|
2024-04-19 15:39:47 +03:00
|
|
|
|
|
|
|
####### Node.js version #########
|
2024-04-23 18:52:41 +03:00
|
|
|
bazel_dep(name = "rules_nodejs", version = "6.1.0")
|
2024-04-19 15:39:47 +03:00
|
|
|
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
|
|
|
|
node.toolchain(node_version = "20.11.1")
|
|
|
|
#################################
|
|
|
|
|
|
|
|
npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)
|
|
|
|
npm.npm_translate_lock(
|
|
|
|
name = "npm",
|
|
|
|
pnpm_lock = "//:pnpm-lock.yaml",
|
|
|
|
verify_node_modules_ignored = "//:.bazelignore",
|
|
|
|
)
|
|
|
|
use_repo(npm, "npm")
|
2024-04-23 18:52:41 +03:00
|
|
|
|
|
|
|
bazel_dep(name = "aspect_rules_ts", version = "2.2.0")
|
|
|
|
|
|
|
|
rules_ts_ext = use_extension(
|
|
|
|
"@aspect_rules_ts//ts:extensions.bzl",
|
|
|
|
"ext",
|
|
|
|
dev_dependency = True,
|
|
|
|
)
|
|
|
|
|
|
|
|
rules_ts_ext.deps()
|
|
|
|
|
|
|
|
use_repo(rules_ts_ext, "npm_typescript")
|