fix(deps): update dependency webpack-cli to v5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
webpack-cli (source) | dependencies | major | ^3.1.2 -> ^5.0.0 |
Release Notes
webpack/webpack-cli (webpack-cli)
v5.1.4
Bug Fixes
- multi compiler progress output (f659624)
v5.1.3
Bug Fixes
v5.1.2
Bug Fixes
- improve check for custom webpack and webpack-dev-server package existance (0931ab6)
- improve help for some flags (f468614)
- improved support for
.cts
and.mts
extensions (a77daf2)
v5.1.1
Bug Fixes
v5.1.0
Features
Performance Improvements
5.0.2 (2023-04-21)
Bug Fixes
- error message for missing default export in configuration (#3685) (e0a4a09)
- perf: reduced startup time (3b79059)
5.0.1 (2022-12-05)
Bug Fixes
v5.0.2
Bug Fixes
- error message for missing default export in configuration (#3685) (e0a4a09)
- perf: reduced startup time (3b79059)
v5.0.1
Bug Fixes
v5.0.0
Bug Fixes
- improve description of the
--disable-interpret
option (#3364) (bdb7e20) - remove the redundant
utils
export (#3343) (a9ce5d0) - respect
NODE_PATH
env variable (#3411) (83d1f58) - show all CLI specific flags in the minimum help output (#3354) (35843e8)
Features
- failOnWarnings option (#3317) (c48c848)
- update commander to v9 (#3460) (6621c02)
- added the
--define-process-env-node-env
option - update
interpret
to v3 andrechoir
to v0.8 - add an option for preventing interpret (#3329) (c737383)
BREAKING CHANGES
- the minimum supported webpack version is v5.0.0 (#3342) (b1af0dc), closes #3342
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
- webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
- remove the
migrate
command (#3291) (56b43e4), closes #3291 - remove the
--prefetch
option in favor thePrefetchPlugin
plugin - remove the
--node-env
option in favor--define-process-env-node-env
- remove the
--hot
option in favor of directly using theHotModuleReplacement
plugin (only forbuild
command, forserve
it will work) - the behavior logic of the
--entry
option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please usewebpack --entry-reset --entry './src/my-entry.js'
v4.10.0
Bug Fixes
- changeTime is already in milliseconds (#3198) (d390d32)
- improve parsing of
--env
flag (#3286) (402c0fe)
Features
- added types (8ec1375)
4.9.2 (2022-01-24)
Bug Fixes
4.9.1 (2021-10-18)
Bug Fixes
v4.9.2
Bug Fixes
v4.9.1
Bug Fixes
v4.9.0
Bug Fixes
Features
v4.8.0
Bug Fixes
- show default value in help output if available (#2814) (7f50948)
- support top multi compiler options (#2874) (82b1fb7)
Features
- show possible values for option in help output (#2819) (828e5c9)
- init-generator: add ability to specify a package manager of choice (#2769) (e53f164)
4.7.2 (2021-06-07)
Note: Version bump only for package webpack-cli (due @webpack-cli/serve
)
4.7.1 (2021-06-07)
Bug Fixes
v4.7.2
Note: Version bump only for package webpack-cli (due @webpack-cli/serve
)
v4.7.1
Bug Fixes
v4.7.0
Bug Fixes
Features
- add
create
andnew
alias forinit
(#2616) (5a9789d) - add
server
alias forserve
command (#2631) (c9ee947) - add flag to force start finish log (#2566) (281aad3)
- added
--no-devtool
to webpack v4(#2603) (7c6f390) - added support arguments description (#2659) (4dfd166)
v4.6.0
Bug Fixes
-
negative
options (#2555) (f26ebc1) - improve error message for help (#2482) (99ae2a3)
- show
--node-env
in minimum help output (#2411) (f5fc302)
Features
- added
WEBPACK_PACKAGE
env var to use customwebpack
package (#2556) (3d1e485) - added
WEBPACK_CLI_SKIP_IMPORT_LOCAL
env var to skip local import (#2546) (e130822) - allow string value for the
--hot
option (#2444) (8656e78) - display used config path when logging level=log (#2431) (f8406e1)
v4.5.0
Notes
- now you can use
webpack.config.mjs
andwebpack.config.js
with{ "type": "module" }
inpackage.json
- you can avoid using the
cross-env
package:
Before:
{
"scripts": {
"build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
}
}
Now (you can remove the cross-env
if you don't use it somewhere else):
{
"scripts": {
"build": "webpack --node-env=production --config build/webpack.config.js"
}
}
- the
mode
option respect the--node-env
option if you don't set themode
option explicit using CLI options or in configuration(s), i.e.--node-env production
setprocess.env.NODE_ENV
andmode
toproduction
Bug Fixes
- avoid deprecation message (9d6dbda)
- error message on invalid plugin options (#2380) (f9ce1d3)
- improve description for 'configtest' command (#2379) (311bae3)
Features
- add the
--node-env
flag (#2388) (e5126f1) - entries syntax (#2369) (6b31614)
- support ES module configuration format (#2381) (aebdbbc)
v4.4.0
Bug Fixes
- better description for
--no-watch-options-stdin
(#2288) (4ee8665) - double commands output in help (#2298) (efe81e9)
- pass all
argv
to configurations whenserve
command used (#2345) (5070b9b) - respect
--stats
,--color
and--no-color
option forserve
command (#2312) (73d3fec) - show exact package name while prompting for installation (#2338) (ffc93e5)
- webpack installation prompt message (#2316) (3659c5e)
Features
- added the
configtest
command (#2303) (eb7b189) - added the
build
command (aliases -bundle
andb
) (7590f66) - added the
watch
command (#2357) (9693f7d) - allow to pass parseOption to CLI class (#2299) (2af0801)
- allow to use
help
command to show option information (#2353) (15eb411) - show multiple suggestions on unknown options (#2349) (7314d6c)
4.3.1 (2020-12-31)
Bug Fixes
- error message on not installed module loaders for configuration (#2282) (29eaa8e)
- peer dependencies (#2284) (083f2a0)
- provide useful error on unknown command (d6380bb)
- the
--help
option is working withoutwebpack-dev-server
(#2267) (1dae54d) - the
--progress
option is working with--json
(#2276) (0595603)
v4.3.1
Bug Fixes
- error message on not installed module loaders for configuration (#2282) (29eaa8e)
- peer dependencies (#2284) (083f2a0)
- provide useful error on unknown command (d6380bb)
- the
--help
option is working withoutwebpack-dev-server
(#2267) (1dae54d) - the
--progress
option is working with--json
(#2276) (0595603)
v4.3.0
Bug Fixes
- fix problems with
--mode
and config resolution, there are situations when we resolve an invalid config file, the--mode
option does not affect on config resolution, if you faced with an error after updating, please use the--config
option - correct usage of cli-flags (#2205) (c8fc7d1)
- defer setting default mode to core (#2095) (3eb410e)
- respect the
--watch-options-stdin
option (2d1e001) - respect
--color
/--no-color
option (#2042) (09bd812) - stringify stats using streaming approach (#2190) (9bf4e92)
- use logger for error with proper exit code (#2076) (2c9069f)
- reduce spammy logs (#2206) (9b3cc28)
- respect the
infrastructureLogging.level
option (logger usesstderr
) (#2144) (7daccc7) - respect all options from command line for the
server
command -
help
andversion
output - respect
stats
from the config (webpack@4) (#2098) (2d6e5c6) - fixed colors work with multi compiler mode (webpack@4)
Features
- add
bundle
command (alias forwebpack [options]
) - add
pnpm
support for package installation (#2040) (46cba36)
v4.2.0
Bug Fixes
- --config-name behaviour for fuctional configs (#2006) (29ecf8d)
- assign cache value for default configs (#2013) (d2e3c74)
- callback deprecation (#1977) (2cb0c0e)
- handle core flags for webpack 4 (#2023) (ea66a7e)
- help and version functionality (#1972) (e8010b3)
Features
- export utils from core for other packages (#2011) (3004549)
- progress supports string argument (#2000) (f13346e)
- suggest the closest match based on the Levenshtein distance algorithm (#2010) (491a582)
v4.1.0
Bug Fixes
- avoid unnecessary stringify (#1920) (5ef1e7b)
- colored output (#1944) (2bbbb14)
- move init command to separate package (#1950) (92ad475)
- output stacktrace on errors (#1949) (9ba9d6f)
- run CLI after webpack installation (#1951) (564279e)
- support any config name (#1926) (6f95b26)
- support array of functions and promises (#1946) (2ace39b)
- watch mode and options (#1931) (258219a)
Features
v4.0.0
Bug Fixes
- add compilation lifecycle in watch instance (#1903) (02b6d21)
- cleanup
package-utils
package (#1822) (fd5b92b) - cli-executer supplies args further up (#1904) (097564a)
- exit code for validation errors (59f6303)
- exit process in case of schema errors (71e89b4)
Features
v3.3.12
v3.3.11
v3.3.10
New Features
- add new flag and patch sec dep (#1102)
v3.3.9
Fix
- use process.exitCode instead of process.exit in compilerCallback (ee001bd)
v3.3.8
Fix
- support both webpack versions (d28f9f5)
Tests
- add schema tests (70bf934)
v3.3.7
Fix
- resolve opts when no-config (fb31cc4)
v3.3.6
Docs
- remove deprecated packages description (#979)
Fix
v3.3.5
CLI
- remove donation prompt (a37477d)
Fix
- deps: move prettier from dependencies to devDependencies (#968)
- change "usr strict" to "use strict" (670efc7)
- update deps (69f364e)
v3.3.4
New Features
Docs
- added auto flag in docs for init command (dede7d8)
Fix
Tests
- fix failing ones (d154d0e)
Misc
v3.3.3
New Features
- chore: Added type definitions for the data returned by envinfo (#921)
- add htmlWebpackPlugin in development (88fcfa8)
- add mergeHandler (248b9cc)
- generators: add generated file templates (6be9291)
- init: generate README (c090b17)
- init: generate tsconfig (25ab7e6)
- init: support ts in configuration (283e089)
- init: wip typescript support (093a36d)
- md: formats md before committing (#851)
- webpack-scaffold: adds Input defaults, doc & tests (0a648f7)
CLI
- fix watch options for array config (#892)
Docs
- contribute: adds section seperator (cff0c55)
- contribute: combines seperate sections for npm and yarn (aefa8eb)
- contributing: updates the docs for the test (7656637)
- fix link to webpack-scaffold (de0b4a0)
- init: improve description (9856bab)
- utils: update prettier (8b6d47b)
Fix
- improve checking file permission (de41351)
- chore: Minor fix (6810182)
- use fork cause original repo is unmaintained (383125a)
- add: apply suggestions (ccf0dce)
- add: add handling of merge option (eb43443)
- add: add handling of merge option (ce51a0a)
- ci: fixes linting error in ci (cfc0117)
- cli: updates err message (b5e1913)
- cli: removes the comment before err handling block (ac5a53f)
- cli: --config-register resolves relative to root (23375bd)
- cli: removes func return in catch instance (7d31321)
- cli: sets stack trace limit (869024f)
- cli: err when no args passed, refactored nested conditional blocks (a9bc0bd)
- cli: shows error message based on package manager (a3ce273)
- cli: error when no webpack and args found (2250af0)
- generator: fixed the support of native plugins in add command (123a150)
- infra: fixes npm run docs (65c08e2)
- formatting files (eb3909b)
- remove type from inherited type (960e73a)
- remove type from inherited type (0552f76)
- change parser options (4e8bc76)
- json module resolve (61697b8)
- cli: improves error handling with args (cc64955)
- generator: generate correct module.rule for babel & ts (263b83c)
- generator: using configFile in configPath to get the config file name (#883)
- genrators/utils/style: typo & fix (f46f4e5)
Misc
- update internal docs (7071b5c)
- add lerna publish cmnd (5c8c6a1)
- generators: remove comment (bd06a69)
- generators: refactor (376dcbd)
- generators: small text improvements (782f56c)
- generators: improve prompts (ac35a31)
- generators: refactor init-generator (d574846)
- generators: refactor utils (17e4511)
- generators/utils/style: refactor (392fcfe)
- init: refactor with async/await (1b07d2b)
- init: small refactor (4627ea1)
- init-generator: improve readme (f971632)
- init-generator: small refactor (dcf44c1)
- init-generator: use webpackOption types, improve test rules (a650e0e)
- init-generator: improve types & defaults (fb23aa4)
- packages: complete rebase (488b06c)
- types: correct types (85ef3e7)
v3.3.2
New Features
- opencollective prompt: add option to disable it + doc (d4643ae)
- terser: clean old files (89e6b74)
- terser: remove leftover files (27d5b4d)
- terser: replace after merging master (c404655)
- replace Uglify with Terser in generators (2b8651b)
- use terserPlugin in loaderOptionsPlugin (14f5337)
- use terserJsPlugin for transformations during migrate (33c6185)
- replace uglifyJsPlugin with terserPlugin in migrate (d467f3b)
- opencollective prompt: work on windows setting atime by code (3af73a8)
- opencollective prompt: fix typo (c2351b1)
- opencollective prompt: remove .lastocprint file from fs (b96ad56)
- opencollective prompt: extract weekday to variable (790d27a)
- opencollective prompt: set terminal cols to 80 (badc32d)
- opencollective prompt: fix azure ci (ea0039a)
- opencollective prompt: lint (ea906d8)
- opencollective prompt: clear package.json modifications (f080733)
- opencollective prompt: add prompt in postinstall script (dd9d528)
Ast
- change tooltip property from uglify to terser (ea9e4b8)
- replace requires and inits for uglify with terser (3011a6c)
- replace UglifyJsPlugin with TerserPlugin (21da35f)
Docs
- code of conduct (#873)
- contribute: adds table of contents and info about dependencies. (#842)
- contributing: fixes dead link (#835)
- opencollective prompt: improve code clarity (55992a4)
- packages: adds downloads/month shield (6a0375a)
- readme: fix typos, add summary of all commands (#845)
- readme: adds contributors shield (958d064)
- README: phrase change (3a11a16)
- README: add link to webpack-scaffold-starter (e35a194)
- README: update scaffolding links (74179b5)
- serve: link to webpack-dev-server (cb68b1b)
- serve: update docs to use webpack-dev-server (f7451d4)
- replace tooltip link to terser plugin (4254730)
- replace Uglify with Terser in comments (799577d)
- replace UglifyJsPlugin with TerserPlugin in migrate docs (326f783)
Enh
- webpack-scaffold: improve prompt and doc (#794)
Fix
- add: add types (d4ce6f2)
- add: fix runTransform (dbc3e9e)
- add: lint code (163b309)
- add: add handling for topScope (1162cf5)
- bin, serve: force default package export, add serve default (#815)
- init: refactored the init.ts success message (#810)
- opencollective prompt: fix grammar (246db42)
- opencollective-prompt: check write permissions (5284b7e)
- scaffold: config file is always generated at the project root (#801)
- utils: refactors utils (7fe3543)
- clear up comment about default function purpose (e48507d)
- remove unused files (ec242ab)
- reset files (9863445)
- replace lookups for TerserPlugin in webpack.optimise (ef23fec)
Misc
- chore(docs): Refactors links for badges (#859)
- opencollective-prompt: improve grammar (e17a26d)
- Remove tslint in favour of eslint (#834)
- cli: refactor functions into utils and config dirs, merge yargs options (#781)
- utils: refactors scaffold (0b28fb3)
v3.3.1
v3.3.0
New Features
- use webpack.config as default name in dev scaffold (385a672)
- only display once a week (b6199e5)
- add util to run-and-get watch proc (1d2ccd5)
- add test-util to append data to file (e9e1dcb)
- log: clean single line logs (5d2284b)
- log: add gitignore (7c830b5)
- log: make log package (df7c224)
- log: add clrscr function (11b3bff)
- log: few changes (bc32727)
- log: add newline for title (4047213)
- log: remove unwanted commits (c088f3e)
- log: task based custom loggers (2c43a41)
Docs
- scaffolding: lowercase Webpack (d19c1f7)
- scaffolding: fix typos (b94b0de)
- scaffolding: improve grammar (6b79072)
- add lerna badge in README (#786)
- contributing: refactor & formatting (1042cb2)
- contributing: improve formatting (47fcd7f)
- contributing: : at the end of paragraphs (48d65fd)
- contributing: update instructions to run individual tests (b7cca58)
- contributing: update instructions to run individual tests (bc0297a)
- contributing: add yarn before running jest (126cf55)
- contributing: commands to install jest globally (18b7c2e)
- contributing: fixes typo (c458380)
- contributing: improves formatting (abac823)
- contributing: adds prebuild instructions (81cb46a)
- readme: add downloads badge (dc2423c)
- scaffold: add link option for local (f8424be)
- scaffold: Add installation guide for packages/webpack-scaffold (#727)
- scaffolding: fix typo (98818a1)
- scaffolding: improve description & formatting (0f657d0)
- scaffolding: fix links (e11c524)
- scaffolding: add yarn example (d47eea0)
- scaffolding: fix typo (87ba169)
- scaffolding: improved structure, formatting, typos (8949f82)
- init documentaion (4b130bb)
- rename Webpack to webpack (900c13e)
- init documentaion (14d2b47)
Fix
- bin: use compiler.close API correctly for stats (568161d)
- bin: extension detection (#724)
- init: lint code (20aab48)
- init: support global installation (1cb0166)
- init: revert to local installation (48b3b23)
- init: update prompt command (c1c0739)
- init: update prompt command (1cab3cb)
- readme: remove old dependency status link (4df0000)
- readme: add fallback badge for dependency status (0e3753b)
- tests: remove snapshot for static compilation (54a3ac4)
- tests: remove snapshot for static compilation (3af0948)
- tests: update jest (d195774)
- close compiler, own sh script and output clearing (6ded275)
- failing test (88888bb)
- failing test (986472a)
- test: fix travis ts build (22d3acc)
Misc
- Correction of the webpack-merge configuration (2ed8c60)
- replace opencollective with light vers (848bf4b)
v3.2.3
v3.2.2
New Features
- only display once a week (b6199e5)
- add util to run-and-get watch proc (1d2ccd5)
- add test-util to append data to file (e9e1dcb)
- log: clean single line logs (5d2284b)
- log: add gitignore (7c830b5)
- log: make log package (df7c224)
- log: add clrscr function (11b3bff)
- log: few changes (bc32727)
- log: add newline for title (4047213)
- log: remove unwanted commits (c088f3e)
- log: task based custom loggers (2c43a41)
Docs
Fix
- close compiler, own sh script and output clearing (6ded275)
- bin: extension detection (#724)
- readme: remove old dependency status link (4df0000)
- readme: add fallback badge for dependency status (0e3753b)
- failing test (88888bb)
- test: fix travis ts build (22d3acc)
Misc
- Correction of the webpack-merge configuration (2ed8c60)
- replace opencollective with light vers (848bf4b)
v3.2.1
v3.2.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate