From ea141f87c50ddc087e613070cd9e093fa79c5be6 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sat, 27 Jun 2026 15:07:39 +0900 Subject: fix(bin): rename dispatch-web → frontend in up/build scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/build | 2 +- bin/up | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/build b/bin/build index c410156..ba80955 100755 --- a/bin/build +++ b/bin/build @@ -17,7 +17,7 @@ set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/.." && pwd)" BACKEND="$ROOT" -FRONTEND="$(cd "$ROOT/.." && pwd)/dispatch-web" +FRONTEND="$(cd "$ROOT/.." && pwd)/frontend" BUILD_FRONTEND=1 if [[ "${1:-}" == "--no-frontend" ]]; then diff --git a/bin/up b/bin/up index c0a7cbf..a049c8c 100755 --- a/bin/up +++ b/bin/up @@ -3,19 +3,19 @@ # Ctrl-C stops BOTH cleanly (including the backend's spawned observability collector). # # backend (this repo) bun --watch → HTTP :24203 + surface WS :24205 (FULL restart on change) -# frontend (../dispatch-web) vite → http://localhost:24204 (HMR, in-place) +# frontend (../frontend) vite → http://localhost:24204 (HMR, in-place) # -# Assumes dispatch-web is a sibling of this repo. Run: bin/up (or: bun run dev:all) +# Assumes frontend is a sibling of this repo. Run: bin/up (or: bun run dev:all) set -uo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # .../arch-rewrite/bin BACKEND="$(cd "$HERE/.." && pwd)" # backend repo root -FRONTEND="$(cd "$HERE/../.." && pwd)/dispatch-web" # sibling repo +FRONTEND="$(cd "$HERE/../.." && pwd)/frontend" # sibling repo if [ ! -d "$FRONTEND" ]; then echo "up: frontend repo not found at $FRONTEND" >&2 - echo "up: check out 'dispatch-web' beside this repo and retry." >&2 + echo "up: check out 'frontend' beside this repo and retry." >&2 exit 1 fi -- cgit v1.2.3