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

23
wails_bun/README.md Normal file
View File

@@ -0,0 +1,23 @@
# rules_wails Bun integration
Optional `rules_bun` integration for Wails projects that build their frontend
with Bun and Vite-style package scripts.
Public API:
- `wails_bun_frontend_dist`
- `wails_bun_frontend_dev`
- `wails_bun_dev_session`
- `wails_bun_app`
Important contract:
- `ts_library` is not enough for frontend package staging.
- Package-source targets passed to `wails_bun_frontend_dist` should include both the package sources and `package.json`.
- Consumers should provide package-source targets that include both application sources and `package.json`.
Load with:
```starlark
load("@rules_wails//wails_bun:defs.bzl", "wails_bun_dev_session", "wails_bun_frontend_dev", "wails_bun_frontend_dist")
```