build: add Bazel BUILD file

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
cediackermann 2026-06-10 23:50:44 +02:00
parent 0ba7e00311
commit 8c8c37fb7e
No known key found for this signature in database

19
BUILD.bazel Normal file
View file

@ -0,0 +1,19 @@
# Next.js app built with bun, which rules_js cannot consume. This app keeps its
# native `bun`/Next.js build. The filegroup just makes the directory a valid
# Bazel package and exposes sources.
# TODO: for real Bazel builds, generate a package-lock.json and adopt
# aspect_rules_js (https://github.com/aspect-build/rules_js).
filegroup(
name = "srcs",
srcs = glob(["src/**"], allow_empty = True) + glob(
[
"*.ts",
"*.tsx",
"*.mjs",
"*.js",
"*.json",
],
allow_empty = True,
),
visibility = ["//visibility:public"],
)