Skip to content

chore(deps): react 18→19, ink 5→7 major#67

Open
terraboops wants to merge 5 commits into
mainfrom
deps/react-19-ink-7
Open

chore(deps): react 18→19, ink 5→7 major#67
terraboops wants to merge 5 commits into
mainfrom
deps/react-19-ink-7

Conversation

@terraboops

Copy link
Copy Markdown
Owner

Grouped major upgrade (ink 7 requires react 19).

Changes

  • react ^18.3.1 → ^19.2.7
  • @types/react ^18.3.0 → ^19.2.17
  • @testing-library/react ^14 → ^16.3.2 (added @testing-library/dom ^10.4.1 — now a required peer in v16)
  • ink ^5.1.0 → ^7.1.0
  • Dropped ink-text-input (ink5-only; its nested ink5/react18 broke ink7's reconciler → "Objects are not valid as a React child"). Interview App.tsx now uses the in-repo ChatInput (prop-compatible; already used by conversation UI and built for ink7/react19).
  • Root overrides dedupe ink→7 / react/react-dom→19 so the app and ink-testing-library share a single instance. Without it, mintlify/ink-spinner (pulled transitively by the nono-ts optional dep) pin root ink to 5/6 and react to 18, splitting instances.

@anthropic-ai/claude-agent-sdk stays at the lockfile-pinned 0.2.87 (newer 0.2.x peers zod ^4; project is on zod ^3 — pre-existing, unchanged). The lockfile was updated incrementally; plain npm install reproduces it.

Test

  • npm run typecheck (builds all workspaces) — pass (exit 0)
  • npm test — pass (exit 0): @autonav/core 112 passed / 9 skipped; @autonav/communication-layer 45 passed / 13 skipped. Previously-failing tests/interview/interview-app.test.tsx now passes.

Grouped major bump (ink 7 requires react 19):
- react ^18.3.1 → ^19.2.7
- @types/react ^18.3.0 → ^19.2.17
- @testing-library/react ^14 → ^16.3.2 (+ @testing-library/dom ^10.4.1 peer)
- ink ^5.1.0 → ^7.1.0

- Migrate interview App.tsx off ink-text-input (ink5-only, breaks ink7
  reconciler) to the in-repo ChatInput replacement; drop the dependency.
- Root overrides dedupe ink→7 / react→19 so ink-testing-library and the app
  share one instance (mintlify via nono-ts optional dep otherwise pins ink5/6).
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