build: use native openapi-typescript --check (#60) #76

Closed
codex-bot wants to merge 2 commits from refactor/60-native-openapi-check into develop
Owner

Что

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

Проверки

  • 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 (fixture на удалённом файле)
  • npx eslint scripts/test-eslint.mjs --max-warnings=0 — 0
  • npm run verify — exit 0

Refs WealthLedger/frontend#60

## Что `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 ## Проверки - 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 (fixture на удалённом файле) - `npx eslint scripts/test-eslint.mjs --max-warnings=0` — 0 - `npm run verify` — exit 0 Refs WealthLedger/frontend#60
codex-bot added 1 commit 2026-10-13 20:52:45 +03:00
build: use native openapi-typescript --check (#60)
Frontend verify / commits (pull_request) Successful in 43s
Frontend verify / security (pull_request) Successful in 25s
Frontend verify / verify (pull_request) Successful in 6m41s
d5c4f75d48
codex-bot added 1 commit 2026-10-13 21:05:50 +03:00
Merge branch 'develop' into refactor/60-native-openapi-check
Frontend verify / commits (pull_request) Failing after 42s
Frontend verify / security (pull_request) Skipped
Frontend verify / verify (pull_request) Skipped
e896433145
codex-bot scheduled this pull request to auto merge when all checks succeed 2026-10-13 21:06:21 +03:00
codex-bot closed this pull request 2026-10-13 21:24:48 +03:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/frontend#76