From 010a8a5bf864246ac51e55914507662d4354cb05 Mon Sep 17 00:00:00 2001 From: Luk Date: Sun, 28 Jan 2024 12:17:41 +0800 Subject: [PATCH] updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh --- .gitignore | 120 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 80 insertions(+), 40 deletions(-) diff --git a/.gitignore b/.gitignore index dc3e90b..b316cfd 100755 --- a/.gitignore +++ b/.gitignore @@ -1,63 +1,103 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. +# how to include another gitignore? +# https://stackoverflow.com/questions/7005142/can-i-include-other-gitignore-file-in-a-gitignore-file-like-include-in-c-li +# https://github.com/github/gitignore +# https://github.com/SlideWave/gitignore-include?tab=readme-ov-file#examples +# https://gitignore.io -node_modules/ -/test/unit/coverage/ -/test/e2e/reports/ +### .gitignore_global ### + +# Self defined extension to ignore all files/folders containing .gitignore +*.gitignore.* +*.gitignore.*/ +*.gitignore +*.gitignore/ +!.gitignore + +# 通用 .svn/ +.deploy_git/ .idea/ .sass-cache/ -.deploy_git/ +.wrangler +/test/unit/coverage/ +/test/e2e/reports/ +node_modules/ +*.apk +*.min.js +*.min.css +*.min.html +*.iml +*.njsproj +*.ntvs* +*.sw* +*.sln +*.suo .gitattributes -_desktop.ini -.DS_Store -.thumbnails -Thumbs.db -thumbs.db .umi .umi-production npm-debug.log* yarn-debug.log* yarn-error.log* +yarn.lock selenium-debug.log -package-lock.json -*.iml -*.njsproj -*.ntvs* -*.sln -*.suo -._* -.$* -~$* +Thumbs.db +thumbs.db +_desktop.ini -.bashrc_custom +# vue-cli 项目 +/dist/ + +# 来自 vue-cli 创建项目的 .gitignore +.project # hexo -db.json +/public/ -# 客户端 uniapp 项目 -/unpackage/* -!/unpackage/res/ +# Hardhat +/artifacts/ +/cache/ +# seafile 临时文件 +._* + +.$* + +# office 暂存文件 +~$* + +# 用户shell配置脚本 +.bashrc_custom + +# 苹果系统临时文件 +.DS_Store + +# 安卓缓存文件夹 +.thumbnails + +# local env files +.env.local +.env.*.local + +# hexo +/db.json + +# wo +# 服务端 /_archive/* /_datastore/* -/_logstore/* /_filestore/* +/_logstore/* /_webroot/* -/dist/ -*.apk -*.min.js -*.min.css -*.min.html -/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 +/_ssl/* +# uniapp 客户端 +/unpackage/* +!/unpackage/res/ +package-lock.json +pages4loader.json5 +# 保留 !.gitkeep + +### .gitignore_local ### +