diff options
| author | Adam Malczewski <[email protected]> | 2026-06-27 01:12:40 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-27 01:12:40 +0900 |
| commit | 98b0638838a8e754927d8c030ce8bded18d63e7d (patch) | |
| tree | 0d4e21c3d4792fcd77e1040373b260e38efa34ce /bin/build | |
| parent | d92a4af6191d7d20acf861adf605ad0227b6b287 (diff) | |
| parent | 61e45e60d699ed1ca46f94a8f181c92a940317c6 (diff) | |
| download | dispatch-98b0638838a8e754927d8c030ce8bded18d63e7d.tar.gz dispatch-98b0638838a8e754927d8c030ce8bded18d63e7d.zip | |
Merge branch 'dev' into feature/heartbeat
# Conflicts:
# packages/host-bin/package.json
# packages/host-bin/src/main.ts
# packages/session-orchestrator/src/orchestrator.ts
# packages/system-prompt/src/service.test.ts
# packages/system-prompt/src/service.ts
# packages/system-prompt/src/types.ts
# packages/transport-contract/package.json
# packages/transport-http/package.json
# packages/transport-http/src/app.test.ts
# packages/transport-http/src/app.ts
# packages/transport-http/src/extension.ts
# packages/transport-http/tsconfig.json
# tsconfig.json
Diffstat (limited to 'bin/build')
| -rwxr-xr-x | bin/build | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -24,6 +24,14 @@ if [[ "${1:-}" == "--no-frontend" ]]; then BUILD_FRONTEND=0 fi +# Recompile all TypeScript packages (composite project references) so the +# dist/*.js files are up to date with the .ts source. The packages' package.json +# `main` fields point to dist/index.js, so bun build --compile reads the compiled +# JavaScript — without this step, source edits are silently lost in the binary. +echo "[build] tsc --build (recompile packages from source)" +cd "$BACKEND" +bunx tsc --build 2>&1 | tail -5 + echo "[build] backend binary → dist/dispatch-server" mkdir -p "$ROOT/dist" bun build --compile "$BACKEND/packages/host-bin/src/main.ts" \ |
