From a515b76434a5031aada10f660975ea03d2a66218 Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Sat, 19 Sep 2020 20:14:15 +0200 Subject: [PATCH] chore: beta v9 (#1812) * chore: beta v9 * chore: remove v4 dupe --- CHANGELOG.md | 123 ++++++++++++++++++++++++++++++ package.json | 2 +- packages/webpack-cli/package.json | 2 +- 3 files changed, 125 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e110eb21d06..28605e4b3ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,126 @@ + + +# 4.0.0-beta.9 (2020-09-19) + +[Full Changelog](https://github.com/webpack/webpack-cli/compare/v4.0.0-beta.2...v4.0.0-beta.9) + +## New Features + +- add aliases to all available commands ([#1644](https://github.com/webpack/webpack-cli/pull/1644)) +- generate changelog and copy old CHANGEFILE ([#1805](https://github.com/webpack/webpack-cli/pull/1805)) +- allow using cjs as default config ([#1775](https://github.com/webpack/webpack-cli/pull/1775)) +- add support for merging multiple configurations ([#1768](https://github.com/webpack/webpack-cli/pull/1768)) +- add support to spawn multiple compilers with different configs ([#1765](https://github.com/webpack/webpack-cli/pull/1765)) +- add name flag ([#1757](https://github.com/webpack/webpack-cli/pull/1757)) +- add --config-name flag ([#1753](https://github.com/webpack/webpack-cli/pull/1753)) +- serve integration ([#1712](https://github.com/webpack/webpack-cli/pull/1712)) +- add support for .cjs config ([#1727](https://github.com/webpack/webpack-cli/pull/1727)) +- support multiple env params ([#1715](https://github.com/webpack/webpack-cli/pull/1715)) +- add stats detailed option ([#1359](https://github.com/webpack/webpack-cli/pull/1359)) +- add flag to force config ([f61e7e0](https://github.com/webpack/webpack-cli/commit/f61e7e0)) +- support command aliases with webpack-cli version ([#1664](https://github.com/webpack/webpack-cli/pull/1664)) +- add support for none config in dotfolder ([#1637](https://github.com/webpack/webpack-cli/pull/1637)) +- validate user input ([#1610](https://github.com/webpack/webpack-cli/pull/1610)) +- parse Number flags ([#1652](https://github.com/webpack/webpack-cli/pull/1652)) +- allow multiple types for --stats ([ca2d593](https://github.com/webpack/webpack-cli/commit/ca2d593)) +- show up cli flag aliases with webpack help ([#1647](https://github.com/webpack/webpack-cli/pull/1647)) +- allow multiple targets ([#1799](https://github.com/webpack/webpack-cli/pull/1799)) +- 🎸 add support for env flag ([#1598](https://github.com/webpack/webpack-cli/pull/1598)) +- allow only specified negated flags ([#1613](https://github.com/webpack/webpack-cli/pull/1613)) +- add init to webpack-cli ([#1609](https://github.com/webpack/webpack-cli/pull/1609)) +- webpack-cli: webpack stats ([#1299](https://github.com/webpack/webpack-cli/pull/1299)) +- test case for passing in unknown flags ([#1214](https://github.com/webpack/webpack-cli/pull/1214)) +- webpack-cli: add mode argument validation ([#1290](https://github.com/webpack/webpack-cli/pull/1290)) +- webpack-cli: add --no-stats flag ([#1654](https://github.com/webpack/webpack-cli/pull/1654)) +- webpack-cli: --version for external packages ([#1421](https://github.com/webpack/webpack-cli/pull/1421)) +- webpack-cli: add alias for version ([#1405](https://github.com/webpack/webpack-cli/pull/1405)) +- webpack-cli: import flags from webpack core ([#1630](https://github.com/webpack/webpack-cli/pull/1630)) +- webpack-cli: allow multiple entry files ([#1619](https://github.com/webpack/webpack-cli/pull/1619)) +- webpack-cli: allow negative property for cli-flags ([#1668](https://github.com/webpack/webpack-cli/pull/1668)) +- webpack-cli: add no-mode flag ([#1276](https://github.com/webpack/webpack-cli/pull/1276)) +- webpack-cli: create a cli executer ([#1255](https://github.com/webpack/webpack-cli/pull/1255)) +- webpack-cli: added mode argument ([#1253](https://github.com/webpack/webpack-cli/pull/1253)) +- webpack-cli: add progress bar for progress flag ([#1238](https://github.com/webpack/webpack-cli/pull/1238)) +- webpack-cli: add --no-hot flag ([#1591](https://github.com/webpack/webpack-cli/pull/1591)) + +## Fix + +- webpack-cli: verbose flag functionality ([#1549](https://github.com/webpack/webpack-cli/pull/1549)) +- ci for webpack@beta.30 ([#1801](https://github.com/webpack/webpack-cli/pull/1801)) +- use compiler.apply for Progress Plugin ([#1772](https://github.com/webpack/webpack-cli/pull/1772)) +- remove yes ([279c43f](https://github.com/webpack/webpack-cli/commit/279c43f)) +- throw err when supplied config is absent ([#1760](https://github.com/webpack/webpack-cli/pull/1760)) +- allow unknown files to use default require as fallback ([#1747](https://github.com/webpack/webpack-cli/pull/1747)) +- use appropriate exit codes ([#1755](https://github.com/webpack/webpack-cli/pull/1755)) +- peer dependencies for `webpack serve` ([#1317](https://github.com/webpack/webpack-cli/pull/1317)) +- yarn.lock conflicts on setup ([#1367](https://github.com/webpack/webpack-cli/pull/1367)) +- conditionally install terser-webpack-plugin for webpack@next ([#1732](https://github.com/webpack/webpack-cli/pull/1732)) +- generated loader template ([#1720](https://github.com/webpack/webpack-cli/pull/1720)) +- supply argv to config with functions ([#1721](https://github.com/webpack/webpack-cli/pull/1721)) +- rename sourcemap flag to devtool ([#1723](https://github.com/webpack/webpack-cli/pull/1723)) +- generated plugin template ([#1717](https://github.com/webpack/webpack-cli/pull/1717)) +- warn about merge config resolution cases ([#1674](https://github.com/webpack/webpack-cli/pull/1674)) +- use fileTypes from interpret ([#1690](https://github.com/webpack/webpack-cli/pull/1690)) +- set mode=production by default ([#1688](https://github.com/webpack/webpack-cli/pull/1688)) +- promise support in config ([#1666](https://github.com/webpack/webpack-cli/pull/1666)) +- show version information for plugin and loader ([#1661](https://github.com/webpack/webpack-cli/pull/1661)) +- prevent info from running unnecessarily ([#1650](https://github.com/webpack/webpack-cli/pull/1650)) +- json flag, enable tests ([#1460](https://github.com/webpack/webpack-cli/pull/1460)) +- consistent webpack plugin name ([#1480](https://github.com/webpack/webpack-cli/pull/1480)) +- typo in Compiler.js ([#1580](https://github.com/webpack/webpack-cli/pull/1580)) +- 🐛 do not apply own defaults while setting mode ([#1565](https://github.com/webpack/webpack-cli/pull/1565)) +- compatibility with webpack@next ([#1779](https://github.com/webpack/webpack-cli/pull/1779)) +- throw error for invalid args ([#1462](https://github.com/webpack/webpack-cli/pull/1462)) +- regression with migrate command ([7ebcbb8](https://github.com/webpack/webpack-cli/commit/7ebcbb8)) +- generators: fix generators init loader's test regex ([#1309](https://github.com/webpack/webpack-cli/pull/1309)) +- release beta ([f1f05d8](https://github.com/webpack/webpack-cli/commit/f1f05d8)) +- cli: fix file resolution inside group helper ([#1221](https://github.com/webpack/webpack-cli/pull/1221)) +- generators: fix and refactor entry util, add tests ([#1392](https://github.com/webpack/webpack-cli/pull/1392)) +- generators: fix small issues with generators ([#1385](https://github.com/webpack/webpack-cli/pull/1385)) +- info: throw an error if help or version is passed as an arg ([#1737](https://github.com/webpack/webpack-cli/pull/1737)) +- init: fix the invalid package name ([#1228](https://github.com/webpack/webpack-cli/pull/1228)) +- init: fix webpack config scaffold ([#1231](https://github.com/webpack/webpack-cli/pull/1231)) +- packages: make packages have correct main paths to index ([#1366](https://github.com/webpack/webpack-cli/pull/1366)) +- serve: merge CLI and devServer options correctly ([#1649](https://github.com/webpack/webpack-cli/pull/1649)) +- serve: supplying help or version as an arg should throw error ([#1694](https://github.com/webpack/webpack-cli/pull/1694)) +- utils: respect package-lock.json ([#1375](https://github.com/webpack/webpack-cli/pull/1375)) +- webpack-cli: to void defaultEntry override the webpack config entry ([#1289](https://github.com/webpack/webpack-cli/pull/1289)) +- webpack-cli: add configuration for mode option none ([#1303](https://github.com/webpack/webpack-cli/pull/1303)) +- webpack-cli: handle promise rejection with package installation ([#1284](https://github.com/webpack/webpack-cli/pull/1284)) +- webpack-cli: correct cli-flags usage ([#1441](https://github.com/webpack/webpack-cli/pull/1441)) +- webpack-cli: fixed support for SCSS entry points ([#1271](https://github.com/webpack/webpack-cli/pull/1271)) +- webpack-cli: handle promise rejection happening with cli-executor ([#1269](https://github.com/webpack/webpack-cli/pull/1269)) +- webpack-cli: prefer import local ([#1345](https://github.com/webpack/webpack-cli/pull/1345)) +- webpack-cli: remove invalid stats warning with json flag ([#1587](https://github.com/webpack/webpack-cli/pull/1587)) +- webpack-cli: add value none in mode usage ([#1411](https://github.com/webpack/webpack-cli/pull/1411)) +- webpack-cli: prefetch flag implementation ([#1583](https://github.com/webpack/webpack-cli/pull/1583)) + +## Perf + +- do not spawn new process for running webpack ([#1741](https://github.com/webpack/webpack-cli/pull/1741)) + +## Refactor + +- remove --dev and --prod flags ([#1693](https://github.com/webpack/webpack-cli/pull/1693)) +- remove duplicate invocation ([#1790](https://github.com/webpack/webpack-cli/pull/1790)) +- cliExecuter consumes runCLI ([#1754](https://github.com/webpack/webpack-cli/pull/1754)) +- remove --mode flag validation ([#1744](https://github.com/webpack/webpack-cli/pull/1744)) +- use console for logging ([#1740](https://github.com/webpack/webpack-cli/pull/1740)) +- use logger ([#1748](https://github.com/webpack/webpack-cli/pull/1748)) +- remove stale code ([#1670](https://github.com/webpack/webpack-cli/pull/1670)) +- remove plugin flag ([#1571](https://github.com/webpack/webpack-cli/pull/1571)) +- 💡 remove defaults flag ([#1543](https://github.com/webpack/webpack-cli/pull/1543)) +- refactor info package ([#1382](https://github.com/webpack/webpack-cli/pull/1382)) +- webpack-cli: remove --no-mode flag ([#1503](https://github.com/webpack/webpack-cli/pull/1503)) + +## Misc + +- feat[utils]: opt to use config schema from core ([#1655](https://github.com/webpack/webpack-cli/pull/1655)) +- migrate to commander ([#1481](https://github.com/webpack/webpack-cli/pull/1481)) +- Fix loader-generator and plugin-generator tests ([#1250](https://github.com/webpack/webpack-cli/pull/1250)) +- Fixing the typos and grammatical errors in Readme files ([#1246](https://github.com/webpack/webpack-cli/pull/1246)) +- remove code: remove unused code ([#1800](https://github.com/webpack/webpack-cli/pull/1800)) + # 3.3.12 (2020-06-03) diff --git a/package.json b/package.json index 0f955b74664..58fa13758d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-cli-monorepo", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.9", "description": "CLI for webpack & friends", "license": "MIT", "private": true, diff --git a/packages/webpack-cli/package.json b/packages/webpack-cli/package.json index dbe3657b7fb..5244225ae06 100644 --- a/packages/webpack-cli/package.json +++ b/packages/webpack-cli/package.json @@ -1,6 +1,6 @@ { "name": "webpack-cli", - "version": "4.0.0-beta.8", + "version": "4.0.0-beta.9", "description": "CLI for webpack & friends", "license": "MIT", "repository": {