-
Notifications
You must be signed in to change notification settings - Fork 4
fix: update peerDependencies to support Rsbuild v2 #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,7 +54,7 @@ | |
| "typescript": "^5.9.3" | ||
| }, | ||
| "peerDependencies": { | ||
| "@rsbuild/core": "1.x" | ||
| "@rsbuild/core": "^1.0.0 || ^2.0.0-0" | ||
|
||
| }, | ||
| "peerDependenciesMeta": { | ||
| "@rsbuild/core": { | ||
|
|
||
There was a problem hiding this comment.
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-0allows any v2 prerelease versions (alpha, beta, rc) which may contain breaking changes. Consider using^2.0.0instead to only allow stable v2 releases, or if prerelease support is needed, add explicit testing against v2 prerelease versions to ensure compatibility.