Inital commit

This commit is contained in:
eric
2026-03-12 18:58:43 +01:00
commit 8555b02752
36 changed files with 3312 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# bun_vite
Minimal Bun-layer shape:
```bzl
load("@rules_wails//wails_bun:defs.bzl", "wails_bun_app")
wails_bun_app(
name = "desktop",
app_binary = ":desktop_bin",
frontend_srcs = [
":frontend_sources",
"//pkgs/ui-kit:ui_kit_sources",
],
package_json = "frontend/package.json",
node_modules = "@deps//:node_modules",
build_asset_srcs = ["build/config.yml"],
app_name = "desktop",
binary_name = "desktop",
frontend_strip_prefix = "frontend/",
build_strip_prefix = "build/",
)
```
For Bun staging, each workspace package source target should include `package.json`.