From dc111905273199b3c168d9623fead0f33db2ddbe Mon Sep 17 00:00:00 2001 From: mobiniqow Date: Sun, 27 Sep 2026 10:30:06 +0330 Subject: [PATCH] chore: rewrite root .gitignore for monorepo (drop blanket subfolder ignores) --- .gitignore | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index cff353a..8fcdd88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,42 @@ -# این‌ها هرکدوم ریپوی گیت جدای خودشونن، اینجا فقط فایل‌های orchestration ردیابی می‌شن -/backend/ -/admin/ -/web/ -/twa/ +# --- محیط/سکرت‌ها --- .env +.env.* +!.env.example +!.env.*.example + +# --- Go (backend) --- +/backend/server +/backend/*.exe +/backend/*.test +/backend/*.out +/backend/uploads/ +/backend/backups/ + +# --- Node (web/admin) --- +node_modules/ +.next/ +/out/ +*.tsbuildinfo +next-env.d.ts +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* +.vercel + +# --- آرشیوهای اضافی که قرار نبود توی گیت باشن --- +*.zip + +# --- Android/TWA: build و کلید امضا (نباید توی گیت باشه) --- +/twa/app/build/ +/twa/build/ +/twa/.gradle/ +/twa/local.properties +*.apk +*.aab +/twa/android.keystore + +# --- IDE / OS --- +.idea/ +.vscode/ +.DS_Store