# Thinking in Systems - Universal .gitignore # Covers: Node.js, React, Next.js, Python, Swift, and general development # ============================================ # Dependencies & Package Management # ============================================ node_modules/ bower_components/ jspm_packages/ vendor/ *.lock pnpm-lock.yaml # ============================================ # Build outputs & Compiled files # ============================================ dist/ build/ out/ .next/ .nuxt/ .output/ .vuepress/dist/ .serverless/ .fusebox/ .dynamodb/ *.com *.class *.dll *.exe *.o *.so *.dylib *.out # ============================================ # Environment & Configuration # ============================================ .env .env.* !.env.example .env.local .env.development.local .env.test.local .env.production.local config/local.json secrets.json *.key *.pem *.crt # ============================================ # Logs & Debug files # ============================================ logs/ *.log npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* .pnpm-debug.log* pids *.pid *.seed *.pid.lock # ============================================ # Testing & Coverage # ============================================ coverage/ *.lcov .nyc_output/ lib-cov/ test-results/ playwright-report/ playwright/.cache/ .jest/ __tests__/__snapshots__/ cypress/videos/ cypress/screenshots/ # ============================================ # IDE & Editor files # ============================================ .vscode/ !.vscode/extensions.json !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json .idea/ *.swp *.swo *.swn .project .classpath .c9/ *.launch .settings/ *.sublime-workspace *.sublime-project .cursorrules.local CLAUDE.local.md # ============================================ # Operating System files # ============================================ # macOS .DS_Store .AppleDouble .LSOverride Icon ._* .Spotlight-V100 .Trashes .AppleDB .AppleDesktop Network Trash Folder Temporary Items .apdisk # Windows Thumbs.db Thumbs.db:encryptable ehthumbs.db ehthumbs_vista.db [Dd]esktop.ini $RECYCLE.BIN/ *.cab *.msi *.msix *.msm *.msp *.lnk # Linux *~ .fuse_hidden* .directory .Trash-* .nfs* # ============================================ # Framework Specific - Next.js # ============================================ .next/ .swc/ next-env.d.ts # ============================================ # Framework Specific - React Native / Expo # ============================================ .expo/ .expo-shared/ *.orig.* web-build/ dist/ *.jks *.p8 *.p12 *.key *.mobileprovision # iOS ios/Pods/ ios/build/ ios/DerivedData/ *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 xcuserdata *.xccheckout *.moved-aside *.xcuserstate *.hmap *.ipa *.dSYM.zip *.dSYM # Android android/build/ android/.gradle/ android/local.properties android/.idea/ android/captures/ .externalNativeBuild/ .cxx/ *.apk *.aab output.json # ============================================ # Framework Specific - Python # ============================================ __pycache__/ *.py[cod] *$py.class *.egg *.egg-info/ dist/ build/ .eggs/ .Python pip-log.txt pip-delete-this-directory.txt .tox/ .nox/ .coverage .coverage.* .cache .pytest_cache/ .hypothesis/ htmlcov/ .scrapy docs/_build/ target/ .ipynb_checkpoints profile_default/ ipython_config.py .pyenv .venv env/ venv/ ENV/ env.bak/ venv.bak/ # ============================================ # Database & Storage # ============================================ *.sqlite *.sqlite3 *.db data/ tmp/ temp/ .tmp/ # ============================================ # Supabase # ============================================ .supabase/ supabase/.temp/ supabase/functions/*/index.ts # ============================================ # TypeScript # ============================================ *.tsbuildinfo .tsc-cache/ # ============================================ # Package files # ============================================ *.jar *.war *.nar *.ear *.zip *.tar.gz *.rar *.7z # ============================================ # Backup files # ============================================ *.bak *.backup *.old *.orig *.save *.tmp *.temp # ============================================ # Cache directories # ============================================ .cache/ .parcel-cache/ .npm/ .eslintcache .stylelintcache .rpt2_cache/ .rts2_cache_cjs/ .rts2_cache_es/ .rts2_cache_umd/ .turbo/ .yarn/cache/ .yarn/unplugged/ .yarn/build-state.yml .yarn/install-state.gz # ============================================ # Optional: Project specific # ============================================ # Add your project-specific ignores below uploads/ downloads/ generated/ *.generated.* # ============================================ # AI Development specific # ============================================ .claude-code/ .cursor/ .ai-cache/ brain-dump-backup*.md # ============================================ # Documentation build # ============================================ _site/ .sass-cache/ .jekyll-cache/ .jekyll-metadata # ============================================ # Terraform # ============================================ .terraform/ *.tfstate *.tfstate.* crash.log override.tf override.tf.json *_override.tf *_override.tf.json # ============================================ # Keep these files # ============================================ !.gitkeep !.gitignore !.github/ !.gitlab-ci.yml !.env.example !.env.template