chore(devx): postinstall auto-generate und --ignore-scripts fuer Docker-Builds #298
No reviewers
Labels
No labels
component/backend
component/docs
component/e2e
component/frontend
component/infra
component/keycloak
prio/high
prio/low
prio/medium
type/bug
type/chore
type/feature
type/refactor
type/test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WompSchmiede/FamilienFeierPlaner!298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/optimize-postinstall-generate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allgemein
Altes Verhalten
Neue Entwickler mussten nach
npm installmanuellnpm run generate(backend) bzw.npm run generate:api(frontend) ausfuehren. Docker-Build fuehrte postinstall-Skripte aus, die ohne DB-Verbindung fehlschlugen.Neues Verhalten
postinstallin backend und frontend fuehrtgenerateautomatisch nachnpm installaus--ignore-scripts, um DB-lose Fehler zu vermeidenallowScriptserlaubt explizit native Build-Skripte von prisma, esbuild, sharp, workerdgeneratehat embeddedDATABASE_URL(funktioniert ohne.env)generate:api-Schritt entferntBegruendung
Optimierte Developer Experience fuer neue Teammitglieder — kein manuelles Nacharbeiten nach
npm installmehr noetig.Test-Hinweise
cd backend && npm install→ prisma generate laeuft automatischcd frontend && npm install→ svelte-kit sync + orval laufen automatischnpm run test:integration→ Docker-Build laeuft durch (--ignore-scripts)