docs: Refactor code structure for improved readability
Some checks failed
CI / test (macos-14, darwin-arm64) (push) Has been cancelled
CI / test (windows-latest, windows) (push) Has been cancelled
CI / test (ubuntu-latest, linux-x64) (push) Has been cancelled
Docs Pages / deploy (push) Failing after 33s

This commit is contained in:
eric
2026-03-06 20:54:28 +01:00
parent fb7afbb138
commit 10758aa20a
19 changed files with 232 additions and 2341 deletions

View File

@@ -3,11 +3,13 @@ module(
version = "0.2.0",
)
# Core ruleset dependencies.
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_shell", version = "0.6.1")
bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "stardoc", version = "0.7.2")
# Repository-local setup for this ruleset's own tests and examples.
bun_ext = use_extension("//bun:extensions.bzl", "bun")
use_repo(
bun_ext,
@@ -18,6 +20,7 @@ use_repo(
"bun_windows_x64",
)
# Test fixture dependency installation used by //tests/script_test.
bun_install_ext = use_extension("//bun:extensions.bzl", "bun_install")
bun_install_ext.install(
name = "script_test_vite_node_modules",
@@ -26,6 +29,7 @@ bun_install_ext.install(
)
use_repo(bun_install_ext, "script_test_vite_node_modules")
# Register the published Bun toolchains for this repository.
register_toolchains(
"//bun:darwin_aarch64_toolchain",
"//bun:darwin_x64_toolchain",