Update .gitignore with Node.js and additional ignore rules

Add comprehensive ignore patterns for Node.js projects, build artifacts, logs, and temporary files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
StillHammer 2025-10-27 16:22:09 +08:00
parent 0950b9ef0c
commit bc6237569f

32
.gitignore vendored
View File

@ -1,6 +1,21 @@
# Environment variables # Environment variables
.env .env
.env.local .env.local
.env.production
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.npm
.yarn/
dist/
build/
*.tsbuildinfo
.next/
out/
# Python # Python
__pycache__/ __pycache__/
@ -12,6 +27,8 @@ venv/
env/ env/
ENV/ ENV/
.venv .venv
*.egg-info/
.pytest_cache/
# OCR outputs (optional - uncomment if you don't want to track OCR results) # OCR outputs (optional - uncomment if you don't want to track OCR results)
# Raw/*/OCR/ # Raw/*/OCR/
@ -35,3 +52,18 @@ Thumbs.db
# PDF files # PDF files
*.pdf *.pdf
# Logs
*.log
logs/
# Temporary files
*.tmp
*.temp
.cache/
# Build artifacts
*.exe
*.dll
*.so
*.dylib