# InvestPlay — Code Ownership
# Each line defines a file pattern and the teams/users responsible.
# Order matters: the last matching pattern takes precedence.

# Default owners — everyone
* @investplay/core

# Application — Backend
apps/api/ @investplay/backend
apps/api/** @investplay/backend

# Application — Frontend
apps/web/ @investplay/frontend
apps/web/** @investplay/frontend

# Application — CMS
apps/cms/ @investplay/backend
apps/cms/** @investplay/backend

# Shared Packages
packages/types/ @investplay/types
packages/types/** @investplay/types

packages/ui/ @investplay/frontend
packages/ui/** @investplay/frontend

packages/i18n/ @investplay/frontend @investplay/backend
packages/i18n/** @investplay/frontend @investplay/backend

packages/utils/ @investplay/backend
packages/utils/** @investplay/backend

# Infrastructure & DevOps
docker/ @investplay/devops
docker/** @investplay/devops
docker-compose.* @investplay/devops
Dockerfile* @investplay/devops

# CI/CD
.github/ @investplay/devops
.github/** @investplay/devops

# Documentation
*.md @investplay/docs
docs/ @investplay/docs
docs/** @investplay/docs

# Configuration files
turbo.json @investplay/core
pnpm-workspace.yaml @investplay/core
tsconfig.base.json @investplay/core
.eslintrc.js @investplay/core
.prettierrc @investplay/core
