Skip to content

feat: Upgrade React and Ink dependencies to latest versions - #3

Merged
razor-x merged 2 commits into
mainfrom
claude/outdated-deps-new-project-84yfas
Jul 29, 2026
Merged

feat: Upgrade React and Ink dependencies to latest versions#3
razor-x merged 2 commits into
mainfrom
claude/outdated-deps-new-project-84yfas

Conversation

@razor-x

@razor-x razor-x commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

This PR updates the React ecosystem dependencies to their latest major versions, ensuring compatibility with the latest features and improvements.

Key Changes

  • Upgraded react from ^18.3.1 to ^19.2.8
  • Upgraded ink from ^5.2.1 to ^7.1.1
  • Updated @types/react from ^18.3.27 to ^19.2.17 to match React 19 types

Notes

  • These are major version upgrades that may include breaking changes
  • The lockfile has been updated to resolve transitive dependencies
  • All other dependencies remain unchanged

https://claude.ai/code/session_01Kdn8Vcx7LLY8apDuVxUVta

The Ink dependencies were added as a literal edit to package.json rather
than resolved from the registry, so their ranges pointed at majors that
were already superseded: Ink ^5.2.1 (two majors behind) and React ^18.3.1.

Move to Ink ^7.1.1 and React ^19.2.8. The two have to move together, as
Ink 6 and 7 both declare a react >=19.2.0 peer, so @types/react goes to
^19.2.17 to match. npm cannot do this incrementally -- resolving the new
Ink against the installed React 18 tree fails with ERESOLVE -- so the
ranges are set here and the lockfile is regenerated from scratch.

No source changes are needed. The wizard uses a small surface of Ink
(Box, Text, useInput, useApp, useStdout, render) and none of it changed
across the two majors. ink-select-input, ink-spinner, ink-text-input, and
ink-testing-library are left alone: they are already at their latest
versions and their peer ranges (ink >=5, react >=18) admit the new tree.
React resolves to a single deduped copy.

Verified with typecheck, lint, the full test suite, and a build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kdn8Vcx7LLY8apDuVxUVta
@razor-x
razor-x marked this pull request as ready for review July 29, 2026 02:51
Rounds out the dependency refresh: open was left at ^10.1.0 while the
latest is 11.0.0.

A drop-in for how the wizard uses it. The only call site awaits nothing
and passes no options -- connect-web opens the console URL with a bare
open(url) -- and the default export's signature is unchanged across the
major. v11 raises its engines floor to node >=20, which the package
already clears with >=22.11.0.

v11 adds an is-in-ssh dependency, but it only refines the WSL launch
heuristic rather than bailing out of SSH sessions generally, so it does
not affect the platforms the wizard targets. The call site already
tolerates a browser that will not open: it catches the rejection and
leaves the UI showing the URL to visit.

Verified with typecheck, lint, the full test suite, and a build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kdn8Vcx7LLY8apDuVxUVta
@razor-x razor-x changed the title Upgrade React and Ink dependencies to latest versions feat: Upgrade React and Ink dependencies to latest versions Jul 29, 2026
@razor-x
razor-x merged commit 96d9ffe into main Jul 29, 2026
11 checks passed
@razor-x
razor-x deleted the claude/outdated-deps-new-project-84yfas branch July 29, 2026 02:54
razor-x added a commit that referenced this pull request Jul 29, 2026
@razor-x razor-x mentioned this pull request Jul 29, 2026
razor-x added a commit that referenced this pull request Jul 29, 2026
* Reapply "feat: Upgrade React and Ink dependencies to latest versions (#3)"

This reverts commit a4dd077.

* fix: Make ink and react peerDependencies
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.

2 participants