Phase 0: fix typecheck, format, build; remove stray emit; pin port via env
CI / Lint, typecheck, test, build (push) Failing after 22s

This commit is contained in:
Mavis
2026-06-02 16:07:09 +00:00
parent 7b19c54943
commit 938ba042b3
23 changed files with 6693 additions and 83 deletions
+11 -10
View File
@@ -13,15 +13,15 @@ full implementation plan.
## Stack
| Layer | Tech |
|---|---|
| **Hub** | Next.js 14 (App Router) + TypeScript |
| **Live map** | Vite + React + Three.js + TypeScript |
| **API** | Hono on Node 22 + WebSocket (`ws`) + Zod |
| **Shared** | `@kerbal-rt/shared-types`, `@kerbal-rt/orbital-math`, `@kerbal-rt/ui` |
| **Data (Phase 1)** | Postgres 16 + TimescaleDB, Redis 7, MinIO (S3) |
| **Package mgr** | pnpm workspaces |
| **Linter** | Prettier (ESLint coming per-app) |
| Layer | Tech |
| ------------------ | --------------------------------------------------------------------- |
| **Hub** | Next.js 14 (App Router) + TypeScript |
| **Live map** | Vite + React + Three.js + TypeScript |
| **API** | Hono on Node 22 + WebSocket (`ws`) + Zod |
| **Shared** | `@kerbal-rt/shared-types`, `@kerbal-rt/orbital-math`, `@kerbal-rt/ui` |
| **Data (Phase 1)** | Postgres 16 + TimescaleDB, Redis 7, MinIO (S3) |
| **Package mgr** | pnpm workspaces |
| **Linter** | Prettier (ESLint coming per-app) |
## Layout
@@ -83,6 +83,7 @@ docker compose -f infra/docker-compose.yml up -d
```
This brings up:
- **TimescaleDB** on `:5432` (with the full KSP body catalog pre-seeded)
- **Redis** on `:6379`
- **MinIO** on `:9000` (S3-compatible object store for media)
@@ -98,7 +99,7 @@ push / PR to `main`. See `.github/workflows/ci.yml`.
See [`kerbalrealtime-clone-plan.md`](./kerbalrealtime-clone-plan.md) for the
roadmap. Quick map:
- [x] **Phase 0** — monorepo, skeletons, docker-compose, CI *(this commit)*
- [x] **Phase 0** — monorepo, skeletons, docker-compose, CI _(this commit)_
- [ ] **Phase 1** — KSP telemetry bridge + ingest pipeline (Postgres + Redis)
- [ ] **Phase 2** — Live map 3D scene (time controls, focus, eclipses, overpass)
- [ ] **Phase 3** — Mission calendar, media, crew, YouTube/Twitch embeds