- Enhanced .gitignore with Next.js 15, Cloudflare, and modern tooling patterns - Added comprehensive coverage for .open-next/ and .wrangler/ build directories - Removed accidentally committed build artifacts from version control - Added patterns for Vitest, Supabase, Tanstack Query, and other dependencies
154 lines
1.7 KiB
Plaintext
154 lines
1.7 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
node_modules/
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.js
|
|
.yarn/install-state.gz
|
|
|
|
# testing
|
|
/coverage
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
.next/
|
|
next-env.d.ts
|
|
*.tsbuildinfo
|
|
|
|
# vercel
|
|
.vercel/
|
|
.vercel
|
|
|
|
# production
|
|
/build
|
|
dist/
|
|
build/
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
.vscode/
|
|
.idea/
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# local env files
|
|
.env
|
|
.env*.local
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
.env.production
|
|
|
|
# typescript
|
|
*.log
|
|
|
|
# IDEs
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.idea/
|
|
*.sublime-project
|
|
*.sublime-workspace
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# project temp and large binary assets (avoid committing raw media dumps)
|
|
temp/
|
|
temp/**
|
|
*.mp4
|
|
*.mov
|
|
*.avi
|
|
*.mkv
|
|
*.psd
|
|
*.ai
|
|
*.zip
|
|
*.7z
|
|
*.rar
|
|
|
|
# BMAD (local only)
|
|
.bmad-core/
|
|
.bmad-*/
|
|
|
|
# database backups (local exports)
|
|
backups/
|
|
*.sql.bak
|
|
*.db-backup
|
|
|
|
# wrangler/cloudflare local state (do not commit)
|
|
.wrangler/
|
|
.wrangler/**
|
|
.dev.vars
|
|
.mf/
|
|
|
|
# opennext build files (NEVER commit these - they are build artifacts)
|
|
.open-next/
|
|
.open-next/**
|
|
.open next/
|
|
.vercel/output/
|
|
.vercel/output/**
|
|
|
|
# Cache directories
|
|
.cache/
|
|
.parcel-cache/
|
|
.turbo/
|
|
.swc/
|
|
|
|
# Lock files (keep only one)
|
|
# Uncomment the ones you don't use
|
|
# package-lock.json
|
|
# yarn.lock
|
|
# pnpm-lock.yaml
|
|
|
|
# Vitest
|
|
.vitest/
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Runtime data
|
|
pids/
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Optional npm cache directory
|
|
.npm
|
|
|
|
# Optional eslint cache
|
|
.eslintcache
|
|
|
|
# Sentry
|
|
.sentryclirc
|
|
|
|
# React Query
|
|
.react-query/
|
|
|
|
# Supabase
|
|
.supabase/
|
|
supabase/.temp/
|
|
|
|
# Tanstack Query Devtools
|
|
.tanstack/
|