Skip to content

fix: update peer dependency for @rspack/core v2#575

Merged
alexander-akait merged 1 commit intowebpack:mainfrom
chenjiahan:update_peers_rspack_v2
Feb 5, 2026
Merged

fix: update peer dependency for @rspack/core v2#575
alexander-akait merged 1 commit intowebpack:mainfrom
chenjiahan:update_peers_rspack_v2

Conversation

@chenjiahan
Copy link
Contributor

Summary

Updates the peer dependency requirements for @rspack/core to pre-release ^2.0.0-0 versions.

Copilot AI review requested due to automatic review settings February 5, 2026 08:02
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 requirements for @rspack/core to support version 2 pre-release builds. The change enables compatibility with pre-release versions of @rspack/core v2 while maintaining backward compatibility with versions 0.x and 1.x.

Changes:

  • Updated @rspack/core peer dependency from "0.x || 1.x" to "0.x || ^1.0.0 || ^2.0.0-0" to include v2 pre-release versions

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updated peerDependencies to include @rspack/core v2 pre-release support
package-lock.json Synchronized peerDependencies specification with package.json changes

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

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.21%. Comparing base (58f8317) to head (6c224d0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #575   +/-   ##
=======================================
  Coverage   92.21%   92.21%           
=======================================
  Files           3        3           
  Lines         167      167           
  Branches       44       44           
=======================================
  Hits          154      154           
  Misses         12       12           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alexander-akait alexander-akait merged commit 6588093 into webpack:main Feb 5, 2026
22 of 23 checks passed
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