chore: 添加.gitignore文件以忽略常见不需要跟踪的文件

This commit is contained in:
2026-04-29 17:20:57 +08:00
parent bd98ae0083
commit 149cd0222d

46
.gitignore vendored Normal file
View File

@@ -0,0 +1,46 @@
# Dependencies
node_modules/
package-lock.json
yarn.lock
pnpm-lock.yaml
# Build outputs
dist/
build/
out/
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
ehthumbs.db
Desktop.ini
# Logs
*.log
logs/
# Environment
.env
.env.local
.env.*.local
# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Test
coverage/
.nyc_output/
# Temporary files
*.tmp
*.temp
.cache/