Skip to content

Conversation

@chenjiahan
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 03:00
@chenjiahan chenjiahan merged commit 8520834 into main Jan 15, 2026
9 checks passed
@chenjiahan chenjiahan deleted the update_peers_0115 branch January 15, 2026 03:01
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 both Rsbuild v1 and the upcoming v2 releases, ensuring forward compatibility with pre-release versions of Rsbuild v2.

Changes:

  • Updated @rsbuild/core peer dependency from "1.x" to "^1.0.0 || ^2.0.0-0" to support both v1 and v2 (including pre-releases)

💡 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 test coverage. Consider adding tests that verify plugin compatibility with Rsbuild v2 APIs, or at minimum, add a test case that imports and initializes the plugin with Rsbuild v2 to catch breaking API changes.

Copilot uses AI. Check for mistakes.
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