Add .gitignore with Next.js, TypeScript, and shadcn/ui support

This commit is contained in:
Lorentz Hinrichsen 2025-10-27 23:47:59 -04:00
parent ffa5eb8e07
commit 47589b0742

138
.gitignore vendored Normal file
View file

@ -0,0 +1,138 @@
# ───────────────────────────────
# Node.js / npm / pnpm
# ───────────────────────────────
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
.pnpm-debug.log*
.pnpm-store/
# ───────────────────────────────
# Environment Files
# ───────────────────────────────
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# Example envs are safe to commit
!.env.example
# ───────────────────────────────
# Build Artifacts
# ───────────────────────────────
dist/
build/
.cache/
.tmp/
.next/
out/
coverage/
logs/
*.log
*.pid
*.seed
*.pid.lock
# ───────────────────────────────
# Docker
# ───────────────────────────────
docker-data/
docker-redis/
volumes/
docker-compose.override.yml
# ───────────────────────────────
# TypeScript
# ───────────────────────────────
*.tsbuildinfo
tsconfig.tsbuildinfo
*.d.ts.map
# ───────────────────────────────
# shadcn / Tailwind / Next.js
# ───────────────────────────────
.next/
.next/cache/
.next/static/
.next/server/
.next/types/
.next/output/
public/build/
.turbo/
.turbopack/
tailwind.config.js.timestamp*
postcss.config.js.timestamp*
*.vercel
.vercel
.storybook/
.vitest/
.vitest-temp/
# ───────────────────────────────
# Redis dump and cache
# ───────────────────────────────
dump.rdb
*.rdb
*.aof
# ───────────────────────────────
# Backend temporary files
# ───────────────────────────────
backend/node_modules/
backend/npm-debug.log*
backend/.env
backend/.cache
backend/.next
backend/.turbo
backend/dist/
backend/build/
# ───────────────────────────────
# Frontend temporary files
# ───────────────────────────────
frontend/node_modules/
frontend/npm-debug.log*
frontend/.env
frontend/.cache
frontend/.next
frontend/.turbo
frontend/dist/
frontend/build/
# ───────────────────────────────
# Editor / OS Specific
# ───────────────────────────────
.DS_Store
Thumbs.db
.idea/
.vscode/
*.swp
*.swo
# ───────────────────────────────
# Coverage / Testing
# ───────────────────────────────
coverage/
.nyc_output/
jest-results/
test-results/
cypress/screenshots/
cypress/videos/
playwright-report/
test-output/
# ───────────────────────────────
# Miscellaneous
# ───────────────────────────────
*.bak
*.tmp
*.tgz
*.orig
*.rej
*.local
.envrc
.envrc.bak