初始化gitignore

This commit is contained in:
2026-07-24 17:08:12 +08:00
parent 6d63e502ff
commit 08e6d08668
+51
View File
@@ -0,0 +1,51 @@
# 依赖与构建产物
**/node_modules/
**/dist/
**/build/
**/target/
**/out/
**/.next/
**/.nuxt/
**/coverage/
# 日志、缓存与临时文件
**/*.log
**/*.tmp
**/*.temp
**/.cache/
**/.eslintcache
**/npm-debug.log*
**/yarn-debug.log*
**/yarn-error.log*
**/pnpm-debug.log*
# IDE 与操作系统文件
.idea/
.vscode/
*.iml
.project
.classpath
.settings/
.DS_Store
Thumbs.db
# 本地环境和密钥配置(保留示例文件)
**/.env
**/.env.local
**/.env.*.local
!**/.env.example
!**/.env.*.example
# Java 编译文件
**/*.class
.trae/.ignore
.trae/cache-components/SKILL.md
.trae/code-reviewer/SKILL.md
.trae/find-skills/SKILL.md
.trae/fix/SKILL.md
.trae/frontend-code-review/SKILL.md
.trae/frontend-design/SKILL.md
.trae/fullstack-developer/SKILL.md
.trae/pr-creator/SKILL.md
.trae/update-docs/SKILL.md
.trae/webapp-testing/SKILL.md