diff --git a/.gitignore b/.gitignore index 07d8b9a..91b8328 100644 --- a/.gitignore +++ b/.gitignore @@ -1,29 +1,342 @@ +# ============================================ +# Certigo Addon - Comprehensive .gitignore +# ============================================ + +# ============================================ +# Go / Backend +# ============================================ + +# Binaries and executables +*.exe +*.exe~ +*.dll +*.so +*.dylib +backend/bin/ +backend/myapp +backend/certigo-addon +backend/certigo-addon-* +/tmp/certigo-addon-* + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool +*.out +coverage.html +coverage.txt + +# Go workspace file +go.work +go.work.sum + +# Go module cache (optional, but recommended for CI/CD) +# .go/ + +# ============================================ +# Node.js / Frontend +# ============================================ + # Dependencies node_modules/ frontend/node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* # Build outputs dist/ +dist-ssr/ frontend/dist/ -backend/bin/ +*.local +# Vite +.vite/ +vite.config.js.timestamp-* +vite.config.ts.timestamp-* + +# Environment +.env +.env.local +.env.development.local +.env.test.local +.env.production.local +.env*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +# ============================================ # Database +# ============================================ + +# SQLite databases *.db +*.db-shm +*.db-wal *.sqlite *.sqlite3 backend/spaces.db +backend/*.db -# Environment variables -.env -.env.local +# Database backups +*.sql.backup +*.db.backup -# IDE +# ============================================ +# Uploads & User-generated Content +# ============================================ + +# User uploads (avatars, files, etc.) +backend/uploads/ +backend/uploads/** +!backend/uploads/.gitkeep +frontend/public/uploads/ + +# ============================================ +# Logs +# ============================================ + +logs/ +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* +backend/*.log + +# ============================================ +# IDE & Editors +# ============================================ + +# VSCode .vscode/ +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# IntelliJ IDEA / WebStorm .idea/ +*.iml +*.iws +*.ipr +out/ + +# Sublime Text +*.sublime-project +*.sublime-workspace + +# Vim *.swp *.swo +*~ +.vim/ -# OS +# Emacs +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# ============================================ +# OS Files +# ============================================ + +# macOS .DS_Store -Thumbs.db +.AppleDouble +.LSOverride +Icon +._* +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk +# Windows +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db +*.stackdump +[Dd]esktop.ini +$RECYCLE.BIN/ +*.cab +*.msi +*.msix +*.msm +*.msp +*.lnk + +# Linux +*~ +.fuse_hidden* +.directory +.Trash-* +.nfs* + +# ============================================ +# Temporary & Cache Files +# ============================================ + +# Temporary files +*.tmp +*.temp +*.bak +*.backup +*.swp +*~.nib +*.orig + +# Cache directories +.cache/ +.parcel-cache/ +.eslintcache +.stylelintcache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ +.node_repl_history +.yarn-integrity + +# ============================================ +# Testing & Coverage +# ============================================ + +# Test coverage +coverage/ +*.lcov +.nyc_output/ +.coverage/ +htmlcov/ +.pytest_cache/ +.tox/ + +# Jest +.jest/ + +# ============================================ +# Build Tools & CI/CD +# ============================================ + +# Build artifacts +build/ +out/ +target/ +.next/ +.nuxt/ +.cache/ + +# CI/CD +.github/workflows/*.yml.local +.circleci/ +.travis.yml.local + +# ============================================ +# Security & Secrets +# ============================================ + +# Secrets and credentials +*.pem +*.key +*.crt +*.cert +secrets/ +.secrets/ +*.secret +config/secrets.* + +# API keys and tokens +.env.secret +.env.production +.env.staging + +# ============================================ +# Documentation Build +# ============================================ + +# Generated documentation +docs/_build/ +site/ + +# ============================================ +# Misc +# ============================================ + +# Package manager lock files (optional - uncomment if you want to ignore) +# package-lock.json +# yarn.lock +# pnpm-lock.yaml + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env.development +.env.test +.env.production + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# ============================================ +# Project-specific +# ============================================ + +# OpenAPI generated files (if any) +backend/generated/ +backend/api/ + +# Provider test outputs +backend/test-outputs/ + +# Script outputs +backend/scripts/output/ + +# Keep directory structure but ignore contents +!backend/uploads/.gitkeep +!backend/config/providers/.gitkeep diff --git a/backend/myapp b/backend/myapp deleted file mode 100755 index 60f232f..0000000 Binary files a/backend/myapp and /dev/null differ diff --git a/backend/uploads/avatars/5ff86878-5277-4c18-af6b-1a63faaf3371.png b/backend/uploads/avatars/5ff86878-5277-4c18-af6b-1a63faaf3371.png deleted file mode 100644 index aaf893a..0000000 Binary files a/backend/uploads/avatars/5ff86878-5277-4c18-af6b-1a63faaf3371.png and /dev/null differ diff --git a/backend/uploads/avatars/7124facd-9b11-40d1-83b1-ca747f2a8b0f.png b/backend/uploads/avatars/7124facd-9b11-40d1-83b1-ca747f2a8b0f.png deleted file mode 100644 index d601cd8..0000000 Binary files a/backend/uploads/avatars/7124facd-9b11-40d1-83b1-ca747f2a8b0f.png and /dev/null differ