Update dependency webpack-cli to v7 #47
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
andylockran/TwoFacedCalendar!47
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/webpack-cli-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^4.8.0→^7.0.0Release Notes
webpack/webpack-cli (webpack-cli)
v7.3.1Compare 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-localandcross-spawndependencies with Node.js built-ins (by @alexander-akait in #4889)chore: load configuration files with
import()instead ofeval(by @alexander-akait in #4893)v7.3.0Compare Source
Minor Changes
feat: run
webpack-dev-server@6as 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-compileroption ofwebpack serveto serve each compiler only by the dev server from its own configuration.feat: add shell completions for zsh, bash, fish and powershell through the
completecommand (by @alexander-akait in #4840)Patch Changes
fix: keep multi-compiler options such as
parallelismandpluginsset on a configuration array when--config-nameorextendsrebuild 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
devServerobject. (by @alexander-akait in #4886)v7.2.3Compare Source
Patch Changes
fix: resolve the
webpack-dev-servertype from its default export, so the types work with both v5 and v6 (by @bjohansebas in #4834)feat: allow
toml@5as a peer dependency for TOML configuration files (by @alexander-akait in #4837)v7.2.2Compare Source
Patch Changes
module.enableCompileCache, available on Node.js >= 22.8.0) to speed up CLI startup (by @bjohansebas in #4818)v7.2.1Compare Source
Patch Changes
CLIPlugindynamic import interop under Bun (by @alexander-akait in #4799)v7.2.0Compare Source
Minor Changes
feat: allow
webpack-dev-serverv6 as an optional peer dependency (^5.0.0 || ^6.0.0) (by @bjohansebas in #4793)Support
tsxas a fallback loader for TypeScript and JSX configuration files (.ts,.tsx,.cts,.mtsand.jsx), used when none of the loaders known tointerpret(such asts-node) are installed. (by @alexander-akait in #4796)v7.1.0Compare Source
Minor Changes
feat(cli): refresh the
--helpoutput using commander'sconfigureHelpAPI — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or--no-coloris used, so scripts keep working. (by @alexander-akait in #4779)feat: support
.json5,.yaml/.ymland.tomlconfiguration files by parsing them directly, with the parser package (json5,js-yaml,toml) installed on demand by the user and declared as optionalpeerDependenciesso the parsers resolve correctly under Yarn PnP (by @alexander-akait in #4777)v7.0.3Compare 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-levenshteindependency with a small in-tree implementation used for command/option "did you mean" suggestions. (by @alexander-akait in #4762)v7.0.2Compare Source
Patch Changes
v7.0.1Compare Source
Patch Changes
fileprotocol for configuration options (--config/--extends) is supported. (by @alexander-akait in #4702)v7.0.0Compare 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-envargument in favor of the--config-node-envargument. (by @alexander-akait in #4677)The
versioncommand 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
Allow configuration freezing. (by @alexander-akait in #4677)
Use graceful shutdown when file system cache is enabled. (by @alexander-akait in #4677)
Performance improved. (by @alexander-akait in #4677)
v6.0.1Compare Source
Bug Fixes
v6.0.0Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.4Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.3Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.2Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.1Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.1.0Compare Source
BREAKING CHANGES
18.12.0init,loaderandplugincommands in favorcreate-webpack-appwebpack-dev-server@v45.82.0--define-process-env-node-envoption was renamed to--config-node-envBug Fixes
webpack.config.jsin ESM format (#4346) (5106684)Features
info/versioncommand (#3906) (38f3c6f)5.1.4 (2023-06-07)
Bug Fixes
5.1.3 (2023-06-04)
Bug Fixes
5.1.2 (2023-06-04)
Bug Fixes
.ctsand.mtsextensions (a77daf2)5.1.1 (2023-05-09)
Bug Fixes
--watchused (#3783) (c0436ba)v5.0.2Compare Source
Features
extends(#3738) (d04d0b9)Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
5.0.1 (2022-12-05)
Bug Fixes
v5.0.1Compare Source
Features
extends(#3738) (d04d0b9)Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
5.0.1 (2022-12-05)
Bug Fixes
v5.0.0Compare Source
Features
extends(#3738) (d04d0b9)Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
5.0.1 (2022-12-05)
Bug Fixes
v4.10.0Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.9.2Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.9.1Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)v4.9.0Compare Source
Bug Fixes
--envflag (#3286) (402c0fe)Features
4.9.2 (2022-01-24)
Bug Fixes
negatedDescriptionfor flags from schema (#3102) (463b731)4.9.1 (2021-10-18)
Bug Fixes
import(#3006) (6a9aac9)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: package-lock.json
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.