chore: add comprehensive .gitignore file

- Ignore node_modules and dependency files
- Exclude build outputs (dist/, build/, .vite/)
- Ignore environment variables and secrets
- Exclude IDE/editor files (.vscode/, .idea/)
- Ignore OS generated files (.DS_Store, Thumbs.db)
- Exclude logs, cache, and temporary files
- Add TypeScript and Vite specific ignores
This commit is contained in:
Gigi
2025-10-02 07:18:04 +02:00
parent 5d53a827e0
commit 4af9cd646b

118
.gitignore vendored Normal file
View File

@@ -0,0 +1,118 @@
# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# Build outputs
dist/
build/
.vite/
.vite/deps/
# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Coverage directory used by tools like istanbul
coverage/
*.lcov
# nyc test coverage
.nyc_output
# Dependency directories
jspm_packages/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Storybook build outputs
.out
.storybook-out
# Temporary folders
tmp/
temp/
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# TypeScript cache
*.tsbuildinfo
# Vite
.vite/
# Local development
.env.local
.env.development.local
.env.test.local
.env.production.local