- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
305 lines
5.3 KiB
Plaintext
305 lines
5.3 KiB
Plaintext
# {PROJECT_NAME} - .gitignore
|
|
# Template del Workspace de Fábrica de Software con Agentes IA
|
|
# Generado: {DATE}
|
|
|
|
# ============================================
|
|
# NODE.JS - DEPENDENCIAS (GLOBAL)
|
|
# ============================================
|
|
# Ignorar node_modules en CUALQUIER nivel de anidación
|
|
**/node_modules/
|
|
|
|
# Lock files (mantener solo el principal del proyecto)
|
|
# Descomentar los que NO uses:
|
|
# yarn.lock
|
|
# pnpm-lock.yaml
|
|
# bun.lockb
|
|
|
|
# Logs de package managers
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
lerna-debug.log*
|
|
.pnpm-debug.log*
|
|
|
|
# Directorios de dependencias alternativas
|
|
jspm_packages/
|
|
bower_components/
|
|
|
|
# Cache de npm
|
|
.npm/
|
|
.npmrc.local
|
|
|
|
# Cache de linters
|
|
.eslintcache
|
|
.stylelintcache
|
|
|
|
# ============================================
|
|
# TYPESCRIPT / BUILD ARTIFACTS (GLOBAL)
|
|
# ============================================
|
|
# Ignorar en CUALQUIER nivel de anidación
|
|
**/dist/
|
|
**/build/
|
|
**/out/
|
|
**/.next/
|
|
**/.nuxt/
|
|
**/.turbo/
|
|
|
|
# TypeScript
|
|
*.tsbuildinfo
|
|
**/*.tsbuildinfo
|
|
*.js.map
|
|
|
|
# ============================================
|
|
# FRAMEWORKS ESPECÍFICOS
|
|
# ============================================
|
|
# Angular / NX
|
|
.angular/
|
|
.nx/
|
|
**/.nx/
|
|
|
|
# Vite
|
|
**/.vite/
|
|
|
|
# Webpack
|
|
.webpack/
|
|
**/.webpack/
|
|
|
|
# ============================================
|
|
# ENVIRONMENT FILES - SECRETS
|
|
# ============================================
|
|
# CRÍTICO: Nunca commitear secrets
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
.env.production
|
|
.env.development
|
|
.env.test
|
|
.env.staging
|
|
|
|
# Archivos con secrets
|
|
**/secrets.json
|
|
**/credentials.json
|
|
**/*secrets*.json
|
|
**/*credentials*.json
|
|
**/*.secret
|
|
**/*.secrets
|
|
|
|
# Configuración con credenciales
|
|
**/database.config.ts
|
|
!**/database.config.example.ts
|
|
**/ormconfig.json
|
|
!**/ormconfig.example.json
|
|
|
|
# ============================================
|
|
# DATABASES
|
|
# ============================================
|
|
*.sql.backup
|
|
*.dump
|
|
*.pgdata
|
|
*.sql.gz
|
|
*.sqlite
|
|
*.sqlite3
|
|
*.db
|
|
*.db-journal
|
|
dump.rdb
|
|
|
|
# ============================================
|
|
# LOGS (GLOBAL)
|
|
# ============================================
|
|
**/logs/
|
|
**/*.log
|
|
**/pm2-logs/
|
|
**/*.pm2.log
|
|
|
|
# ============================================
|
|
# TESTING (GLOBAL)
|
|
# ============================================
|
|
**/coverage/
|
|
**/.nyc_output/
|
|
*.lcov
|
|
**/jest-cache/
|
|
.jest/
|
|
**/cypress/screenshots/
|
|
**/cypress/videos/
|
|
**/cypress/downloads/
|
|
**/playwright-report/
|
|
**/playwright/.cache/
|
|
**/test-results/
|
|
**/e2e-reports/
|
|
|
|
# ============================================
|
|
# IDEs and EDITORS
|
|
# ============================================
|
|
# VSCode - mantener configuración compartida
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
!.vscode/*.code-snippets
|
|
|
|
# JetBrains IDEs
|
|
.idea/
|
|
*.iml
|
|
*.iws
|
|
*.ipr
|
|
.idea_modules/
|
|
|
|
# Otros editores
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.netrwhist
|
|
Session.vim
|
|
\#*\#
|
|
.\#*
|
|
*.elc
|
|
auto-save-list/
|
|
|
|
# ============================================
|
|
# OS FILES
|
|
# ============================================
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
.directory
|
|
.Trash-*
|
|
Thumbs.db
|
|
Thumbs.db:encryptable
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
*.lnk
|
|
|
|
# ============================================
|
|
# DOCKER
|
|
# ============================================
|
|
docker-compose.override.yml
|
|
docker-compose.local.yml
|
|
.dockerignore.local
|
|
**/*.dockerignore.local
|
|
|
|
# ============================================
|
|
# DEPLOYMENT & SECURITY
|
|
# ============================================
|
|
ecosystem.config.js.local
|
|
pm2.config.js.local
|
|
|
|
# Claves y certificados
|
|
*.pem
|
|
*.key
|
|
*.p12
|
|
*.pfx
|
|
*.crt
|
|
*.cer
|
|
!*.example.pem
|
|
!*.example.key
|
|
!*.example.crt
|
|
!dev-cert.crt
|
|
|
|
# SSH keys
|
|
id_rsa*
|
|
id_ed25519*
|
|
*.pub
|
|
!*.example.pub
|
|
|
|
# ============================================
|
|
# TEMP FILES (GLOBAL)
|
|
# ============================================
|
|
**/tmp/
|
|
**/temp/
|
|
**/.tmp/
|
|
**/.temp/
|
|
**/*.tmp
|
|
**/*.temp
|
|
**/*.cache
|
|
**/.cache/
|
|
|
|
# ============================================
|
|
# CLAUDE CODE / AI
|
|
# ============================================
|
|
# Configuración local de Claude Code
|
|
.claude/
|
|
|
|
# orchestration/ NO se ignora (necesario para Claude Code cloud)
|
|
# Solo ignorar temporales
|
|
orchestration/.archive/
|
|
orchestration/.tmp/
|
|
orchestration/**/*.tmp
|
|
orchestration/**/*.cache
|
|
|
|
# ============================================
|
|
# REFERENCE (si aplica)
|
|
# ============================================
|
|
reference/**/node_modules/
|
|
reference/**/dist/
|
|
reference/**/build/
|
|
reference/**/.next/
|
|
reference/**/coverage/
|
|
reference/**/*.log
|
|
reference/**/*.tmp
|
|
reference/**/.DS_Store
|
|
|
|
# ============================================
|
|
# BACKUPS (GLOBAL)
|
|
# ============================================
|
|
*.backup
|
|
*.bak
|
|
*.old
|
|
*.orig
|
|
**/*_old/
|
|
**/*_bckp/
|
|
**/*_bkp/
|
|
**/*_backup/
|
|
|
|
# ============================================
|
|
# COMPRESSED FILES
|
|
# ============================================
|
|
*.zip
|
|
*.tar.gz
|
|
*.tar
|
|
*.rar
|
|
*.7z
|
|
!assets/**/*.zip
|
|
!public/**/*.zip
|
|
|
|
# ============================================
|
|
# MISCELÁNEOS
|
|
# ============================================
|
|
**/*.debug
|
|
**/debug.log
|
|
**/*.error
|
|
**/error.log
|
|
**/storybook-static/
|
|
.parcel-cache/
|
|
.serverless/
|
|
.fusebox/
|
|
.dynamodb/
|
|
.tern-port
|
|
*.code-workspace
|
|
|
|
# ============================================
|
|
# APPS ESPECÍFICAS (ajustar según proyecto)
|
|
# ============================================
|
|
# Backend
|
|
apps/backend/dist/
|
|
apps/backend/build/
|
|
|
|
# Frontend
|
|
apps/frontend/dist/
|
|
apps/frontend/build/
|
|
|
|
# Database
|
|
apps/database/*.dump
|
|
apps/database/*.backup
|
|
apps/database/data/
|
|
|
|
# DevOps
|
|
apps/devops/logs/
|
|
apps/devops/tmp/
|