refactor: align frontend ownership boundaries
Close audit gaps across API drift, query policy, UI, and tests.
This commit is contained in:
@@ -19,12 +19,13 @@ npm run dev
|
||||
## Проверка
|
||||
|
||||
```bash
|
||||
nvm use --silent
|
||||
npm run verify
|
||||
```
|
||||
|
||||
Команда сначала отклоняет runtime вне Node 22, затем проверяет repository
|
||||
hygiene, strict TypeScript, Biome, один coverage-backed запуск Vitest, Knip,
|
||||
dependency rules и production build. Если backend-контракт изменился,
|
||||
Команда проверяет, что generated OpenAPI types соответствуют committed snapshot,
|
||||
затем запускает strict TypeScript, Biome, один coverage-backed запуск Vitest,
|
||||
Knip, dependency rules и production build. Если backend-контракт изменился,
|
||||
обновите `src/shared/api/spec/openapi.json` копированием backend OpenAPI
|
||||
document и затем выполните `npm run openapi:generate`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user