From e8f9cc67ff0875956c7065aa9cb4978e3c12368d Mon Sep 17 00:00:00 2001 From: Guide Date: Fri, 21 Nov 2025 02:50:15 +0300 Subject: [PATCH] Update .gitignore --- .gitignore | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 89d6ce28..5f02f461 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,46 @@ -.vscode -node_modules +# 📦 Dependencies +node_modules/ .yarn/cache .yarn/install-state.gz -ts/dest -/build \ No newline at end of file +# 🛡️ SAFETY: Ignore error logs to keep the repo clean +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# 🏗️ Build & Output +# Using a trailing slash matches directories specifically +/build/ +ts/dest/ +# Common other build artifacts (just in case) +dist/ +out/ +coverage/ + +# 🔐 Security & Environment +# CRITICAL: Never commit environment variable files containing secrets! +.env +.env.local +.env.development.local +.env.test.local +.env.production.local + +# 🖥️ OS & System Files +.DS_Store +Thumbs.db +.idea/ + +# 🆚 Editor Config (Smart Approach) +# Don't ignore the whole .vscode folder! +# We want to share 'extensions.json' and 'launch.json' but ignore local user state. +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# 🚀 Somnia/Aztec Specifics (Based on context) +# If you have generated circuit artifacts that shouldn't be committed: +# proofs/ +# circuits/*.json