From ff310d97dfeace418a3bc9b69246707f034b38fa Mon Sep 17 00:00:00 2001 From: DustyWalker Date: Tue, 5 Aug 2025 16:51:14 +0200 Subject: [PATCH] feat: add .gitignore - comprehensive ignore patterns for Node.js SaaS project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comprehensive .gitignore covering: - Node.js dependencies and runtime files - Build outputs and distribution directories - Environment variables and configuration secrets - Application and system logs - Database files and storage - Cloud deployment and infrastructure files - Development tools and OS-generated files - Testing outputs and coverage reports - Security certificates and private keys - Application-specific uploads and cache - Package manager artifacts - CI/CD build artifacts and deployment secrets 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .gitignore | 366 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 366 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f4385d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,366 @@ +# ============================================================================= +# Node.js & JavaScript +# ============================================================================= + +# Dependencies +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Coverage directory used by tools like istanbul +coverage/ +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage +.grunt + +# Bower dependency directory +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons +build/Release + +# Dependency directories +jspm_packages/ + +# Snowpack dependency directory +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# ============================================================================= +# Build Outputs +# ============================================================================= + +# Distribution directories +dist/ +build/ +out/ +.output/ +.vercel/ +.netlify/ + +# Vite build outputs +.vite/ + +# Next.js build output +.next/ + +# Nuxt.js build / generate output +.nuxt/ + +# Gatsby files +.cache/ +public/ + +# Webpack bundles +*.bundle.js +*.bundle.js.map + +# ============================================================================= +# Environment & Configuration +# ============================================================================= + +# Environment variables +.env +.env.local +.env.development.local +.env.test.local +.env.production.local +.env.*.local + +# Docker environment files +.env.docker +docker-compose.override.yml + +# Configuration files with secrets +config.json +secrets.json +credentials.json + +# ============================================================================= +# Logs +# ============================================================================= + +# Log files +logs/ +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +# Application logs +app.log +error.log +access.log +combined.log + +# PM2 logs +.pm2/ + +# ============================================================================= +# Database & Storage +# ============================================================================= + +# SQLite databases +*.sqlite +*.sqlite3 +*.db + +# Database dumps +*.sql +*.dump + +# Redis dumps +dump.rdb + +# ============================================================================= +# Cloud & Deployment +# ============================================================================= + +# AWS +.aws/ +aws-exports.js + +# Serverless directories +.serverless/ + +# Terraform +*.tfstate +*.tfstate.* +.terraform/ +.terraform.lock.hcl + +# Pulumi +Pulumi.*.yaml + +# ============================================================================= +# Development Tools +# ============================================================================= + +# IDE/Editor files +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db +Desktop.ini + +# Temporary files +*.tmp +*.temp +temp/ +tmp/ + +# ============================================================================= +# Testing +# ============================================================================= + +# Test outputs +test-results/ +playwright-report/ +test-report/ + +# Coverage reports +coverage/ +.coverage +htmlcov/ + +# Jest +jest-coverage/ + +# ============================================================================= +# Security & Certificates +# ============================================================================= + +# SSL certificates +*.pem +*.key +*.crt +*.cert +*.p12 +*.pfx + +# Private keys +id_rsa +id_ed25519 +*.priv + +# GPG keys +*.gpg +*.asc + +# ============================================================================= +# Application Specific +# ============================================================================= + +# Uploaded files +uploads/ +user-uploads/ +temp-uploads/ + +# Processed images +processed/ +thumbnails/ + +# Cache directories +.cache/ +cache/ +.temp/ + +# Session storage +sessions/ + +# MinIO/S3 local storage +minio-data/ +s3-local/ + +# ClamAV database +clamav-db/ + +# ============================================================================= +# Monitoring & Analytics +# ============================================================================= + +# Sentry +.sentryclirc + +# New Relic +newrelic_agent.log + +# Application monitoring +apm-agent-nodejs.log + +# ============================================================================= +# Package Managers +# ============================================================================= + +# pnpm +.pnpm-debug.log* +.pnpm-store/ + +# Yarn +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions +.pnp.* + +# ============================================================================= +# Miscellaneous +# ============================================================================= + +# Backup files +*.bak +*.backup +*.old +*.orig + +# Archive files +*.zip +*.tar.gz +*.rar +*.7z + +# Large media files (development) +*.mov +*.mp4 +*.avi +*.mkv +*.webm + +# Documentation builds +docs/build/ +site/ + +# Storybook build outputs +storybook-static/ + +# Chromatic +build-storybook.log + +# ============================================================================= +# Local Development +# ============================================================================= + +# Local configuration +.local +.development +dev.json + +# Database seeds (if containing sensitive data) +seeds/local/ + +# Local scripts +scripts/local/ + +# Development certificates +dev-certs/ + +# Hot reload +.hot-reload + +# ============================================================================= +# CI/CD +# ============================================================================= + +# Build artifacts from CI +artifacts/ +reports/ + +# Deployment scripts with secrets +deploy-secrets.sh +deploy.env \ No newline at end of file