forked from aspect-build/rules_swc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
49 lines (33 loc) · 1.29 KB
/
WORKSPACE
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
41
42
43
44
45
46
47
48
49
# Declare the local Bazel workspace.
# This is *not* included in the published distribution.
workspace(name = "aspect_rules_swc")
load(":internal_deps.bzl", "rules_swc_internal_deps")
# Fetch deps needed only locally for development
rules_swc_internal_deps()
load("//swc:dependencies.bzl", "rules_swc_dependencies")
# Fetch our "runtime" dependencies which users need as well
rules_swc_dependencies()
load("//swc:repositories.bzl", "swc_register_toolchains")
swc_register_toolchains(
name = "default_swc",
node_repository = "node16",
swc_version = "v1.2.168",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "DEFAULT_YQ_VERSION", "register_yq_toolchains")
register_yq_toolchains(
version = DEFAULT_YQ_VERSION,
)
load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "node16",
node_version = "16.9.0",
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
############################################
# Gazelle, for generating bzl_library targets
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.17.2")
gazelle_dependencies()