build: fetch identitydb as remote dependency

This commit is contained in:
2026-05-11 19:06:50 +09:00
parent 6eb6024e51
commit 4bcd80c33d
5 changed files with 46 additions and 41 deletions

View File

@@ -38,7 +38,7 @@ bun run build
Tagging `vX.Y.Z` or `X.Y.Z` triggers the Gitea npm release workflow under `.gitea/workflows/npm-release.yml`.
Because BoxBrain currently consumes IdentityDB through the sibling `file:../IdentityDB` dependency during active development, the release workflow clones and builds `IdentityDB` first, then runs BoxBrain install/test/build/publish steps against that prepared sibling checkout.
BoxBrain now fetches IdentityDB as a remote git dependency through Bun instead of relying on a sibling local checkout, and `trustedDependencies` allows Bun to run the required lifecycle scripts for `identitydb`, `better-sqlite3`, and `esbuild` during clean installs.
## Current status