Skip to content

chore: Update React and related dependencies to support version 19.0.0#25

Merged
digitaldrreamer merged 1 commit intomainfrom
demo-dockerfile-fixes
Feb 2, 2026
Merged

chore: Update React and related dependencies to support version 19.0.0#25
digitaldrreamer merged 1 commit intomainfrom
demo-dockerfile-fixes

Conversation

@digitaldrreamer
Copy link
Copy Markdown
Owner

@digitaldrreamer digitaldrreamer commented Feb 2, 2026

  • Modify package.json and bun.lock to allow React and React DOM versions 18.0.0 or 19.0.0
  • Update devDependencies for @types/react and @types/react-dom to support both versions
  • Adjust Dockerfile to remove lockfile for fresh dependency installation

Summary by CodeRabbit

Release Notes

  • Chores
    • Enhanced build infrastructure with additional system-level dependencies for improved compilation support.
    • Extended framework compatibility to support both React 18 and React 19 versions.

- Modify package.json and bun.lock to allow React and React DOM versions 18.0.0 or 19.0.0
- Update devDependencies for @types/react and @types/react-dom to support both versions
- Adjust Dockerfile to remove lockfile for fresh dependency installation
@digitaldrreamer digitaldrreamer self-assigned this Feb 2, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
veiled-demo Error Error Feb 2, 2026 8:59am
veiled-web Building Building Preview, Comment Feb 2, 2026 8:59am

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 2, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR updates the project to support React 19 while maintaining backwards compatibility with React 18. Root-level dependency overrides pin React 19.0.0, core package version ranges widen to accept both v18 and v19, and Docker build configuration is enhanced with linux-headers and lock file cleanup.

Changes

Cohort / File(s) Summary
Docker Build Configuration
apps/demo/Dockerfile
Added linux-headers to apk dependencies for native module compilation and removed bun.lock before running bun install to ensure fresh dependency resolution with overrides applied.
Root Dependency Overrides
package.json
Added top-level "overrides" field pinning react and react-dom to version 19.0.0 to control transitive dependency resolution.
Core Package React Compatibility
packages/core/package.json
Expanded react, react-dom, @types/react, and @types/react-dom version ranges from "^18.0.0" to "^18.0.0 || ^19.0.0" to support both major versions.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A rabbit hops through version lanes,
React 18 and 19 now both remain,
Dependencies aligned so bright,
Compatibility takes its flight!
With headers built and overrides set,
The future's ours—no need to fret! 🚀

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch demo-dockerfile-fixes

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@digitaldrreamer digitaldrreamer merged commit 2344a60 into main Feb 2, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant