.gitignore 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # 通过 Git 部署项目至线上时建议删除的忽略规则
  2. /vendor
  3. /modules
  4. /public/*.lock
  5. /public/index.html
  6. /public/assets
  7. # 通过 Git 部署项目至线上时可以考虑删除的忽略规则
  8. /public/storage/*
  9. composer.lock
  10. pnpm-lock.yaml
  11. package-lock.json
  12. yarn.lock
  13. # common
  14. /nbproject
  15. /runtime/*
  16. /install
  17. node_modules
  18. dist
  19. dist-ssr
  20. .DS_Store
  21. /.env
  22. Desktop.ini
  23. # 部署到线上时,如果您已经删除了 /modules 的忽略规则,那么以下规则可以帮您排除多余的模块文件(已知的多余/重复文件)
  24. # 请勿在已经忽略以下文件[夹]的环境下卸载模块,该操作将导致未知异常!
  25. /modules/ebak
  26. /modules/*/app
  27. /modules/*/config
  28. /modules/*/extend
  29. /modules/*/public
  30. /modules/*/vendor
  31. /modules/*/web
  32. /modules/*/web-nuxt
  33. /modules/*/install.sql
  34. /modules/*/config.json
  35. /modules/*/LICENSE
  36. /modules/*/README.md
  37. /modules/*/uniapp.zip
  38. # Log files
  39. *.log
  40. npm-debug.log*
  41. yarn-debug.log*
  42. yarn-error.log*
  43. pnpm-debug.log*
  44. # Editor directories and files
  45. .idea
  46. .vscode
  47. *.suo
  48. *.ntvs*
  49. *.njsproj
  50. *.sln
  51. *.sw?
  52. !/web/.vscode
  53. # Other
  54. *.css.map
  55. *.local
  56. !.gitkeep
  57. .svn