feat: Upgrade React and Ink dependencies to latest versions - #3
Merged
Conversation
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
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
added a commit
that referenced
this pull request
Jul 29, 2026
…)" This reverts commit 96d9ffe.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the React ecosystem dependencies to their latest major versions, ensuring compatibility with the latest features and improvements.
Key Changes
reactfrom^18.3.1to^19.2.8inkfrom^5.2.1to^7.1.1@types/reactfrom^18.3.27to^19.2.17to match React 19 typesNotes
https://claude.ai/code/session_01Kdn8Vcx7LLY8apDuVxUVta