Skip to content

Conversation

@chenjiahan
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 03:36
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 peer dependency specification for @rsbuild/core to support both version 1.x and version 2.x (including pre-release versions), ensuring the plugin remains compatible with the latest Rsbuild releases.

Changes:

  • Updated @rsbuild/core peer dependency from 1.x to ^1.0.0 || ^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 version range ^2.0.0-0 will match any pre-release version of 2.x (e.g., 2.0.0-alpha.1, 2.0.0-beta.1), but once Rsbuild v2 is officially released, this range will also match stable 2.x versions. Consider whether accepting all pre-release versions is appropriate for production use, or if the range should be more restrictive (e.g., ^2.0.0 to only match stable releases after v2 is official).

Suggested change
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"
"@rsbuild/core": "^1.0.0 || ^2.0.0"

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