-
Notifications
You must be signed in to change notification settings - Fork 15
Fix a bunch of dependency-related type issues related to bugs in TypeScript and packages trying to support React 19 #1092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a bunch of dependency-related type issues related to bugs in TypeScript and packages trying to support React 19 #1092
Conversation
Caution Review failedThe pull request is closed. WalkthroughThis pull request encompasses multiple changes across various files in the project. The modifications include type handling improvements in the API development script, type refinements in the gateway service, and dependency version updates across multiple package configurations. The changes primarily focus on enhancing type safety, updating dependency versions, and standardizing package management using catalog references for certain dependencies like Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Fixes the following dependency-related issues:
AnimatePresence
inmotion/react
, which only works with React 19 types. To fix this, we now override bothmotion
andframer-motion
, asmotion
depends on the latest non-breaking versionframer-motion
, so forcingmotion
back to the exact version that did not have this problem is not sufficient,@mdx-js/react
incorrectly specifies React types as peer dependency, with package.json including a forced override to v19, resulting in no error message on installation (normally, pnpm reports conflicting peer dependencies). This is despite there being an open issue to "Support React v19". We can override the override in package.json with pnpm.@types/node
, despite existing. This previously caused no problems, but now does. Thelibcrypto
library now specifies these globally.Summary by CodeRabbit
Release Notes v1.8.7
Dependency Updates
nodemon
to version 3.1.9motion
package version 11.15.0motion
to use catalog referencesType Safety Improvements
Version Bump