Commit Graph

4 Commits

Author SHA1 Message Date
xCyanGrizzly
46cb517b8d fix: use standard @prisma/client imports instead of custom output path
The custom generator output to src/generated/prisma caused persistent
Turbopack module resolution failures in CI. Switch to the standard
@prisma/client import path which all bundlers resolve correctly.

- Remove custom output from prisma schema generator
- Update all imports from ../generated/prisma to @prisma/client
- Add postinstall script to auto-run prisma generate after npm ci
- Remove generated files from git (no longer needed in source tree)
- Simplify CI workflow (remove verify step and --webpack workaround)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-18 19:49:53 +01:00
xCyanGrizzly
23e233fe02 fix: commit generated Prisma client — Turbopack excludes gitignored paths
Turbopack skips gitignored directories during module resolution in
next build. Since src/generated/prisma was in .gitignore, the build
on CI failed with "Module not found: Can't resolve '@/generated/prisma'"
even though prisma generate created the files.

Fix: commit the generated client and remove it from .gitignore.
Run `npx prisma generate` after schema changes to update.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 17:34:19 +01:00
xCyanGrizzly
36d403cef5 fix: track migration_lock.toml required by prisma migrate deploy
The migration_lock.toml was excluded by a gitignore pattern
(prisma/migrations/**/migration_lock.toml) which caused
`prisma migrate deploy` to fail in CI with no lock file present.
Prisma requires this file to be version-controlled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 16:07:28 +01:00
xCyanGrizzly
3a5726e82b Init 2026-02-18 14:26:36 +01:00