style(13-03): apply Prettier formatting across repo

Mechanical reformat — no logic changes. 398 files changed, 19125
insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc
(singleQuote:true, semi:true, tabWidth:2, trailingComma:all,
printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
Lucas Berger
2026-06-11 20:35:18 -04:00
parent 4bc0445173
commit 982438dc10
398 changed files with 19050 additions and 16382 deletions
+9 -7
View File
@@ -11,6 +11,7 @@ Playwright test harness for the FamilySync PWA — mobile-emulated (iPhone 14/We
See `docs/deployment.md` under "Running locally (host-side, no Docker)" for the canonical bring-up command.
The stack must include:
- API on `:3000` started with `DEV_AUTH_BYPASS=true` (see Security Guardrail below)
- PWA dev server on `:5173` (`pnpm --filter @familysync/pwa dev`)
- Dev MariaDB on `:3306` (exposed via `docker-compose.dev.yml`)
@@ -52,14 +53,14 @@ pnpm --filter @familysync/pwa test:e2e:ui
The harness reads these from the environment. DB credentials are env-only — never hardcoded in seed scripts or specs.
| Var | Default | Purpose |
|-----|---------|---------|
| Var | Default | Purpose |
| --------------------- | ----------------------- | --------------------------------------------------------------- |
| `PLAYWRIGHT_BASE_URL` | `http://localhost:5173` | Base URL for all spec navigation and the /health readiness poll |
| `DB_HOST` | `127.0.0.1` | MariaDB host for the global-setup seed script |
| `DB_PORT` | `3306` | MariaDB port |
| `DB_USER` | `familysync` | MariaDB user |
| `DB_PASSWORD` | *(empty)* | MariaDB password — set in environment or `.env` |
| `DB_NAME` | `familysync` | MariaDB database name |
| `DB_HOST` | `127.0.0.1` | MariaDB host for the global-setup seed script |
| `DB_PORT` | `3306` | MariaDB port |
| `DB_USER` | `familysync` | MariaDB user |
| `DB_PASSWORD` | _(empty)_ | MariaDB password — set in environment or `.env` |
| `DB_NAME` | `familysync` | MariaDB database name |
Set `DB_PASSWORD` (and other non-default values) via the shell or the repo root `.env` file before running. The `.env` file is gitignored — never commit credentials.
@@ -106,6 +107,7 @@ This seeding is idempotent — two consecutive runs leave the same row counts, n
## CI (Phase 8)
Phase 8 (Gitea CI) runs these specs unchanged as a PR UI-regression step. The CI workflow owns:
- Bringing up the dev stack (compose) with `DEV_AUTH_BYPASS=true`
- Waiting for the MariaDB health check before starting the API
- Setting `PLAYWRIGHT_BASE_URL`, `DB_*`, and `DEV_AUTH_BYPASS=true` env vars in the runner environment (the global-setup guard requires `DEV_AUTH_BYPASS=true` in the Playwright process, not only the API's)