forked from aspect-build/rules_js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
41 lines (30 loc) · 924 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
33
34
35
36
37
38
39
40
"aspect-build/rules_js"
module(
name = "aspect_rules_js",
version = "0.0.0",
compatibility_level = 1,
)
bazel_dep(name = "aspect_bazel_lib", version = "1.24.2")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "rules_nodejs", version = "5.5.3")
bazel_dep(name = "platforms", version = "0.0.4")
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
node.toolchain(
name = "nodejs",
)
use_repo(node, "nodejs_toolchains")
use_repo(node, "nodejs_linux_amd64")
use_repo(node, "nodejs_darwin_arm64")
use_repo(node, "nodejs_darwin_amd64")
use_repo(node, "nodejs_linux_arm64")
use_repo(node, "nodejs_linux_s390x")
use_repo(node, "nodejs_linux_ppc64le")
use_repo(node, "nodejs_windows_amd64")
register_toolchains(
"@nodejs_toolchains//:all"
)
pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
pnpm.pnpm(
name = "pnpm",
)
use_repo(pnpm, "pnpm")