fix(react-ranger): allow React 19 peer dependency#104
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR updates ChangesReact 19 Peer Dependency Support
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Closes #93.
Summary
This updates
@tanstack/react-rangerto allow React 19 in its peer dependency range.The runtime hook already uses stable React APIs, and this fixes npm’s resolver failure for React 19 apps without changing runtime code.
Also normalizes the package repository URL to the full
.gitURL, which removes the package build/publish metadata warning for@tanstack/react-ranger.Verification
pnpm install --frozen-lockfilepnpm --filter @tanstack/react-ranger test:typespnpm --filter @tanstack/react-ranger test:libpnpm --filter @tanstack/react-ranger buildenv -u NO_COLOR pnpm nx run-many --targets=test:lib,test:types,build --skip-nx-cachepnpm run test:sherifpnpm run test:knippnpm run test:docspnpm exec prettier --check packages/react-ranger/package.json .changeset/bright-plums-smoke.mdgit diff --checkI also verified the current published package fails npm resolution with
react@19.0.0, while a packed tarball from this branch installs cleanly withreact@19.0.0.Summary by CodeRabbit