Bump webpack-dev-server and @rspack/cli in /build/rspack#8
Bump webpack-dev-server and @rspack/cli in /build/rspack#8dependabot[bot] wants to merge 1 commit into
Conversation
Removes [webpack-dev-server](https://github.com/webpack/webpack-dev-server). It's no longer used after updating ancestor dependency [@rspack/cli](https://github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack-cli). These dependencies need to be updated together. Removes `webpack-dev-server` Updates `@rspack/cli` from 1.7.10 to 2.0.3 - [Release notes](https://github.com/web-infra-dev/rspack/releases) - [Commits](https://github.com/web-infra-dev/rspack/commits/v2.0.3/packages/rspack-cli) --- updated-dependencies: - dependency-name: webpack-dev-server dependency-version: dependency-type: indirect - dependency-name: "@rspack/cli" dependency-version: 2.0.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughWalkthroughSingle dependency version update: ChangesRspack CLI Version Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@build/rspack/package.json`:
- Around line 10-11: The package.json declares mismatched rspack packages:
"`@rspack/cli`" is ^2.0.3 while "`@rspack/core`" is ^1.3.18; update the
"`@rspack/core`" entry to a 2.x compatible version (e.g., ^2.0.0 or matching
^2.0.3) so `@rspack/core` and `@rspack/cli` share the same major version and satisfy
peer dependency requirements.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 4b464a8d-fc56-496b-b52d-a81edae4f56c
⛔ Files ignored due to path filters (1)
build/rspack/package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
build/rspack/package.json
| "@rspack/cli": "^2.0.3", | ||
| "@rspack/core": "^1.3.18", |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
Does @rspack/cliversion 2.0.3 support@rspack/core version 1.3.18?
💡 Result:
No—@rspack/cli 2.0.3 is not compatible with @rspack/core 1.3.18. Why: @rspack/cli declares @rspack/core as a peer dependency requiring the 2.0 line (its peer dependency range is ^2.0.0-0), so it does not include core 1.3.18 [1]. Additionally, the rspack v1→v2 migration guidance explicitly keeps @rspack/cli and @rspack/core in sync by upgrading both to the latest compatible v2 versions (example uses @rspack/core ^2.0.0 and @rspack/cli ^2.0.0), which further indicates you shouldn’t mix v1 core with v2 cli [2].
Citations:
Update @rspack/core to version 2.x to match @rspack/cli 2.0.3.
@rspack/cli v2.0.3 requires @rspack/core ^2.0.0 as a peer dependency and is incompatible with core v1.3.18. Align both packages to the same major version (v2.x) according to the rspack migration guidance.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@build/rspack/package.json` around lines 10 - 11, The package.json declares
mismatched rspack packages: "`@rspack/cli`" is ^2.0.3 while "`@rspack/core`" is
^1.3.18; update the "`@rspack/core`" entry to a 2.x compatible version (e.g.,
^2.0.0 or matching ^2.0.3) so `@rspack/core` and `@rspack/cli` share the same major
version and satisfy peer dependency requirements.
Removes webpack-dev-server. It's no longer used after updating ancestor dependency @rspack/cli. These dependencies need to be updated together.
Removes
webpack-dev-serverUpdates
@rspack/clifrom 1.7.10 to 2.0.3Release notes
Sourced from @rspack/cli's releases.
... (truncated)
Commits
9da7d0bchore(release): release 2.0.3ed2742achore: enable tsgo for dts generation (#13952)3998196chore(deps): update patch npm dependencies (#13959)45e3a8achore: enable Rslint for more packages and fix lint issues (#13934)5a0506fperf: disable perfetto tracing in release binding (#13932)24fc397chore: release v2.0.2 (#13922)b9788fbfix(cli): use rspack-merge for config extends (#13869)3f77a93chore(deps): update dependency@discoveryjs/json-extto v1 (#13916)4d82714chore(deps): update dependency exit-hook to v5 (#13906)74c95edchore: release version 2.0.1 (#13860)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by CodeRabbit