Konfiguration aus Laufzettel uebernommen, damit alle Projekte gleich gebaut und geprueft werden. Entwicklungsdatenbank auf 5436, weil 5433 und 5434 von ProxLedger und Laufzettel belegt sind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.0 KiB
Markdown
28 lines
1.0 KiB
Markdown
# #001 Projekt-Setup
|
||
**Status:** erledigt
|
||
**Meilenstein:** v0.1.0
|
||
**Labels:** infrastruktur
|
||
**Geschätzt:** 3 h **Tatsächlich:** 0 h 15 min
|
||
|
||
## Ziel
|
||
Lauffähiges Grundgerüst: Next.js 16, TypeScript strict, Prisma 7, pnpm, ESLint/Prettier/Vitest, Commit-Prüfung, Docker-Compose für die Entwicklungsdatenbank.
|
||
|
||
## Aufgaben
|
||
- [x] Next.js 16 (App Router), React 19, TypeScript strict
|
||
- [x] pnpm 12, gepinnte Versionen, `.nvmrc`
|
||
- [x] ESLint 9, Prettier, Vitest, commitlint + husky
|
||
- [x] `docker-compose.dev.yml` mit PostgreSQL
|
||
- [x] `.env.example` mit Präfix `SSHKV_`
|
||
- [x] `CLAUDE.md` mit Konventionen
|
||
|
||
## Akzeptanzkriterien
|
||
- [x] `pnpm lint && pnpm typecheck && pnpm test && pnpm build` grün
|
||
|
||
## Abhängigkeiten
|
||
–
|
||
|
||
## Notizen / Entscheidungen
|
||
- Konfiguration (tsconfig, ESLint, Prettier, commitlint, husky) aus Laufzettel übernommen.
|
||
- Entwicklungsdatenbank auf Port 5436 (5433/5434 belegen ProxLedger und Laufzettel), Dev-Server auf 3400.
|
||
- `ssh2` ohne native Build-Skripte (`allowBuilds: false`): die reine JS-Fassung reicht, und es muss kein Compiler ins Abbild.
|