Problem
Compiled JavaScript and TypeScript declaration files are currently tracked in version control:
backend/lib/prisma.d.ts
backend/lib/prisma.d.ts.map
backend/lib/prisma.js
backend/lib/prisma.js.map
These are build artifacts generated from backend/lib/prisma.ts and should not be committed.
Action Items
- Add these patterns to
.gitignore:
backend/lib/*.js
backend/lib/*.d.ts
backend/lib/*.map
- Remove tracked files:
git rm --cached backend/lib/prisma.{d.ts,d.ts.map,js,js.map}
- Ensure CI/CD builds these files from source
Related
Requested by: @yb175
Problem
Compiled JavaScript and TypeScript declaration files are currently tracked in version control:
backend/lib/prisma.d.tsbackend/lib/prisma.d.ts.mapbackend/lib/prisma.jsbackend/lib/prisma.js.mapThese are build artifacts generated from
backend/lib/prisma.tsand should not be committed.Action Items
.gitignore:backend/lib/*.jsbackend/lib/*.d.tsbackend/lib/*.mapgit rm --cached backend/lib/prisma.{d.ts,d.ts.map,js,js.map}Related
Requested by: @yb175