Skip to content

fix: restore @rspack/core ^1.0.0 peer range#102

Merged
chenjiahan merged 1 commit intomainfrom
chenjiahan/chore-restore-rspack-core-peer-range
Apr 8, 2026
Merged

fix: restore @rspack/core ^1.0.0 peer range#102
chenjiahan merged 1 commit intomainfrom
chenjiahan/chore-restore-rspack-core-peer-range

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • restore the @rspack/core peer dependency range to include ^1.0.0 again
  • keep the package metadata aligned with the plugin's actual support for Rspack v1 and v2 prereleases

Testing

  • pnpm lint

Related Links

  • None

Copilot AI review requested due to automatic review settings April 8, 2026 09:11
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.

Pull request overview

Restores the published peer dependency range for @rspack/plugin-react-refresh so consumers on Rspack v1 can install it again, while still supporting Rspack v2 prereleases.

Changes:

  • Expand @rspack/core peer dependency from only ^2.0.0-0 to ^1.0.0 || ^2.0.0-0.

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

@chenjiahan chenjiahan changed the title chore: restore @rspack/core ^1.0.0 peer range fix: restore @rspack/core ^1.0.0 peer range Apr 8, 2026
@chenjiahan chenjiahan merged commit 3289eec into main Apr 8, 2026
8 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/chore-restore-rspack-core-peer-range branch April 8, 2026 09:13
chenjiahan added a commit that referenced this pull request Apr 8, 2026
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