Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency webpack-cli to v5 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webpack-cli (source) 3.3.0 -> 5.1.4 age adoption passing confidence

Release Notes

webpack/webpack-cli

v5.1.4

Compare Source

Bug Fixes
  • multi compiler progress output (f659624)

v5.1.3

Compare Source

Bug Fixes

v5.1.2

Compare Source

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

Compare Source

Bug Fixes

v5.1.0

Compare Source

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

Compare Source

Bug Fixes
  • error message for missing default export in configuration (#​3685) (e0a4a09)
  • perf: reduced startup time (3b79059)

v5.0.1

Compare Source

Bug Fixes

v5.0.0

Compare Source

Bug Fixes
Features
  • failOnWarnings option (#​3317) (c48c848)
  • update commander to v9 (#​3460) (6621c02)
  • added the --define-process-env-node-env option
  • update interpret to v3 and rechoir 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 the PrefetchPlugin plugin
  • remove the --node-env option in favor --define-process-env-node-env
  • remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve 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 use webpack --entry-reset --entry './src/my-entry.js'

v4.10.0

Compare Source

Bug Fixes
Features

4.9.2 (2022-01-24)

Bug Fixes

4.9.1 (2021-10-18)

Bug Fixes

v4.9.2

Compare Source

Bug Fixes

v4.9.1

Compare Source

Bug Fixes

v4.9.0

Compare Source

Bug Fixes
Features
  • allow to run commands without webpack installation where it is unnecessary (#​2907) (603041d)

v4.8.0

Compare Source

Bug Fixes
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

Compare Source

Note: Version bump only for package webpack-cli (due @webpack-cli/serve)

v4.7.1

Compare Source

Bug Fixes

v4.7.0

Compare Source

Bug Fixes
Features

v4.6.0

Compare Source

Bug Fixes
Features

v4.5.0

Compare Source

Notes
  • now you can use webpack.config.mjs and webpack.config.js with { "type": "module" } in package.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 the mode option explicit using CLI options or in configuration(s), i.e. --node-env production set process.env.NODE_ENV and mode to production
Bug Fixes
Features

v4.4.0

Compare Source

Bug Fixes
Features

4.3.1 (2020-12-31)

Bug Fixes

v4.3.1

Compare Source

Bug Fixes

v4.3.0

Compare Source

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 uses stderr) (#​2144) (7daccc7)
  • respect all options from command line for the server command
  • help and version output
  • respect stats from the config (webpack@4) (#​2098) (2d6e5c6)
  • fixed colors work with multi compiler mode (webpack@4)
Features
  • add bundle command (alias for webpack [options])
  • add pnpm support for package installation (#​2040) (46cba36)

v4.2.0

Compare Source

Bug Fixes
Features

v4.1.0

Compare Source

Bug Fixes
Features

v4.0.0

Compare Source

Bug Fixes
Features
  • assign config paths in build dependencies in cache config (#​1900) (7e90f11)

v3.3.12

Compare Source

Full Changelog

v3.3.11

Compare Source

Full Changelog

v3.3.10

Compare Source

Full Changelog

New Features

  • add new flag and patch sec dep (#​1102)

v3.3.9

Compare Source

Full Changelog

Fix

  • use process.exitCode instead of process.exit in compilerCallback (ee001bd)

v3.3.8

Compare Source

Full Changelog

Fix

  • support both webpack versions (d28f9f5)

Tests

v3.3.7

Compare Source

Full Changelog

Fix

  • resolve opts when no-config (fb31cc4)

v3.3.6

Compare Source

Full Changelog

Docs

  • remove deprecated packages description (#​979)

Fix

v3.3.5

Compare Source

Full Changelog

CLI

Fix

  • deps: move prettier from dependencies to devDependencies (#​968)
  • change "usr strict" to "use strict" (670efc7)
  • update deps (69f364e)

v3.3.4

Compare Source

Full Changelog

New Features

Docs

  • added auto flag in docs for init command (dede7d8)

Fix

  • module not found error (a2062f2)
  • remove unused pkgs and refactor init generator (7608d4b)

Tests

Misc

v3.3.3

Compare Source

Full Changelog

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

Compare Source

Full Changelog

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

Compare Source

Full Changelog


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/webpack-cli-5.x branch 2 times, most recently from c9a4f35 to 6fef4d4 Compare June 4, 2023 05:05
@renovate renovate bot force-pushed the renovate/webpack-cli-5.x branch from 6fef4d4 to 0dc726c Compare June 4, 2023 18:08
@renovate renovate bot force-pushed the renovate/webpack-cli-5.x branch from 0dc726c to 6585de8 Compare June 7, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants