Skip to content

chore: root tsconfig strict: true#2896

Merged
bokelley merged 3 commits into
mainfrom
bokelley/bump-adcp-client-5.12.0
Apr 22, 2026
Merged

chore: root tsconfig strict: true#2896
bokelley merged 3 commits into
mainfrom
bokelley/bump-adcp-client-5.12.0

Conversation

@bokelley

@bokelley bokelley commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Flip root tsconfig.json from strict: falsestrict: true to match server/tsconfig.json (which CI uses via npm run typecheck).

The root config is used by IDEs and local npx tsc --noEmit. Leaving it loose meant local/IDE type-checking diverged from CI — TS 5.9 won't narrow !result.ok on boolean-literal discriminated unions without strictNullChecks, producing false local errors while CI was fine.

Zero code changes required — the codebase already passes under --strict.

Scope reduction: initially bundled an @adcp/client 5.12.0 bump, but #2891 landed that first on main. After merging main, only the tsconfig flip remains.

Test plan

  • npm run typecheck clean
  • npm run test:unit (631 passed)
  • npm run test:server-unit (1904+ passed)
  • npx tsc --noEmit at repo root now matches CI
  • Local storyboards (legacy): 38/52 clean, meets floor
  • CI green

🤖 Generated with Claude Code

bokelley and others added 3 commits April 22, 2026 05:26
Bumps @adcp/client 5.11.0 → 5.12.0 and flips the root tsconfig.json from
strict: false to strict: true. The CI typecheck runs under server/tsconfig.json,
which has always been strict; this aligns the root config (used by IDEs and
local `npx tsc --noEmit`) with CI behavior. Zero code changes — codebase
already passes under --strict.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR #2891 already bumped @adcp/client to 5.12.0 and adjusted storyboard
floors. After merging main, this PR's only remaining change is flipping
root tsconfig to strict: true.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley bokelley changed the title chore(deps): bump @adcp/client to 5.12.0 + tsconfig strict: true chore: root tsconfig strict: true Apr 22, 2026
@bokelley bokelley merged commit c88dee1 into main Apr 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant