| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
🦋 Changeset detectedLatest commit: 748cbee The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Sorry, something went wrong.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Sorry, something went wrong.
|
This PR is packaged and the instant preview is available (3664b9d). Install it locally:
npm i -D webpack-cli@https://pkg.pr.new/webpack-cli@3664b9d
yarn add -D webpack-cli@https://pkg.pr.new/webpack-cli@3664b9d
pnpm add -D webpack-cli@https://pkg.pr.new/webpack-cli@3664b9d |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #4834 +/- ##
=======================================
Coverage 93.32% 93.32%
=======================================
Files 14 14
Lines 5466 5472 +6
Branches 793 793
=======================================
+ Hits 5101 5107 +6
Misses 363 363
Partials 2 2
Continue to review full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Bump the dev dependency to `webpack-dev-server@6` and add snapshots for it, which the snapshot resolver already supports through the `.snap.devServer<major>.webpack<major>` extension. CI now runs the test matrix against both v5 and v6, installing v5 with npm for that job. `webpack-dev-server` v6 is ESM and exposes the server as its `default` export, while v5 exports it directly, so the CLI now resolves the constructor type from the default export when there is one. Runtime behavior is unchanged, the package was already loaded through `(await import(pkg)).default`.
|
@bjohansebas could you rebase against main, so we can see the node v26 workflows in this pr? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Updates the webpack-dev-server dev dependency to v6 and makes the test suite cover both v5 and v6, which are the versions the webpack-cli peer range allows (^5.0.0 || ^6.0.0).
What kind of change does this PR introduce?
chore, plus a types fix in webpack-cli.
Did you add tests for your changes?
No new tests, the existing test/help and test/serve suites now run against both dev-server versions with their own snapshots.
Does this PR introduce a breaking change?
No. The peer range already allowed v6, and the type change only affects how the constructor type is resolved.
If relevant, what needs to be documented once your changes are merged or what have you already documented?
SERVE-OPTIONS-v6.md will be generated by the scheduled "Update documentation" workflow, which derives the filename from the installed dev-server major.
Use of AI
Yes. I used Claude Code (Opus) to carry out the upgrade under my direction: the dependency bump, the type fix, the CI matrix and the snapshots. I verified the build and ran test/help against the new snapshots locally, and reviewed the final diff.