Skip to content

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

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#1291
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 07:59
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 for @rspack/core to support version 2 pre-release versions alongside the existing support for versions 0.x and 1.x.

Changes:

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

Reviewed changes

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

File Description
package.json Updated peer dependency specification for @rspack/core to include v2 pre-release versions
package-lock.json Synchronized lockfile with the package.json peer dependency update

💡 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 94.13%. Comparing base (068201f) to head (370806f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1291   +/-   ##
=======================================
  Coverage   94.13%   94.13%           
=======================================
  Files           3        3           
  Lines         409      409           
  Branches      152      154    +2     
=======================================
  Hits          385      385           
  Misses         22       22           
  Partials        2        2           

☔ 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
Copy link
Member

I will fix CI in the separate PR, thanks

@alexander-akait alexander-akait merged commit 24d12ec into webpack:main Feb 5, 2026
21 of 23 checks passed
@chenjiahan chenjiahan deleted the update_peers_rspack_v2 branch February 6, 2026 02:31
@chenjiahan
Copy link
Contributor Author

Thank you!

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.

3 participants