Skip to content

Conversation

@chenjiahan
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 03:25
Copy link

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.

Pull request overview

This PR updates the peerDependencies specification for @rsbuild/core to support Rsbuild v2 by changing from 1.x to ^1.0.0 || ^2.0.0-0. This enables the plugin to work with both Rsbuild v1 and v2, including v2 pre-release versions.

Changes:

  • Updated the peer dependency range for @rsbuild/core to accept both v1 (>=1.0.0) and v2 (including pre-releases >=2.0.0-0)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

},
"peerDependencies": {
"@rsbuild/core": "1.x"
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

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

The peer dependency update to support Rsbuild v2 lacks corresponding test coverage. The test suite should include tests that verify compatibility with Rsbuild v2 APIs, or at minimum, CI configuration should test against both v1 and v2 versions to ensure the plugin works correctly with both major versions.

Copilot uses AI. Check for mistakes.
@chenjiahan chenjiahan merged commit 2f5f3f6 into main Jan 15, 2026
11 checks passed
@chenjiahan chenjiahan deleted the update_peers_0115 branch January 15, 2026 03:28
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.

2 participants