Skip to content

fix: update peerDependencies for Rspack and Rsbuild v2#4365

Merged
2heal1 merged 2 commits intomodule-federation:mainfrom
chenjiahan:update_peers_0202
Feb 2, 2026
Merged

fix: update peerDependencies for Rspack and Rsbuild v2#4365
2heal1 merged 2 commits intomodule-federation:mainfrom
chenjiahan:update_peers_0202

Conversation

@chenjiahan
Copy link
Copy Markdown
Contributor

Description

  • Updated @rsbuild/core peer dependency range to allow both v1 and v2 versions.
  • Updated @rspack/core peer dependency range to allow v0.7, v1, and v2 versions.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Copilot AI review requested due to automatic review settings February 2, 2026 07:25
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 2, 2026

⚠️ No Changeset found

Latest commit: 486a3c5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 2, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 486a3c5
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69808dd4f6c5c500083846d4
😎 Deploy Preview https://deploy-preview-4365--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Updates peer dependency semver ranges to support upcoming major versions of Rsbuild/Rspack without forcing consumers to stay on older majors.

Changes:

  • Allow @rsbuild/core v1 and v2 (including v2 pre-releases) in peer dependency ranges.
  • Allow @rspack/core v0.7, v1, and v2 (including v2 pre-releases) in peer dependency ranges.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/storybook-addon/package.json Expands @rsbuild/core peer dependency range to include v2.
packages/rspack/package.json Expands @rspack/core peer dependency range to include v2 (and keeps v0.7/v1 support).
packages/rsbuild-plugin/package.json Expands @rsbuild/core peer dependency range to include v2.

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

@2heal1 2heal1 merged commit 7c3befa into module-federation:main Feb 2, 2026
7 of 8 checks passed
@2heal1 2heal1 mentioned this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants