-
Notifications
You must be signed in to change notification settings - Fork 411
Expand file tree
/
Copy pathMODULE.bazel
More file actions
54 lines (37 loc) · 1.68 KB
/
MODULE.bazel
File metadata and controls
54 lines (37 loc) · 1.68 KB
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
50
51
52
53
54
module(name = "asciiflow", version = "0.1")
bazel_dep(name = "bazel_features", version = "1.41.0")
bazel_dep(name = "rules_nodejs", version = "6.7.3")
node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
node.toolchain(node_version = "22.12.0")
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")
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
bazel_dep(name = "aspect_rules_js", version = "2.3.7")
bazel_dep(name = "aspect_rules_ts", version = "3.5.1")
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")
bazel_dep(name = "aspect_rules_esbuild", version = "0.24.0")
# Source Code Pro font (self-hosted, no CDN dependency at runtime).
http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
http_file(
name = "font_source_code_pro_regular",
urls = ["https://raw.githubusercontent.com/adobe-fonts/source-code-pro/release/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2"],
sha256 = "714eee29b70d191f5bf4b3a06b68f2c50522b1303d31c7d44dcefdcc5f9defd0",
downloaded_file_path = "SourceCodePro-Regular.woff2",
)
http_file(
name = "font_source_code_pro_medium",
urls = ["https://raw.githubusercontent.com/adobe-fonts/source-code-pro/release/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2"],
sha256 = "924641f3612b80982d2d32350d4bed27fad682d7220b3dcf2f3370c94b949c34",
downloaded_file_path = "SourceCodePro-Medium.woff2",
)