Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ repos:
require_serial: true
files: ^backend/

- id: generate-client
name: OpenAPI spec and client
entry: make generate-client
language: system
pass_filenames: false
require_serial: true
files: ^(backend/src/|backend/uv\.lock$|scripts/generate-client-sdk\.sh$|backend/openapi\.json$|frontend/openapi-ts\.config\.ts$|frontend/package\.json$)

# Frontend: Biome format + lint
# Both hooks use the versions pinned in frontend/package.json, not whatever npx resolves.
- repo: local
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ ref-app/
│ │ ├── collections/ # Per-collection YAML metadata (see collections/README.md)
│ │ └── diagnostics/ # Diagnostic metadata overrides
│ ├── tests/ # Backend test suite
│ ├── openapi.json # OpenAPI specification (generated by make generate-client)
│ ├── pyproject.toml # Python dependencies and project metadata
│ └── uv.lock # uv lock file for reproducible dependencies
├── frontend/
Expand All @@ -137,8 +138,7 @@ ref-app/
│ │ ├── lib/ # Utility functions
│ │ └── styles/ # Global styles
│ ├── package.json # Node.js dependencies
│ ├── vite.config.ts # Vite build configuration
│ └── openapi.json # OpenAPI specification (generated from backend)
│ └── vite.config.ts # Vite build configuration
└── scripts/ # Utility scripts
```

Expand Down
Loading
Loading