mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-10 22:01:16 +00:00
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>
52 lines
661 B
Plaintext
52 lines
661 B
Plaintext
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files
|
|
.env
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# prisma — generated client is committed so Turbopack can resolve it
|
|
# during next build (Turbopack excludes gitignored paths from module resolution).
|
|
# Run `npx prisma generate` after schema changes to update.
|
|
|
|
# ide
|
|
.idea
|
|
.vscode
|