fix: align next config with next 15.5.5

This commit is contained in:
Esdras Renan 2025-10-16 21:39:43 -03:00
parent 0cf1892256
commit 91d0608838
8 changed files with 642 additions and 510 deletions

View file

@ -20,7 +20,7 @@
## Stack atual (16/10/2025)
- **Next.js**: `15.5.5` (Turbopack em produção + cache de filesystem em DEV).
- `next.config.ts` mantém `experimental.turbopackFileSystemCacheForDev`; whitelist de domínios em `src/config/allowed-hosts.ts` usada tanto no `server.allowedHosts` quanto no `middleware.ts`.
- `next.config.ts` mantém `experimental.turbopackFileSystemCacheForDev` (flag não tipada oficialmente); whitelist de domínios em `src/config/allowed-hosts.ts` aplicada pelo `middleware.ts`.
- **React / React DOM**: `18.2.0`.
- **Trilha de testes**: Vitest (`pnpm test`) sem modo watch por padrão (`--run --passWithNoTests`).
- **CI**: workflow `Quality Checks` (`.github/workflows/quality-checks.yml`) roda `pnpm install`, `prisma:generate`, `lint`, `test`, `build`. Variáveis críticas (`BETTER_AUTH_SECRET`, `NEXT_PUBLIC_APP_URL`, etc.) são definidas apenas no runner — não afetam a VPS.