Skip to content

Fix pnpm lockfile mismatch for react peerDependency specifier#416

Merged
hotlong merged 8 commits intomainfrom
copilot/update-action-run-output
Jan 31, 2026
Merged

Fix pnpm lockfile mismatch for react peerDependency specifier#416
hotlong merged 8 commits intomainfrom
copilot/update-action-run-output

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 31, 2026

CI was failing at dependency installation due to specifier mismatch between pnpm-lock.yaml and packages/client-react/package.json.

Changes

  • Updated pnpm-lock.yaml react specifier: ^18.0.0>=18.0.0 (aligns with peerDependency declaration)
  • Bumped react version: 18.3.119.2.3
Original prompt

引用: https://github.com/objectstack-ai/spec/actions/runs/21536449621/job/62063031138#step:7:1


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 31, 2026

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jan 31, 2026 1:58am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong hotlong marked this pull request as ready for review January 31, 2026 01:39
Copilot AI review requested due to automatic review settings January 31, 2026 01:39
@github-actions github-actions bot added dependencies Pull requests that update a dependency file size/xs labels Jan 31, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment on lines +363 to +364
specifier: '>=18.0.0'
version: 19.2.3
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The React runtime has been upgraded to version 19.2.3, but the @types/react package is still at version 18.3.27 (defined as ^18.0.0 in devDependencies at line 367). This creates a type mismatch where the TypeScript types don't match the actual React runtime version being used. You should update the @types/react specifier to ^19.0.0 or similar to ensure type definitions match the React version.

Copilot uses AI. Check for mistakes.
Comment on lines +363 to +364
specifier: '>=18.0.0'
version: 19.2.3
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title mentions "improve output clarity" but the actual changes are about updating React dependencies and fixing a pnpm lockfile mismatch. The title should be updated to accurately reflect that this PR is updating React from version 18 to 19, or the changes should align with the stated purpose of improving output clarity.

Copilot uses AI. Check for mistakes.
Copilot AI changed the title [WIP] Update action run to improve output clarity Fix pnpm lockfile mismatch for react peerDependency specifier Jan 31, 2026
Copilot AI requested a review from hotlong January 31, 2026 01:44
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 31, 2026
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong hotlong merged commit 3c471ed into main Jan 31, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation protocol:ui size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants