Skip to content

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

Merged
alexander-akait merged 1 commit intowebpack:mainfrom
chenjiahan:update_rspack_peer_v2
Feb 15, 2026
Merged

fix: update peer dependency for @rspack/core v2#717
alexander-akait merged 1 commit intowebpack:mainfrom
chenjiahan:update_rspack_peer_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 14, 2026 12:43
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 published peer dependency range for @rspack/core so consumers can use postcss-loader with Rspack v2 pre-releases (and onward), aligning package metadata with the new Rspack major.

Changes:

  • Expand @rspack/core peer dependency from 0.x || 1.x to 0.x || ^1.0.0 || ^2.0.0-0
  • Propagate the same peer dependency range update into package-lock.json

Reviewed changes

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

File Description
package.json Broadens @rspack/core peer dependency range to include v2 pre-releases.
package-lock.json Keeps lockfile metadata in sync with the updated peer dependency range.

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

@codecov
Copy link

codecov bot commented Feb 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.23%. Comparing base (c984ff4) to head (86bf988).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #717   +/-   ##
=======================================
  Coverage   88.23%   88.23%           
=======================================
  Files           3        3           
  Lines         357      357           
  Branches      118      118           
=======================================
  Hits          315      315           
  Misses         38       38           
  Partials        4        4           

☔ 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 a3ed7e2 into webpack:main Feb 15, 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