362 lines
5.5 KiB
Plaintext
362 lines
5.5 KiB
Plaintext
# ============================================
|
|
# 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/
|
|
*.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
|
|
backend/**/*.db
|
|
backend/**/*.db-shm
|
|
backend/**/*.db-wal
|
|
|
|
# Test databases
|
|
backend/testing/**/*.db
|
|
backend/testing/**/*.db-shm
|
|
backend/testing/**/*.db-wal
|
|
|
|
# Database backups
|
|
*.sql.backup
|
|
*.db.backup
|
|
|
|
# ============================================
|
|
# 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
|
|
backend/logs/
|
|
backend/logs/**
|
|
*.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/
|
|
|
|
# Emacs
|
|
*~
|
|
\#*\#
|
|
/.emacs.desktop
|
|
/.emacs.desktop.lock
|
|
*.elc
|
|
auto-save-list
|
|
tramp
|
|
.\#*
|
|
|
|
# ============================================
|
|
# OS Files
|
|
# ============================================
|
|
|
|
# macOS
|
|
.DS_Store
|
|
.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/
|
|
|
|
# Testing directory (keep structure, ignore test databases)
|
|
backend/testing/scripts/*.db
|
|
backend/testing/scripts/*.db-shm
|
|
backend/testing/scripts/*.db-wal
|
|
|
|
# Keep directory structure but ignore contents
|
|
!backend/uploads/.gitkeep
|
|
!backend/config/providers/.gitkeep
|
|
!backend/testing/.gitkeep
|
|
!backend/testing/README.md
|
|
!backend/testing/scripts/*.go
|