react 19: the Dependabot halves cannot resolve alone, so the bump needs one combined PR
Maintainer thường phản hồi trong vòng 4 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 70/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, react, typescript
- Lĩnh vực
- build-system, frontend
Hướng nghiên cứu
Bắt đầu từ website/package.json, sau đó kiểm tra website/package-lock.json và .github/workflows/deploy.yml; hai nửa PR Dependabot bị lỗi là #401/#402 và giải thích vì sao lockfile chưa được merge làm hỏng việc deploy Pages. Trong website, nâng cấp react, react-dom và @types/react-dom, tạo lại lockfile bằng npm install, rồi kiểm tra bằng npm ci và npm run build. Coi là xong khi PR gộp cài đặt sạch và build thành công; phần dọn dẹp packageManager/resolutions còn sót lại của yarn để sang một thay đổi riêng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Dependabot opened the react 19 major as two PRs, and neither can pass on its own:
- #401 bumps
react18.3.1 to 19.3.1 - #402 bumps
react-domand@types/react-domto 19.3.1 / 19.3.0
Each half breaks the other's peer requirement, so both fail npm ci with ERESOLVE:
#402: Found: [email protected]
Could not resolve dependency: peer react@^19.3.1 from [email protected]
#401: Found: [email protected]
Could not resolve dependency: peer react-dom@^18.3.1 from [email protected]
Merging them one after the other does not fix it either. deploy.yml runs on every push to main, so between the two merges the tracked lockfile does not resolve, the build job fails, and the Pages deploy is skipped. Any PR opened in that window inherits the same broken lockfile.
Proposed fix
One PR that takes the peer set together, with a regenerated lockfile:
reactandreact-domto^19.3.1@types/react-domto^19.3.0(19.3.1 does not exist)
Verified locally against main at 973801b:
npm installwith the bumped versions: 1409 packages, no ERESOLVEnpm ciagainst the regeneratedwebsite/package-lock.json: exit 0npm run build: SUCCESS, static files generated
@docusaurus/core 3.10.2 declares react ^18.0.0 || ^19.0.0, so 19 is inside the supported range. The @slorber/react-helmet-async alias it depends on prints a peer warning capped at react 18, and the install still exits 0.
Related, separate
website/package.json still carries packageManager: [email protected] and a resolutions block pinning react and react-dom to ^18.3.1, both stale since the repo standardised on npm. A yarn install would put react 18 back. npm ignores both, so this does not block the bump, but it should be cleaned up in its own change.
Also worth considering: a groups entry in .github/dependabot.yml covering the peer set, so the next react major arrives as one PR instead of two unresolvable halves.
- Ngôn ngữ chính
- TypeScript
- Star
- 13
- Fork
- 24
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của IntersectMBO/developer-experience
-
Rename the q4-2025 sesion-notes folder to session-notes, and keep its URL workingCó thể đã có người làm @IanoNjuguna đã nhận hôm nay. Đang mởdocumentation Low Priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
IntersectMBO/developer-experience#406 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Document colour roles in the brand baseline, and resolve the gradient and alpha restrictions it contradictsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
IntersectMBO/developer-experience#376 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
documentation pinned
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
IntersectMBO/developer-experience#363 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
documentation pinned
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
IntersectMBO/developer-experience#362 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
documentation pinned
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
IntersectMBO/developer-experience#360 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của IntersectMBO/developer-experience
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Update project links after the repository renamesCó thể đã có người làm @JonathanTSilva đã nhận hôm nay. Đang mởai-generated priority: p2 size: xs type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
JonathanTSilva/jts-website#119 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
promplate/code-review#158 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not existCó thể đã có người làm @franpts2 đã nhận hôm nay. Đang mởdocs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 3 ngày