.gitignore 908 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Logs
  2. logs
  3. *.log
  4. npm-debug.log*
  5. yarn-debug.log*
  6. yarn-error.log*
  7. pnpm-debug.log*
  8. lerna-debug.log*
  9. node_modules
  10. .DS_Store
  11. # 忽略 dist 目录,但保留 dist/build/web
  12. dist/*
  13. !dist/build/
  14. dist/build/*
  15. !dist/build/web/
  16. *.local
  17. # Editor directories and files
  18. .idea
  19. *.suo
  20. *.ntvs*
  21. *.njsproj
  22. *.sln
  23. *.sw?
  24. .hbuilderx
  25. .stylelintcache
  26. .eslintcache
  27. docs/.vitepress/dist
  28. docs/.vitepress/cache
  29. src/types
  30. # lock 文件还是不要了,我主要的版本写死就好了
  31. # pnpm-lock.yaml
  32. # package-lock.json
  33. # TIPS:如果某些文件已经加入了版本管理,现在重新加入 .gitignore 是不生效的,需要执行下面的操作
  34. # `git rm -r --cached .` 然后提交 commit 即可。
  35. # git rm -r --cached file1 file2 ## 针对某些文件
  36. # git rm -r --cached dir1 dir2 ## 针对某些文件夹
  37. # git rm -r --cached . ## 针对所有文件
  38. # 更新 uni-app 官方版本
  39. # npx @dcloudio/uvm@latest