## Что
`openapi:check` теперь выполняет native `--check` того же `openapi-typescript` CLI; 45-строчный wrapper удалён.
- `package.json`: alias `openapi:check` = `openapi-typescript … -o … --check` (те же version/options, что и `openapi:generate`)
- удалён `scripts/check-openapi.mjs`
- lint fixture в `scripts/test-eslint.mjs` переведён на существующий `scripts/test-pre-commit.mjs`
- `.ai/conventions/data.md`: формулировка `openapi:check` без обещания временного каталога/backend freshness
Заменяет PR #76: тот содержал merge-коммит от `update_branch`, который падал на commitlint (`subject-empty`/`type-empty`/`references-empty`).
## Проверки
- Positive: `npm run openapi:check` — exit 0, tracked `schema.d.ts` не изменён
- Negative: тот же CLI с временным `-o /tmp/stale-schema.d.ts` — exit 1 `Generated types are not up-to-date!`
- `npm run test:lint` — 9/9 pass
- `npx eslint scripts/test-eslint.mjs --max-warnings=0` — 0
- `npm run verify` — exit 0 (на идентичном содержимом diff, ветка от develop)
Refs WealthLedger/frontend#60
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Что
openapi:checkтеперь выполняет native--checkтого жеopenapi-typescriptCLI; 45-строчный wrapper удалён.package.json: aliasopenapi:check=openapi-typescript … -o … --check(те же version/options, что иopenapi:generate)scripts/check-openapi.mjsscripts/test-eslint.mjsпереведён на существующийscripts/test-pre-commit.mjs.ai/conventions/data.md: формулировкаopenapi:checkбез обещания временного каталога/backend freshnessЗаменяет PR #76: тот содержал merge-коммит от
update_branch, который падал на commitlint (subject-empty/type-empty/references-empty).Проверки
npm run openapi:check— exit 0, trackedschema.d.tsне изменён-o /tmp/stale-schema.d.ts— exit 1Generated types are not up-to-date!npm run test:lint— 9/9 passnpx eslint scripts/test-eslint.mjs --max-warnings=0— 0npm run verify— exit 0 (на идентичном содержимом diff, ветка от develop)Refs WealthLedger/frontend#60