Repository navigation
Conversation
The example app asked for @types/react ~19.1.10 while every package asked for ~19.0.10. Bun installed two copies and the example typecheck failed with "Type 'React.ReactNode' is not assignable to type ReactNode". Pin @types/react through the root resolutions, next to the existing react and react-dom pins, and refresh the lockfile. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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
The
Checksworkflow fails onmainand on every open PR atbun run typecheck:apps:The example app depends on
@types/react~19.1.10while every package depends on~19.0.10. Bun installs two copies, 19.0.14 at the root and 19.1.17 underapps/example, and aReactNodefrom one copy is not assignable to the other. The lockfile only listed 19.0.14, so this surfaced once CI moved to a newer Bun (bun-version: latest, 1.4.2 in the failing run).This pins
@types/reactto~19.1.10through the rootresolutions, next to the existingreactandreact-dompins, and refreshes the lockfile.Seen in #85 CI, but unrelated to that PR.
Test plan
bun install --frozen-lockfilesucceedsbun run lint:appspassesbun run typecheck:appspasses (fails onmainbefore this change)packages/apollo-client:tsc --noEmitand lint pass (jest has no tests onmain)build/output changed after reinstall🤖 Generated with Claude Code