- 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>
403 lines
6.7 KiB
Plaintext
403 lines
6.7 KiB
Plaintext
# GAMILIT Monorepo - .gitignore
|
|
# Generado: 2025-11-01 (RFC-0001)
|
|
# Actualizado: 2025-12-05
|
|
|
|
# ============================================
|
|
# NODE.JS - DEPENDENCIAS (GLOBAL)
|
|
# ============================================
|
|
# Ignorar node_modules en CUALQUIER nivel de anidación
|
|
**/node_modules/
|
|
|
|
# Lock files de otros package managers (mantener solo package-lock.json)
|
|
yarn.lock
|
|
pnpm-lock.yaml
|
|
bun.lockb
|
|
|
|
# Logs de npm/yarn/pnpm
|
|
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 eslint/stylelint
|
|
.eslintcache
|
|
.stylelintcache
|
|
|
|
# ============================================
|
|
# TYPESCRIPT / BUILD ARTIFACTS (GLOBAL)
|
|
# ============================================
|
|
# Ignorar dist/build en CUALQUIER nivel
|
|
**/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 de base de datos con credenciales
|
|
**/database.config.ts
|
|
!**/database.config.example.ts
|
|
**/ormconfig.json
|
|
!**/ormconfig.example.json
|
|
|
|
# ============================================
|
|
# DATABASES
|
|
# ============================================
|
|
# Backups y dumps
|
|
*.sql.backup
|
|
*.dump
|
|
*.pgdata
|
|
*.sql.gz
|
|
|
|
# Bases de datos locales
|
|
*.sqlite
|
|
*.sqlite3
|
|
*.db
|
|
*.db-journal
|
|
|
|
# Redis
|
|
dump.rdb
|
|
|
|
# ============================================
|
|
# LOGS (GLOBAL)
|
|
# ============================================
|
|
**/logs/
|
|
**/*.log
|
|
**/pm2-logs/
|
|
**/*.pm2.log
|
|
|
|
# ============================================
|
|
# TESTING (GLOBAL)
|
|
# ============================================
|
|
**/coverage/
|
|
**/.nyc_output/
|
|
*.lcov
|
|
|
|
# Jest
|
|
**/jest-cache/
|
|
.jest/
|
|
|
|
# Cypress
|
|
**/cypress/screenshots/
|
|
**/cypress/videos/
|
|
**/cypress/downloads/
|
|
|
|
# Playwright
|
|
**/playwright-report/
|
|
**/playwright/.cache/
|
|
**/test-results/
|
|
|
|
# E2E reports
|
|
**/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/
|
|
|
|
# Sublime Text
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
|
|
# Vim/Neovim
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.netrwhist
|
|
Session.vim
|
|
|
|
# Emacs
|
|
\#*\#
|
|
.\#*
|
|
*.elc
|
|
auto-save-list/
|
|
|
|
# ============================================
|
|
# OS FILES
|
|
# ============================================
|
|
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
|
|
# Linux
|
|
*~
|
|
.directory
|
|
.Trash-*
|
|
|
|
# Windows
|
|
Thumbs.db
|
|
Thumbs.db:encryptable
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
*.lnk
|
|
|
|
# ============================================
|
|
# DOCKER
|
|
# ============================================
|
|
docker-compose.override.yml
|
|
docker-compose.local.yml
|
|
.dockerignore.local
|
|
**/*.dockerignore.local
|
|
|
|
# ============================================
|
|
# DEPLOYMENT & SECURITY
|
|
# ============================================
|
|
# PM2
|
|
ecosystem.config.js.local
|
|
pm2.config.js.local
|
|
|
|
# Claves y certificados
|
|
*.pem
|
|
*.key
|
|
*.p12
|
|
*.pfx
|
|
!*.example.pem
|
|
!*.example.key
|
|
|
|
# SSL certificates
|
|
*.crt
|
|
*.cer
|
|
!dev-cert.crt
|
|
!*.example.crt
|
|
|
|
# SSH keys
|
|
id_rsa*
|
|
id_ed25519*
|
|
*.pub
|
|
!*.example.pub
|
|
|
|
# ============================================
|
|
# TEMP FILES (GLOBAL)
|
|
# ============================================
|
|
**/tmp/
|
|
**/temp/
|
|
**/.tmp/
|
|
**/.temp/
|
|
**/*.tmp
|
|
**/*.temp
|
|
**/*.cache
|
|
**/.cache/
|
|
|
|
# ============================================
|
|
# ARTIFACTS
|
|
# ============================================
|
|
/artifacts/temp/
|
|
/artifacts/cache/
|
|
/artifacts/**/*.tmp
|
|
/artifacts/**/*.cache
|
|
|
|
# ============================================
|
|
# CLAUDE CODE / AI
|
|
# ============================================
|
|
# Configuración local de Claude Code
|
|
.claude/
|
|
|
|
# Pero NO ignorar orchestration (necesario para Claude Code cloud)
|
|
# Solo ignorar temporales dentro de orchestration
|
|
orchestration/.archive/
|
|
orchestration/.tmp/
|
|
orchestration/**/*.tmp
|
|
orchestration/**/*.cache
|
|
|
|
# ============================================
|
|
# REFERENCE (Código de Referencia)
|
|
# ============================================
|
|
# reference/ DEBE estar en el repo
|
|
# Solo ignorar build/dependencias dentro
|
|
reference/**/node_modules/
|
|
reference/**/dist/
|
|
reference/**/build/
|
|
reference/**/.next/
|
|
reference/**/.nuxt/
|
|
reference/**/coverage/
|
|
reference/**/.turbo/
|
|
reference/**/.nx/
|
|
reference/**/out/
|
|
reference/**/*.log
|
|
reference/**/*.tmp
|
|
reference/**/*.cache
|
|
reference/**/.DS_Store
|
|
|
|
# ============================================
|
|
# PACKAGE MANAGERS
|
|
# ============================================
|
|
# Yarn
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/sdks
|
|
!.yarn/versions
|
|
.pnp.*
|
|
|
|
# PNPM
|
|
.pnpm-store/
|
|
|
|
# ============================================
|
|
# MONITORING & OBSERVABILITY
|
|
# ============================================
|
|
newrelic_agent.log
|
|
.monitors/
|
|
**/.sentry/
|
|
**/sentry-debug.log
|
|
|
|
# ============================================
|
|
# BACKUPS (GLOBAL)
|
|
# ============================================
|
|
# Archivos
|
|
*.backup
|
|
*.bak
|
|
*.old
|
|
*.orig
|
|
|
|
# Carpetas
|
|
**/*_old/
|
|
**/*_bckp/
|
|
**/*_bkp/
|
|
**/*_backup/
|
|
**/*.old/
|
|
**/*.bak/
|
|
**/*.backup/
|
|
|
|
# Específicos del proyecto
|
|
orchestration_old/
|
|
orchestration_bckp/
|
|
docs_bkp/
|
|
|
|
# ============================================
|
|
# COMPRESSED FILES
|
|
# ============================================
|
|
*.zip
|
|
*.tar.gz
|
|
*.tar
|
|
*.rar
|
|
*.7z
|
|
# Excepto assets
|
|
!assets/**/*.zip
|
|
!public/**/*.zip
|
|
|
|
# ============================================
|
|
# MISCELÁNEOS
|
|
# ============================================
|
|
# Archivos de debug
|
|
**/*.debug
|
|
**/debug.log
|
|
|
|
# Archivos de error
|
|
**/*.error
|
|
**/error.log
|
|
|
|
# Storybook
|
|
**/storybook-static/
|
|
|
|
# Parcel
|
|
.parcel-cache/
|
|
|
|
# Serverless
|
|
.serverless/
|
|
|
|
# FuseBox
|
|
.fusebox/
|
|
|
|
# DynamoDB Local
|
|
.dynamodb/
|
|
|
|
# TernJS
|
|
.tern-port
|
|
|
|
# Archivos generados por IDEs
|
|
*.code-workspace
|
|
|
|
# Archivos de licencia generados
|
|
LICENSE.txt.bak
|
|
|
|
# ============================================
|
|
# APPS ESPECÍFICAS DEL MONOREPO
|
|
# ============================================
|
|
# Backend NestJS
|
|
apps/backend/dist/
|
|
apps/backend/build/
|
|
apps/backend/.nest/
|
|
|
|
# Frontend React/Vite
|
|
apps/frontend/dist/
|
|
apps/frontend/build/
|
|
apps/frontend/.vite/
|
|
|
|
# Database - mantener DDL, ignorar generados
|
|
apps/database/*.dump
|
|
apps/database/*.backup
|
|
apps/database/data/
|
|
|
|
# DevOps - ignorar logs y temp
|
|
apps/devops/logs/
|
|
apps/devops/tmp/
|