diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e11f8cd --- /dev/null +++ b/.gitignore @@ -0,0 +1,153 @@ +# ========================================== +# 相宜相亲项目 - Git忽略文件 +# ========================================== + +# ------------------------------------------ +# .NET / ASP.NET Core +# ------------------------------------------ +## 构建输出 +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +[Ll]og/ +[Ll]ogs/ + +## Visual Studio +.vs/ +*.suo +*.user +*.userosscache +*.sln.docstates +*.userprefs + +## NuGet +*.nupkg +**/[Pp]ackages/* +!**/[Pp]ackages/build/ +*.nuget.props +*.nuget.targets + +## .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +## 发布输出 +publish/ +PublishProfiles/ + +## 用户密钥和配置 +appsettings.*.json +!appsettings.json +!appsettings.Development.json.example +secrets.json +*.pfx +*.publishsettings + +# ------------------------------------------ +# Node.js / Vue / Vite / uni-app +# ------------------------------------------ +## 依赖目录 +node_modules/ +.pnpm-store/ + +## 构建输出 +dist/ +dist-ssr/ +.output/ +.nuxt/ + +## 缓存 +.npm/ +.eslintcache +.stylelintcache +*.tsbuildinfo +.vite/ + +## 日志 +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +## 环境变量 +.env +.env.local +.env.*.local +.env.development.local +.env.test.local +.env.production.local + +# ------------------------------------------ +# uni-app 特定 +# ------------------------------------------ +unpackage/ +.hbuilderx/ + +# ------------------------------------------ +# IDE / 编辑器 +# ------------------------------------------ +## Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +## JetBrains IDEs (Rider, WebStorm等) +.idea/ +*.iml + +## HBuilderX +.hbuilderx/ + +# ------------------------------------------ +# 操作系统 +# ------------------------------------------ +## Windows +Thumbs.db +ehthumbs.db +Desktop.ini +$RECYCLE.BIN/ + +## macOS +.DS_Store +.AppleDouble +.LSOverride +._* + +## Linux +*~ + +# ------------------------------------------ +# 其他 +# ------------------------------------------ +## 临时文件 +*.tmp +*.temp +*.swp +*.swo +*.bak +*.log + +## 测试覆盖率 +coverage/ +*.lcov +.nyc_output/ + +## 本地开发数据库 +*.mdf +*.ldf +*.db +*.sqlite + +## 上传文件目录(如果在项目内) +uploads/ +wwwroot/uploads/ + +## 证书文件 +*.pem +*.key +*.crt +*.cer