fix: ensure mdx pages can be displayed by storybook#814
Conversation
Rollback react to 19.0 in website. This introduced global side effects on stories. Also change the version of other dependencies that previously depended on react 19.1. For example, this includes algolia and docsearch packages Configure dependabot to prevent from bumping react in the future and reintroducing the past issue.
|
""" WalkthroughThe changes update the dependabot configuration to ignore updates for "react" and "react-dom," and modify the version constraints for these dependencies in the website's package.json from "^19.1.0" to "~19.0.0". Comments were added to explain the rationale and reference related issues. Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/website/package.json (1)
22-23: Semver range still allows unintended React updates
The caret range^19.0.0will accept all React v19.x releases (including 19.1.x), which undermines the rollback intent. If you need to strictly pin to v19.0.x, consider using a tilde range (~19.0.0) or an exact version ("react": "19.0.0").
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (2)
.github/dependabot.yml(1 hunks)packages/website/package.json(1 hunks)
🔇 Additional comments (1)
.github/dependabot.yml (1)
27-30: Lock React updates via Dependabot ignore
These ignore rules forreactandreact-domcorrectly prevent Dependabot from upgrading beyond v19.x, preserving Storybook 7.x compatibility.
|



Rollback react to 19.0 in website. This introduced global side effects on stories.
Also change the version of other dependencies that previously depended on react 19.1.
For example, this includes algolia and docsearch packages
Configure dependabot to prevent from bumping react in the future and reintroducing the past issue.
Notes
Closes #747
Summary by CodeRabbit