diff --git a/.codecov.yml b/.codecov.yml index 48213d79..66638a53 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -11,8 +11,22 @@ coverage: # Fail CI if Codecov upload/report indicates a problem require_ci_to_pass: yes -# Exclude folders from Codecov (adjust as needed) +# Exclude folders from Codecov ignore: - - tests/* - - docs/* - - .github/* + - "**/tests/*" + - "**/test/*" + - "**/__tests__/*" + - "**/test_*.go" + - "**/*_test.go" + - "**/*.test.ts" + - "**/*.test.tsx" + - "docs/*" + - ".github/*" + - "scripts/*" + - "tools/*" + - "frontend/node_modules/*" + - "frontend/dist/*" + - "frontend/coverage/*" + - "backend/cmd/seed/*" + - "backend/data/*" + - "*.md" diff --git a/.dockerignore b/.dockerignore index 617bf82a..65fcdf52 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,27 +1,75 @@ +# Version control .git .gitignore -node_modules -venv -__pycache__ -*.pyc -*.pyo -*.pyd +.github/ + +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so .Python +.venv/ +venv/ env/ -build/ -dist/ -*.egg-info -.DS_Store -.idea/ -.vscode/ -.env -.env.* -coverage/ -.coverage +ENV/ .pytest_cache/ -*.log +.coverage +*.cover +.hypothesis/ +htmlcov/ +*.egg-info/ + +# Node/Frontend build artifacts +frontend/node_modules/ +frontend/coverage/ +frontend/.vite/ +frontend/*.tsbuildinfo +# Keep frontend/dist - needed in final image + +# Go/Backend +backend/*.out +backend/coverage.*.out +# Keep backend/api binary - needed in final image + +# Databases (runtime) +backend/data/*.db +backend/cmd/api/data/*.db +*.sqlite *.sqlite3 +# IDE +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# Logs +*.log +logs/ + +# Environment +.env.local +.env.*.local + +# OS +.DS_Store +Thumbs.db + +# Documentation +docs/ +*.md +!README.md + # Docker -docker-compose.override.yml +docker-compose*.yml **/Dockerfile.* + +# CI/CD +.github/ +.pre-commit-config.yaml + +# Scripts +scripts/ +tools/ diff --git a/.gitignore b/.gitignore index a0acf02e..1fba65a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,60 @@ +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +.venv/ +venv/ +env/ +ENV/ +.pytest_cache/ +.coverage +*.cover +.hypothesis/ +htmlcov/ -# Node modules -frontend/node_modules +# Node/Frontend +frontend/node_modules/ +frontend/dist/ +frontend/coverage/ +frontend/.vite/ +frontend/*.tsbuildinfo + +# Go/Backend +backend/api +backend/*.out +backend/coverage.*.out + +# Databases +*.db +*.sqlite +*.sqlite3 +backend/data/*.db +backend/cmd/api/data/*.db + +# IDE +.vscode/ +.idea/ +*.swp +*.swo +*~ +.DS_Store + +# Logs +*.log +logs/ + +# Environment +.env +.env.* +!.env.example + +# OS +Thumbs.db + +# Caddy +backend/data/caddy/ + +# Docker +docker-compose.override.yml