Skip to content

Bump webpack-dev-server and @rspack/cli in /build/rspack#8

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/build/rspack/multi-9108e848ed
Open

Bump webpack-dev-server and @rspack/cli in /build/rspack#8
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/build/rspack/multi-9108e848ed

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 20, 2026

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-server

Updates @rspack/cli from 1.7.10 to 2.0.3

Release notes

Sourced from @​rspack/cli's releases.

v2.0.3

What's Changed

Performance Improvements ⚡

New Features 🎉

Bug Fixes 🐞

Refactor 🔨

Document Updates 📖

Other Changes

... (truncated)

Commits

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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

  • Chores
    • Updated build tool dependencies to improve build stability and compatibility.

Review Change Stack

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 20, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

📝 Walkthrough

Walkthrough

Single dependency version update: @rspack/cli is bumped from ^1.3.18 to ^2.0.3 in build/rspack/package.json, while @rspack/core and all other entries remain unchanged.

Changes

Rspack CLI Version Update

Layer / File(s) Summary
Rspack CLI version bump
build/rspack/package.json
@rspack/cli devDependency is updated from ^1.3.18 to ^2.0.3.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A version up, a version down,
One line changed in this small town,
Rspack CLI hops ahead with glee,
From one-point-three to point-two-three! 📦✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description provides clear context about why webpack-dev-server is being removed (no longer used), details the @rspack/cli version update with comprehensive release notes and commits, but does not follow the repository's template structure requiring association with an issue and testing instructions. Consider associating this PR with a related issue and adding information about how the changes were tested or validated.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The PR title accurately describes the main change: bumping webpack-dev-server and @rspack/cli in the /build/rspack directory, which aligns with the actual changes made.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/build/rspack/multi-9108e848ed

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between a7a48c5 and 20fdfb7.

⛔ Files ignored due to path filters (1)
  • build/rspack/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • build/rspack/package.json

Comment thread build/rspack/package.json
Comment on lines +10 to 11
"@rspack/cli": "^2.0.3",
"@rspack/core": "^1.3.18",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants