Update dependency webpack-cli to v7 #2009

Merged
renovate_bot merged 1 commit from renovate/webpack-cli-7.x into master 2026-11-18 13:41:35 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
webpack-cli (source) ^6.0.0 → ^7.0.0 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

webpack/webpack-cli (webpack-cli)

v7.3.1

Compare Source

Patch Changes
  • fix: detect missing package managers and failed installations, without a lock file the CLI chose npm even when it wasn't installed instead of yarn or pnpm, and it continued after a package failed to install (by @​alexander-akait in #​4889)

  • chore: replace the import-local and cross-spawn dependencies with Node.js built-ins (by @​alexander-akait in #​4889)

  • chore: load configuration files with import() instead of eval (by @​alexander-akait in #​4893)

v7.3.0

Compare Source

Minor Changes
  • feat: run webpack-dev-server@6 as a compiler plugin. The CLI drives watch compilation, prints build stats and closes the compiler on shutdown. Older dev servers continue to manage their own compilation. (by @​bjohansebas in #​4847)

    In multi-compiler mode, every dev server serves all compilers by default. Use the new --dev-server-per-compiler option of webpack serve to serve each compiler only by the dev server from its own configuration.

  • feat: add shell completions for zsh, bash, fish and powershell through the complete command (by @​alexander-akait in #​4840)

Patch Changes
  • fix: keep multi-compiler options such as parallelism and plugins set on a configuration array when --config-name or extends rebuild it (by @​alexander-akait in #​4871)

  • perf: share the compile cache with child processes and worker threads, such as minimizer workers, so they start warm too (by @​alexander-akait in #​4872)

  • fix: assign distinct ports to dev servers of configurations that share the same devServer object. (by @​alexander-akait in #​4886)

v7.2.3

Compare Source

Patch Changes

v7.2.2

Compare Source

Patch Changes
  • perf: enable the Node.js compile cache (module.enableCompileCache, available on Node.js >= 22.8.0) to speed up CLI startup (by @​bjohansebas in #​4818)

v7.2.1

Compare Source

Patch Changes

v7.2.0

Compare Source

Minor Changes
  • feat: allow webpack-dev-server v6 as an optional peer dependency (^5.0.0 || ^6.0.0) (by @​bjohansebas in #​4793)

  • Support tsx as a fallback loader for TypeScript and JSX configuration files (.ts, .tsx, .cts, .mts and .jsx), used when none of the loaders known to interpret (such as ts-node) are installed. (by @​alexander-akait in #​4796)

v7.1.0

Compare Source

Minor Changes
  • feat(cli): refresh the --help output using commander's configureHelp API — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or --no-color is used, so scripts keep working. (by @​alexander-akait in #​4779)

  • feat: support .json5, .yaml/.yml and .toml configuration files by parsing them directly, with the parser package (json5, js-yaml, toml) installed on demand by the user and declared as optional peerDependencies so the parsers resolve correctly under Yarn PnP (by @​alexander-akait in #​4777)

v7.0.3

Compare Source

Patch Changes
  • Improved CLI startup performance and reduced memory usage. (by @​alexander-akait in #​4765)

  • Reduced CLI startup CPU and memory usage by caching schema-derived argument metadata, registering only the options present in the arguments, and reading config directories once during default-config discovery. (by @​alexander-akait in #​4760)

  • Replace the fastest-levenshtein dependency with a small in-tree implementation used for command/option "did you mean" suggestions. (by @​alexander-akait in #​4762)

v7.0.2

Compare Source

Patch Changes

v7.0.1

Compare Source

Patch Changes

v7.0.0

Compare Source

Major Changes
  • The minimum supported version of Node.js is 20.9.0. (by @​alexander-akait in #​4677)

  • Use dynamic import to load webpack.config.js, fallback to interpret only when configuration can't be load by dynamic import. Using dynamic imports allows you to take advantage of Node.js's built-in TypeScript support. (by @​alexander-akait in #​4677)

  • Removed the --node-env argument in favor of the --config-node-env argument. (by @​alexander-akait in #​4677)

  • The version command only output versions right now. (by @​alexander-akait in #​4677)

  • Removed deprecated API, no action required unless you use import cli from "webpack-cli";/const cli = require("webpack-cli");. (by @​alexander-akait in #​4677)

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [webpack-cli](https://github.com/webpack/webpack-cli/tree/main/packages/webpack-cli) ([source](https://github.com/webpack/webpack-cli)) | [`^6.0.0` → `^7.0.0`](https://renovatebot.com/diffs/npm/webpack-cli/6.0.1/7.3.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/webpack-cli/7.3.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/webpack-cli/6.0.1/7.3.1?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/6) for more information. --- ### Release Notes <details> <summary>webpack/webpack-cli (webpack-cli)</summary> ### [`v7.3.1`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#731) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.3.0...webpack-cli@7.3.1) ##### Patch Changes - fix: detect missing package managers and failed installations, without a lock file the CLI chose npm even when it wasn't installed instead of yarn or pnpm, and it continued after a package failed to install (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4889](https://github.com/webpack/webpack-cli/pull/4889)) - chore: replace the `import-local` and `cross-spawn` dependencies with Node.js built-ins (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4889](https://github.com/webpack/webpack-cli/pull/4889)) - chore: load configuration files with `import()` instead of `eval` (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4893](https://github.com/webpack/webpack-cli/pull/4893)) ### [`v7.3.0`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#730) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.2.3...webpack-cli@7.3.0) ##### Minor Changes - feat: run `webpack-dev-server@6` as a compiler plugin. The CLI drives watch compilation, prints build stats and closes the compiler on shutdown. Older dev servers continue to manage their own compilation. (by [@&#8203;bjohansebas](https://github.com/bjohansebas) in [#&#8203;4847](https://github.com/webpack/webpack-cli/pull/4847)) In multi-compiler mode, every dev server serves all compilers by default. Use the new `--dev-server-per-compiler` option of `webpack serve` to serve each compiler only by the dev server from its own configuration. - feat: add shell completions for zsh, bash, fish and powershell through the `complete` command (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4840](https://github.com/webpack/webpack-cli/pull/4840)) ##### Patch Changes - fix: keep multi-compiler options such as `parallelism` and `plugins` set on a configuration array when `--config-name` or `extends` rebuild it (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4871](https://github.com/webpack/webpack-cli/pull/4871)) - perf: share the compile cache with child processes and worker threads, such as minimizer workers, so they start warm too (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4872](https://github.com/webpack/webpack-cli/pull/4872)) - fix: assign distinct ports to dev servers of configurations that share the same `devServer` object. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4886](https://github.com/webpack/webpack-cli/pull/4886)) ### [`v7.2.3`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#723) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.2.2...webpack-cli@7.2.3) ##### Patch Changes - fix: resolve the `webpack-dev-server` type from its default export, so the types work with both v5 and v6 (by [@&#8203;bjohansebas](https://github.com/bjohansebas) in [#&#8203;4834](https://github.com/webpack/webpack-cli/pull/4834)) - feat: allow `toml@5` as a peer dependency for TOML configuration files (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4837](https://github.com/webpack/webpack-cli/pull/4837)) ### [`v7.2.2`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#722) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.2.1...webpack-cli@7.2.2) ##### Patch Changes - perf: enable the Node.js compile cache (`module.enableCompileCache`, available on Node.js >= 22.8.0) to speed up CLI startup (by [@&#8203;bjohansebas](https://github.com/bjohansebas) in [#&#8203;4818](https://github.com/webpack/webpack-cli/pull/4818)) ### [`v7.2.1`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#721) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.2.0...webpack-cli@7.2.1) ##### Patch Changes - fix: `CLIPlugin` dynamic import interop under Bun (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4799](https://github.com/webpack/webpack-cli/pull/4799)) ### [`v7.2.0`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#720) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.1.0...webpack-cli@7.2.0) ##### Minor Changes - feat: allow `webpack-dev-server` v6 as an optional peer dependency (`^5.0.0 || ^6.0.0`) (by [@&#8203;bjohansebas](https://github.com/bjohansebas) in [#&#8203;4793](https://github.com/webpack/webpack-cli/pull/4793)) - Support `tsx` as a fallback loader for TypeScript and JSX configuration files (`.ts`, `.tsx`, `.cts`, `.mts` and `.jsx`), used when none of the loaders known to `interpret` (such as `ts-node`) are installed. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4796](https://github.com/webpack/webpack-cli/pull/4796)) ### [`v7.1.0`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#710) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.0.3...webpack-cli@7.1.0) ##### Minor Changes - feat(cli): refresh the `--help` output using commander's `configureHelp` API — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or `--no-color` is used, so scripts keep working. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4779](https://github.com/webpack/webpack-cli/pull/4779)) - feat: support `.json5`, `.yaml`/`.yml` and `.toml` configuration files by parsing them directly, with the parser package (`json5`, `js-yaml`, `toml`) installed on demand by the user and declared as optional `peerDependencies` so the parsers resolve correctly under Yarn PnP (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4777](https://github.com/webpack/webpack-cli/pull/4777)) ### [`v7.0.3`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#703) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.0.2...webpack-cli@7.0.3) ##### Patch Changes - Improved CLI startup performance and reduced memory usage. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4765](https://github.com/webpack/webpack-cli/pull/4765)) - Reduced CLI startup CPU and memory usage by caching schema-derived argument metadata, registering only the options present in the arguments, and reading config directories once during default-config discovery. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4760](https://github.com/webpack/webpack-cli/pull/4760)) - Replace the `fastest-levenshtein` dependency with a small in-tree implementation used for command/option "did you mean" suggestions. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4762](https://github.com/webpack/webpack-cli/pull/4762)) ### [`v7.0.2`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#702) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.0.1...webpack-cli@7.0.2) ##### Patch Changes - Resolve configuration path for cache build dependencies. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4707](https://github.com/webpack/webpack-cli/pull/4707)) ### [`v7.0.1`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#701) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.0.0...webpack-cli@7.0.1) ##### Patch Changes - The `file` protocol for configuration options (`--config`/`--extends`) is supported. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4702](https://github.com/webpack/webpack-cli/pull/4702)) ### [`v7.0.0`](https://github.com/webpack/webpack-cli/blob/HEAD/CHANGELOG.md#700) [Compare Source](https://github.com/webpack/webpack-cli/compare/webpack-cli@6.0.1...webpack-cli@7.0.0) ##### Major Changes - The minimum supported version of Node.js is `20.9.0`. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) - Use dynamic import to load `webpack.config.js`, fallback to interpret only when configuration can't be load by dynamic import. Using dynamic imports allows you to take advantage of Node.js's built-in TypeScript support. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) - Removed the `--node-env` argument in favor of the `--config-node-env` argument. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) - The `version` command only output versions right now. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) - Removed deprecated API, no action required unless you use `import cli from "webpack-cli";`/`const cli = require("webpack-cli");`. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) ##### Patch Changes - Allow configuration freezing. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) - Use graceful shutdown when file system cache is enabled. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) - Performance improved. (by [@&#8203;alexander-akait](https://github.com/alexander-akait) in [#&#8203;4677](https://github.com/webpack/webpack-cli/pull/4677)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTEuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Update dependency webpack-cli to v7
All checks were successful
CI / webpack (push) Successful in 52s
CI / go-test (push) Successful in 1m36s
CI / go-vet (push) Successful in 1m37s
CI / go-build (push) Successful in 1m33s
CI / docker (push) Successful in 0s
CI / bundle (push) Successful in 56s
CI / helm (push) Successful in 0s
CI / build (push) Successful in 6m55s
0a61d8a43b
renovate_bot scheduled this pull request to auto merge when all checks succeed 2026-11-18 13:21:03 +00:00
renovate_bot deleted branch renovate/webpack-cli-7.x 2026-11-18 13:41:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonasled/website-symfony!2009
No description provided.