.gitignore 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ######################################################################
  2. # Build Tools
  3. .gradle
  4. !gradle/wrapper/gradle-wrapper.jar
  5. target/
  6. !.mvn/wrapper/maven-wrapper.jar
  7. ######################################################################
  8. # IDE
  9. ### STS ###
  10. .apt_generated
  11. .classpath
  12. .factorypath
  13. .project
  14. .settings
  15. .springBeans
  16. ### IntelliJ IDEA ###
  17. .idea
  18. *.iws
  19. *.iml
  20. *.ipr
  21. ### JRebel ###
  22. rebel.xml
  23. ### NetBeans ###
  24. nbproject/private/
  25. nbbuild/
  26. dist/
  27. nbdist/
  28. .nb-gradle/
  29. ######################################################################
  30. # Others
  31. *.log
  32. **/.flattened-pom.xml
  33. *.xml.versionsBackup
  34. *.swp
  35. # Git worktrees
  36. .worktrees/
  37. !*/build/*.java
  38. !*/build/*.html
  39. !*/build/*.xml
  40. deploy/
  41. .DS_Store
  42. node_modules/
  43. npm-debug.log*
  44. yarn-debug.log*
  45. yarn-error.log*
  46. **/*.log
  47. # 运行时产物,一律不进版本库:
  48. # var/logs 服务日志(含将来可能出现的 .gz 滚动日志、heapdump 等非 .log 后缀文件)
  49. # var/tmp 排查诊断临时文件(SDK 反编译输出、Java Agent、一次性验证脚本与截图等)
  50. var/
  51. tests/**/coverage/
  52. tests/e2e/reports
  53. selenium-debug.log
  54. # Editor directories and files
  55. .vscode
  56. *.suo
  57. *.ntvs*
  58. *.njsproj
  59. *.sln
  60. *.local
  61. package-lock.json
  62. yarn.lock
  63. ######################################################################
  64. # 本地配置文件(避免泄露敏感信息)
  65. ######################################################################
  66. # 后端配置
  67. **/application-dev.yml
  68. **/application-local.yml
  69. **/application-dev.properties
  70. **/application-local.properties
  71. **/config/application-*.yml
  72. **/config/application-*.properties
  73. # 前端配置
  74. **/.env.local
  75. **/.env.development.local
  76. **/vite.config.local.js
  77. # 其他敏感配置
  78. **/application-*.yml.*
  79. **/*config*.local.*
  80. *.env
  81. .env
  82. *.secrets
  83. forge/db/community-export/
  84. *docs-dist
  85. !/docs/vendor/