forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MODULE.bazel
32 lines (26 loc) · 827 Bytes
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module(
name = "bazel_central_registry",
version = "0.0.0",
compatibility_level = 1,
)
bazel_dep(name = "aspect_rules_js", version = "1.34.1")
bazel_dep(name = "rules_python", version = "0.35.0")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
is_default = True,
python_version = "3.11",
)
use_repo(python, "python_3_11", "python_versions")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pip",
python_version = "3.11",
requirements_lock = "//tools:requirements_lock.txt",
)
use_repo(pip, "pip")
npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)
npm.npm_translate_lock(
name = "npm",
pnpm_lock = "//tools:pnpm-lock.yaml",
)
use_repo(npm, "npm")