update to standard .gitignore

This commit is contained in:
陆柯 2022-12-10 19:13:03 +08:00
parent ed9a91269f
commit 4f3bdb40cd

105
.gitignore vendored
View File

@ -1,63 +1,88 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
node_modules/ ### 目录 #################################################################
/test/unit/coverage/
/test/e2e/reports/ # 通用
.svn/ .svn/
.deploy_git/
.idea/ .idea/
.sass-cache/ .sass-cache/
.deploy_git/ /test/unit/coverage/
/test/e2e/reports/
node_modules/
*.apk
*.min.js
*.min.css
*.min.html
*.iml
*.njsproj
*.ntvs*
*.sw*
*.sln
*.suo
.gitattributes .gitattributes
_desktop.ini
.DS_Store
.thumbnails
Thumbs.db
thumbs.db
.umi .umi
.umi-production .umi-production
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
yarn.lock
selenium-debug.log selenium-debug.log
package-lock.json Thumbs.db
*.iml thumbs.db
*.njsproj _desktop.ini
*.ntvs*
*.sln
*.suo
._*
.$*
~$*
.bashrc_custom # vue-cli 项目
/dist/
# 来自 vue-cli 创建项目的 .gitignore
.project
# hexo # hexo
db.json /public/
# 客户端 uniapp 项目 # Hardhat
/unpackage/* /artifacts/
!/unpackage/res/ /cache/
# seafile 临时文件
._*
.$*
# office 暂存文件
~$*
# 用户shell配置脚本
.bashrc_custom
# 苹果系统临时文件
.DS_Store
# 安卓缓存文件夹
.thumbnails
# local env files
.env.local
.env.*.local
# hexo
/db.json
# wo
envar-*.gitignore.js
# 服务端
/_archive/* /_archive/*
/_datastore/* /_datastore/*
/_logstore/*
/_filestore/* /_filestore/*
/_logstore/*
/_webroot/* /_webroot/*
/dist/ /_ssl/*
*.apk # uniapp 客户端
*.min.js /unpackage/*
*.min.css !/unpackage/res/
*.min.html package-lock.json
/pages4loader.json5 pages4loader.json5
envar-web-custom.js
envar-deploy-secret.js
# hexo 项目
public/
# 服务端(server or uniapp-uniCloud)项目
envar-base-custom.js
envar-base-dynamic.js
envar-base-secret.js
# 保留
!.gitkeep !.gitkeep