diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 704d573270a..f3517a18489 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -7,31 +7,31 @@ work is not in vain. Table of Contents -- [Issues](#issues) -- [Your first Contribution](#your-first-contribution) -- [Setup](#setup) - - [Using npm](#using-npm) - - [Using yarn](#using-yarn) -- [Running Tests](#running-tests) - - [Using npm](#using-npm-1) - - [Using yarn](#using-yarn-1) -- [Editor Config](#editor-config) -- [Dependencies](#dependencies) -- [Branching Model](#branching-model) -- [Naming a branch](#naming-a-branch) - - [Features](#features) - - [Fixes](#fixes) -- [Testing](#testing) -- [Pull Requests](#pull-requests) -- [Submitting a good Pull Request](#submitting-a-good-pull-request) -- [Commit message](#commit-message) - - [Commit Message Format](#commit-message-format) -- [Migrate with the CLI](#migrate-with-the-cli) - - [How it's being done](#how-its-being-done) - - [Structure of a transform](#structure-of-a-transform) - - [Further Work](#further-work) -- [Contributor License Agreement](#contributor-license-agreement) -- [Documentation](#documentation) +- [Issues](#issues) +- [Your first Contribution](#your-first-contribution) +- [Setup](#setup) + - [Using npm](#using-npm) + - [Using yarn](#using-yarn) +- [Running Tests](#running-tests) + - [Using npm](#using-npm-1) + - [Using yarn](#using-yarn-1) +- [Editor Config](#editor-config) +- [Dependencies](#dependencies) +- [Branching Model](#branching-model) +- [Naming a branch](#naming-a-branch) + - [Features](#features) + - [Fixes](#fixes) +- [Testing](#testing) +- [Pull Requests](#pull-requests) +- [Submitting a good Pull Request](#submitting-a-good-pull-request) +- [Commit message](#commit-message) + - [Commit Message Format](#commit-message-format) +- [Migrate with the CLI](#migrate-with-the-cli) + - [How it's being done](#how-its-being-done) + - [Structure of a transform](#structure-of-a-transform) + - [Further Work](#further-work) +- [Contributor License Agreement](#contributor-license-agreement) +- [Documentation](#documentation) ## Issues @@ -55,130 +55,130 @@ In case you are suggesting a new feature, we will match your idea with our curre ## Setup -- Install [Node.js](https://nodejs.org/) if you don't have it already. - _Note: Node 6 or greater would be better for "best results"._ -- Fork the **webpack-cli** repo at [https://github.com/webpack/webpack-cli](https://github.com/webpack/webpack-cli). -- `git clone && cd webpack-cli` +- Install [Node.js](https://nodejs.org/) if you don't have it already. + _Note: Node 6 or greater would be better for "best results"._ +- Fork the **webpack-cli** repo at [https://github.com/webpack/webpack-cli](https://github.com/webpack/webpack-cli). +- `git clone && cd webpack-cli` ### Using npm -- Install the dependencies and link them: +- Install the dependencies and link them: - ```bash - npm install - npm link - npm link webpack-cli - ``` + ```bash + npm install + npm link + npm link webpack-cli + ``` -- Bootstrap all the submodules before building for the first time +- Bootstrap all the submodules before building for the first time - ```bash - npm run bootstrap - npm run build - ``` + ```bash + npm run bootstrap + npm run build + ``` ### Using yarn -- If you don't have yarn yet: +- If you don't have yarn yet: - ```bash - npm install -g yarn - ``` + ```bash + npm install -g yarn + ``` -- Install the dependencies and link them +- Install the dependencies and link them - ```bash - yarn - yarn link - yarn link webpack-cli - ``` + ```bash + yarn + yarn link + yarn link webpack-cli + ``` -- Bootstrap all the submodules before building for the first time +- Bootstrap all the submodules before building for the first time - ```bash - yarn bootstrap - yarn build - ``` + ```bash + yarn bootstrap + yarn build + ``` ## Running Tests ### Using npm -- Run all the tests with: +- Run all the tests with: - ```bash - npm run test - ``` + ```bash + npm run test + ``` -- Run CLI tests with: +- Run CLI tests with: - ```bash - npm run test:cli - ``` + ```bash + npm run test:cli + ``` -- Run tests of all packages: +- Run tests of all packages: - ```bash - npm run test:packages - ``` + ```bash + npm run test:packages + ``` -- Test a single CLI test case: +- Test a single CLI test case: - ```bash - npx jest path/to/my-test.js - ``` + ```bash + npx jest path/to/my-test.js + ``` -- You can also install jest globally and run tests without npx: +- You can also install jest globally and run tests without npx: - ```bash - npm i -g jest - jest path/to/my-test.js - ``` + ```bash + npm i -g jest + jest path/to/my-test.js + ``` -- You can run the linters: +- You can run the linters: - ```bash - npm run lint - ``` + ```bash + npm run lint + ``` ### Using yarn -- Run all the tests with: +- Run all the tests with: - ```bash - yarn test - ``` + ```bash + yarn test + ``` -- Run CLI tests with: +- Run CLI tests with: - ```bash - yarn test:cli` - ``` + ```bash + yarn test:cli` + ``` -- Run tests of all packages: +- Run tests of all packages: - ```bash - yarn test:packages - ``` + ```bash + yarn test:packages + ``` -- Test a single CLI test case: +- Test a single CLI test case: - ```bash - yarn jest path/to/my-test.js - ``` + ```bash + yarn jest path/to/my-test.js + ``` -- You can also install jest globally and run tests: +- You can also install jest globally and run tests: - ```bash - yarn global add jest - jest path/to/my-test.js - ``` + ```bash + yarn global add jest + jest path/to/my-test.js + ``` -- You can run the linters: +- You can run the linters: - ```bash - yarn lint - ``` + ```bash + yarn lint + ``` ## Editor Config @@ -198,15 +198,15 @@ We base our branching model on [git flow](http://nvie.com/posts/a-successful-git Making a branch in your fork for your contribution is helpful in the following ways: -- It allows you to submit more than one contribution in a single PR. -- It allows us to identify what your contribution is about from the branch name. +- It allows you to submit more than one contribution in a single PR. +- It allows us to identify what your contribution is about from the branch name. You will want to checkout the `master` branch locally before creating your new branch. There are two types of branches: -- Feature -- Bugfix +- Feature +- Bugfix ### Features @@ -237,9 +237,9 @@ In case you've got a small change in most of the cases, your pull request would ## Submitting a good Pull Request -- Write tests -- Follow the existing coding style -- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) +- Write tests +- Follow the existing coding style +- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) ## Commit message @@ -265,15 +265,15 @@ format that includes a **type** and a **subject**: This is the list of _type_ of commits that we accept: -- ast -- break -- chore -- cli -- docs -- feat -- fix -- misc -- tests +- ast +- break +- chore +- cli +- docs +- feat +- fix +- misc +- tests The **header** is mandatory. @@ -344,8 +344,8 @@ It takes the input file given as parameter and uses jest to create a snapshot of This is still in a very raw form. We'd like to take this as close to a truly useful tool as possible. We will still need to -- Support all kinds of webpack configuration(made using merge tools) -- Test these transforms against real-world configurations. +- Support all kinds of webpack configuration(made using merge tools) +- Test these transforms against real-world configurations. ## Contributor License Agreement diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000000..1152177bf46 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +open_collective: webpack + diff --git a/CHANGELOG.md b/CHANGELOG.md index 144318849f8..1f17833d147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,1134 +1,1180 @@ - + + # 3.3.2 (2019-05-04) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.1.5...v3.3.2) ## New Features -* opencollective prompt: add option to disable it + doc ([d4643ae](https://github.com/webpack/webpack-cli/commit/d4643ae)) -* terser: clean old files ([89e6b74](https://github.com/webpack/webpack-cli/commit/89e6b74)) -* terser: remove leftover files ([27d5b4d](https://github.com/webpack/webpack-cli/commit/27d5b4d)) -* terser: replace after merging master ([c404655](https://github.com/webpack/webpack-cli/commit/c404655)) -* replace Uglify with Terser in generators ([2b8651b](https://github.com/webpack/webpack-cli/commit/2b8651b)) -* use terserPlugin in loaderOptionsPlugin ([14f5337](https://github.com/webpack/webpack-cli/commit/14f5337)) -* use terserJsPlugin for transformations during migrate ([33c6185](https://github.com/webpack/webpack-cli/commit/33c6185)) -* replace uglifyJsPlugin with terserPlugin in migrate ([d467f3b](https://github.com/webpack/webpack-cli/commit/d467f3b)) -* opencollective prompt: work on windows setting atime by code ([3af73a8](https://github.com/webpack/webpack-cli/commit/3af73a8)) -* opencollective prompt: fix typo ([c2351b1](https://github.com/webpack/webpack-cli/commit/c2351b1)) -* opencollective prompt: remove .lastocprint file from fs ([b96ad56](https://github.com/webpack/webpack-cli/commit/b96ad56)) -* opencollective prompt: extract weekday to variable ([790d27a](https://github.com/webpack/webpack-cli/commit/790d27a)) -* opencollective prompt: set terminal cols to 80 ([badc32d](https://github.com/webpack/webpack-cli/commit/badc32d)) -* opencollective prompt: fix azure ci ([ea0039a](https://github.com/webpack/webpack-cli/commit/ea0039a)) -* opencollective prompt: lint ([ea906d8](https://github.com/webpack/webpack-cli/commit/ea906d8)) -* opencollective prompt: clear package.json modifications ([f080733](https://github.com/webpack/webpack-cli/commit/f080733)) -* opencollective prompt: add prompt in postinstall script ([dd9d528](https://github.com/webpack/webpack-cli/commit/dd9d528)) +- opencollective prompt: add option to disable it + doc ([d4643ae](https://github.com/webpack/webpack-cli/commit/d4643ae)) +- terser: clean old files ([89e6b74](https://github.com/webpack/webpack-cli/commit/89e6b74)) +- terser: remove leftover files ([27d5b4d](https://github.com/webpack/webpack-cli/commit/27d5b4d)) +- terser: replace after merging master ([c404655](https://github.com/webpack/webpack-cli/commit/c404655)) +- replace Uglify with Terser in generators ([2b8651b](https://github.com/webpack/webpack-cli/commit/2b8651b)) +- use terserPlugin in loaderOptionsPlugin ([14f5337](https://github.com/webpack/webpack-cli/commit/14f5337)) +- use terserJsPlugin for transformations during migrate ([33c6185](https://github.com/webpack/webpack-cli/commit/33c6185)) +- replace uglifyJsPlugin with terserPlugin in migrate ([d467f3b](https://github.com/webpack/webpack-cli/commit/d467f3b)) +- opencollective prompt: work on windows setting atime by code ([3af73a8](https://github.com/webpack/webpack-cli/commit/3af73a8)) +- opencollective prompt: fix typo ([c2351b1](https://github.com/webpack/webpack-cli/commit/c2351b1)) +- opencollective prompt: remove .lastocprint file from fs ([b96ad56](https://github.com/webpack/webpack-cli/commit/b96ad56)) +- opencollective prompt: extract weekday to variable ([790d27a](https://github.com/webpack/webpack-cli/commit/790d27a)) +- opencollective prompt: set terminal cols to 80 ([badc32d](https://github.com/webpack/webpack-cli/commit/badc32d)) +- opencollective prompt: fix azure ci ([ea0039a](https://github.com/webpack/webpack-cli/commit/ea0039a)) +- opencollective prompt: lint ([ea906d8](https://github.com/webpack/webpack-cli/commit/ea906d8)) +- opencollective prompt: clear package.json modifications ([f080733](https://github.com/webpack/webpack-cli/commit/f080733)) +- opencollective prompt: add prompt in postinstall script ([dd9d528](https://github.com/webpack/webpack-cli/commit/dd9d528)) ## Ast -* change tooltip property from uglify to terser ([ea9e4b8](https://github.com/webpack/webpack-cli/commit/ea9e4b8)) -* replace requires and inits for uglify with terser ([3011a6c](https://github.com/webpack/webpack-cli/commit/3011a6c)) -* replace UglifyJsPlugin with TerserPlugin ([21da35f](https://github.com/webpack/webpack-cli/commit/21da35f)) +- change tooltip property from uglify to terser ([ea9e4b8](https://github.com/webpack/webpack-cli/commit/ea9e4b8)) +- replace requires and inits for uglify with terser ([3011a6c](https://github.com/webpack/webpack-cli/commit/3011a6c)) +- replace UglifyJsPlugin with TerserPlugin ([21da35f](https://github.com/webpack/webpack-cli/commit/21da35f)) ## Chore -* cli: move constants to a separate file ([#798](https://github.com/webpack/webpack-cli/pull/798)) -* deps: fix security vulnerabilities ([#857](https://github.com/webpack/webpack-cli/pull/857)) -* deps: upgrade lerna to fix vulnerabilities & update webpack-dev-server ([#823](https://github.com/webpack/webpack-cli/pull/823)) -* docs: minor fixes in the docs ([#874](https://github.com/webpack/webpack-cli/pull/874)) -* docs: removes scaffolding docs from the root ([8c1db03](https://github.com/webpack/webpack-cli/commit/8c1db03)) -* junit: reverting the junit.xml ([80fd4fa](https://github.com/webpack/webpack-cli/commit/80fd4fa)) -* travis: removed stable ([#871](https://github.com/webpack/webpack-cli/pull/871)) -* types: move to @types/yeoman-generator ([#869](https://github.com/webpack/webpack-cli/pull/869)) -* addon generator to async/await ([#849](https://github.com/webpack/webpack-cli/pull/849)) -* v.3.1.1 ([d3f8e20](https://github.com/webpack/webpack-cli/commit/d3f8e20)) -* tests: updated test regex, some helper scripts ([#809](https://github.com/webpack/webpack-cli/pull/809)) -* types: add type information ([#791](https://github.com/webpack/webpack-cli/pull/791)) -* replace instances of uglify with terser ([f9cb8ce](https://github.com/webpack/webpack-cli/commit/f9cb8ce)) -* use actual package name in comment about removing uglify ([b1cf4cc](https://github.com/webpack/webpack-cli/commit/b1cf4cc)) -* align file in the same way as other terserPlugin test fixtures ([b6c6484](https://github.com/webpack/webpack-cli/commit/b6c6484)) -* remove gitHash from package.json ([2af08be](https://github.com/webpack/webpack-cli/commit/2af08be)) +- cli: move constants to a separate file ([#798](https://github.com/webpack/webpack-cli/pull/798)) +- deps: fix security vulnerabilities ([#857](https://github.com/webpack/webpack-cli/pull/857)) +- deps: upgrade lerna to fix vulnerabilities & update webpack-dev-server ([#823](https://github.com/webpack/webpack-cli/pull/823)) +- docs: minor fixes in the docs ([#874](https://github.com/webpack/webpack-cli/pull/874)) +- docs: removes scaffolding docs from the root ([8c1db03](https://github.com/webpack/webpack-cli/commit/8c1db03)) +- junit: reverting the junit.xml ([80fd4fa](https://github.com/webpack/webpack-cli/commit/80fd4fa)) +- travis: removed stable ([#871](https://github.com/webpack/webpack-cli/pull/871)) +- types: move to @types/yeoman-generator ([#869](https://github.com/webpack/webpack-cli/pull/869)) +- addon generator to async/await ([#849](https://github.com/webpack/webpack-cli/pull/849)) +- v.3.1.1 ([d3f8e20](https://github.com/webpack/webpack-cli/commit/d3f8e20)) +- tests: updated test regex, some helper scripts ([#809](https://github.com/webpack/webpack-cli/pull/809)) +- types: add type information ([#791](https://github.com/webpack/webpack-cli/pull/791)) +- replace instances of uglify with terser ([f9cb8ce](https://github.com/webpack/webpack-cli/commit/f9cb8ce)) +- use actual package name in comment about removing uglify ([b1cf4cc](https://github.com/webpack/webpack-cli/commit/b1cf4cc)) +- align file in the same way as other terserPlugin test fixtures ([b6c6484](https://github.com/webpack/webpack-cli/commit/b6c6484)) +- remove gitHash from package.json ([2af08be](https://github.com/webpack/webpack-cli/commit/2af08be)) ## Docs -* code of conduct ([#873](https://github.com/webpack/webpack-cli/pull/873)) -* contribute: adds table of contents and info about dependencies. ([#842](https://github.com/webpack/webpack-cli/pull/842)) -* contributing: fixes dead link ([#835](https://github.com/webpack/webpack-cli/pull/835)) -* opencollective prompt: improve code clarity ([55992a4](https://github.com/webpack/webpack-cli/commit/55992a4)) -* packages: adds downloads/month shield ([6a0375a](https://github.com/webpack/webpack-cli/commit/6a0375a)) -* readme: fix typos, add summary of all commands ([#845](https://github.com/webpack/webpack-cli/pull/845)) -* readme: adds contributors shield ([958d064](https://github.com/webpack/webpack-cli/commit/958d064)) -* README: phrase change ([3a11a16](https://github.com/webpack/webpack-cli/commit/3a11a16)) -* README: add link to webpack-scaffold-starter ([e35a194](https://github.com/webpack/webpack-cli/commit/e35a194)) -* README: update scaffolding links ([74179b5](https://github.com/webpack/webpack-cli/commit/74179b5)) -* serve: link to webpack-dev-server ([cb68b1b](https://github.com/webpack/webpack-cli/commit/cb68b1b)) -* serve: update docs to use webpack-dev-server ([f7451d4](https://github.com/webpack/webpack-cli/commit/f7451d4)) -* replace tooltip link to terser plugin ([4254730](https://github.com/webpack/webpack-cli/commit/4254730)) -* replace Uglify with Terser in comments ([799577d](https://github.com/webpack/webpack-cli/commit/799577d)) -* replace UglifyJsPlugin with TerserPlugin in migrate docs ([326f783](https://github.com/webpack/webpack-cli/commit/326f783)) +- code of conduct ([#873](https://github.com/webpack/webpack-cli/pull/873)) +- contribute: adds table of contents and info about dependencies. ([#842](https://github.com/webpack/webpack-cli/pull/842)) +- contributing: fixes dead link ([#835](https://github.com/webpack/webpack-cli/pull/835)) +- opencollective prompt: improve code clarity ([55992a4](https://github.com/webpack/webpack-cli/commit/55992a4)) +- packages: adds downloads/month shield ([6a0375a](https://github.com/webpack/webpack-cli/commit/6a0375a)) +- readme: fix typos, add summary of all commands ([#845](https://github.com/webpack/webpack-cli/pull/845)) +- readme: adds contributors shield ([958d064](https://github.com/webpack/webpack-cli/commit/958d064)) +- README: phrase change ([3a11a16](https://github.com/webpack/webpack-cli/commit/3a11a16)) +- README: add link to webpack-scaffold-starter ([e35a194](https://github.com/webpack/webpack-cli/commit/e35a194)) +- README: update scaffolding links ([74179b5](https://github.com/webpack/webpack-cli/commit/74179b5)) +- serve: link to webpack-dev-server ([cb68b1b](https://github.com/webpack/webpack-cli/commit/cb68b1b)) +- serve: update docs to use webpack-dev-server ([f7451d4](https://github.com/webpack/webpack-cli/commit/f7451d4)) +- replace tooltip link to terser plugin ([4254730](https://github.com/webpack/webpack-cli/commit/4254730)) +- replace Uglify with Terser in comments ([799577d](https://github.com/webpack/webpack-cli/commit/799577d)) +- replace UglifyJsPlugin with TerserPlugin in migrate docs ([326f783](https://github.com/webpack/webpack-cli/commit/326f783)) ## Enh -* webpack-scaffold: improve prompt and doc ([#794](https://github.com/webpack/webpack-cli/pull/794)) +- webpack-scaffold: improve prompt and doc ([#794](https://github.com/webpack/webpack-cli/pull/794)) ## Fix -* add: add types ([d4ce6f2](https://github.com/webpack/webpack-cli/commit/d4ce6f2)) -* add: fix runTransform ([dbc3e9e](https://github.com/webpack/webpack-cli/commit/dbc3e9e)) -* add: lint code ([163b309](https://github.com/webpack/webpack-cli/commit/163b309)) -* add: add handling for topScope ([1162cf5](https://github.com/webpack/webpack-cli/commit/1162cf5)) -* bin, serve: force default package export, add serve default ([#815](https://github.com/webpack/webpack-cli/pull/815)) -* init: refactored the init.ts success message ([#810](https://github.com/webpack/webpack-cli/pull/810)) -* opencollective prompt: fix grammar ([246db42](https://github.com/webpack/webpack-cli/commit/246db42)) -* opencollective-prompt: check write permissions ([5284b7e](https://github.com/webpack/webpack-cli/commit/5284b7e)) -* scaffold: config file is always generated at the project root ([#801](https://github.com/webpack/webpack-cli/pull/801)) -* utils: refactors utils ([7fe3543](https://github.com/webpack/webpack-cli/commit/7fe3543)) -* clear up comment about default function purpose ([e48507d](https://github.com/webpack/webpack-cli/commit/e48507d)) -* remove unused files ([ec242ab](https://github.com/webpack/webpack-cli/commit/ec242ab)) -* reset files ([9863445](https://github.com/webpack/webpack-cli/commit/9863445)) -* replace lookups for TerserPlugin in webpack.optimise ([ef23fec](https://github.com/webpack/webpack-cli/commit/ef23fec)) +- add: add types ([d4ce6f2](https://github.com/webpack/webpack-cli/commit/d4ce6f2)) +- add: fix runTransform ([dbc3e9e](https://github.com/webpack/webpack-cli/commit/dbc3e9e)) +- add: lint code ([163b309](https://github.com/webpack/webpack-cli/commit/163b309)) +- add: add handling for topScope ([1162cf5](https://github.com/webpack/webpack-cli/commit/1162cf5)) +- bin, serve: force default package export, add serve default ([#815](https://github.com/webpack/webpack-cli/pull/815)) +- init: refactored the init.ts success message ([#810](https://github.com/webpack/webpack-cli/pull/810)) +- opencollective prompt: fix grammar ([246db42](https://github.com/webpack/webpack-cli/commit/246db42)) +- opencollective-prompt: check write permissions ([5284b7e](https://github.com/webpack/webpack-cli/commit/5284b7e)) +- scaffold: config file is always generated at the project root ([#801](https://github.com/webpack/webpack-cli/pull/801)) +- utils: refactors utils ([7fe3543](https://github.com/webpack/webpack-cli/commit/7fe3543)) +- clear up comment about default function purpose ([e48507d](https://github.com/webpack/webpack-cli/commit/e48507d)) +- remove unused files ([ec242ab](https://github.com/webpack/webpack-cli/commit/ec242ab)) +- reset files ([9863445](https://github.com/webpack/webpack-cli/commit/9863445)) +- replace lookups for TerserPlugin in webpack.optimise ([ef23fec](https://github.com/webpack/webpack-cli/commit/ef23fec)) ## Tests -* update snapshots ([ce9fbc8](https://github.com/webpack/webpack-cli/commit/ce9fbc8)) -* replace uglify with terser in ast-utils tests ([73f493f](https://github.com/webpack/webpack-cli/commit/73f493f)) -* migration: typescript ([#613](https://github.com/webpack/webpack-cli/pull/613)) +- update snapshots ([ce9fbc8](https://github.com/webpack/webpack-cli/commit/ce9fbc8)) +- replace uglify with terser in ast-utils tests ([73f493f](https://github.com/webpack/webpack-cli/commit/73f493f)) +- migration: typescript ([#613](https://github.com/webpack/webpack-cli/pull/613)) ## Misc -* chore(docs): Refactors links for badges ([#859](https://github.com/webpack/webpack-cli/pull/859)) -* opencollective-prompt: improve grammar ([e17a26d](https://github.com/webpack/webpack-cli/commit/e17a26d)) -* Remove tslint in favour of eslint ([#834](https://github.com/webpack/webpack-cli/pull/834)) -* cli: refactor functions into utils and config dirs, merge yargs options ([#781](https://github.com/webpack/webpack-cli/pull/781)) -* utils: refactors scaffold ([0b28fb3](https://github.com/webpack/webpack-cli/commit/0b28fb3)) +- chore(docs): Refactors links for badges ([#859](https://github.com/webpack/webpack-cli/pull/859)) +- opencollective-prompt: improve grammar ([e17a26d](https://github.com/webpack/webpack-cli/commit/e17a26d)) +- Remove tslint in favour of eslint ([#834](https://github.com/webpack/webpack-cli/pull/834)) +- cli: refactor functions into utils and config dirs, merge yargs options ([#781](https://github.com/webpack/webpack-cli/pull/781)) +- utils: refactors scaffold ([0b28fb3](https://github.com/webpack/webpack-cli/commit/0b28fb3)) + + - # 3.3.1 (2019-04-21) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.1.5...v3.3.1) ## New Features -* terser: clean old files ([89e6b74](https://github.com/webpack/webpack-cli/commit/89e6b74)) -* terser: remove leftover files ([27d5b4d](https://github.com/webpack/webpack-cli/commit/27d5b4d)) -* terser: replace after merging master ([c404655](https://github.com/webpack/webpack-cli/commit/c404655)) -* replace Uglify with Terser in generators ([2b8651b](https://github.com/webpack/webpack-cli/commit/2b8651b)) -* use terserPlugin in loaderOptionsPlugin ([14f5337](https://github.com/webpack/webpack-cli/commit/14f5337)) -* use terserJsPlugin for transformations during migrate ([33c6185](https://github.com/webpack/webpack-cli/commit/33c6185)) -* replace uglifyJsPlugin with terserPlugin in migrate ([d467f3b](https://github.com/webpack/webpack-cli/commit/d467f3b)) -* opencollective prompt: work on windows setting atime by code ([3af73a8](https://github.com/webpack/webpack-cli/commit/3af73a8)) -* opencollective prompt: fix typo ([c2351b1](https://github.com/webpack/webpack-cli/commit/c2351b1)) -* opencollective prompt: remove .lastocprint file from fs ([b96ad56](https://github.com/webpack/webpack-cli/commit/b96ad56)) -* opencollective prompt: extract weekday to variable ([790d27a](https://github.com/webpack/webpack-cli/commit/790d27a)) -* opencollective prompt: set terminal cols to 80 ([badc32d](https://github.com/webpack/webpack-cli/commit/badc32d)) -* opencollective prompt: fix azure ci ([ea0039a](https://github.com/webpack/webpack-cli/commit/ea0039a)) -* opencollective prompt: lint ([ea906d8](https://github.com/webpack/webpack-cli/commit/ea906d8)) -* opencollective prompt: clear package.json modifications ([f080733](https://github.com/webpack/webpack-cli/commit/f080733)) -* opencollective prompt: add prompt in postinstall script ([dd9d528](https://github.com/webpack/webpack-cli/commit/dd9d528)) +- terser: clean old files ([89e6b74](https://github.com/webpack/webpack-cli/commit/89e6b74)) +- terser: remove leftover files ([27d5b4d](https://github.com/webpack/webpack-cli/commit/27d5b4d)) +- terser: replace after merging master ([c404655](https://github.com/webpack/webpack-cli/commit/c404655)) +- replace Uglify with Terser in generators ([2b8651b](https://github.com/webpack/webpack-cli/commit/2b8651b)) +- use terserPlugin in loaderOptionsPlugin ([14f5337](https://github.com/webpack/webpack-cli/commit/14f5337)) +- use terserJsPlugin for transformations during migrate ([33c6185](https://github.com/webpack/webpack-cli/commit/33c6185)) +- replace uglifyJsPlugin with terserPlugin in migrate ([d467f3b](https://github.com/webpack/webpack-cli/commit/d467f3b)) +- opencollective prompt: work on windows setting atime by code ([3af73a8](https://github.com/webpack/webpack-cli/commit/3af73a8)) +- opencollective prompt: fix typo ([c2351b1](https://github.com/webpack/webpack-cli/commit/c2351b1)) +- opencollective prompt: remove .lastocprint file from fs ([b96ad56](https://github.com/webpack/webpack-cli/commit/b96ad56)) +- opencollective prompt: extract weekday to variable ([790d27a](https://github.com/webpack/webpack-cli/commit/790d27a)) +- opencollective prompt: set terminal cols to 80 ([badc32d](https://github.com/webpack/webpack-cli/commit/badc32d)) +- opencollective prompt: fix azure ci ([ea0039a](https://github.com/webpack/webpack-cli/commit/ea0039a)) +- opencollective prompt: lint ([ea906d8](https://github.com/webpack/webpack-cli/commit/ea906d8)) +- opencollective prompt: clear package.json modifications ([f080733](https://github.com/webpack/webpack-cli/commit/f080733)) +- opencollective prompt: add prompt in postinstall script ([dd9d528](https://github.com/webpack/webpack-cli/commit/dd9d528)) ## Ast -* change tooltip property from uglify to terser ([ea9e4b8](https://github.com/webpack/webpack-cli/commit/ea9e4b8)) -* replace requires and inits for uglify with terser ([3011a6c](https://github.com/webpack/webpack-cli/commit/3011a6c)) -* replace UglifyJsPlugin with TerserPlugin ([21da35f](https://github.com/webpack/webpack-cli/commit/21da35f)) +- change tooltip property from uglify to terser ([ea9e4b8](https://github.com/webpack/webpack-cli/commit/ea9e4b8)) +- replace requires and inits for uglify with terser ([3011a6c](https://github.com/webpack/webpack-cli/commit/3011a6c)) +- replace UglifyJsPlugin with TerserPlugin ([21da35f](https://github.com/webpack/webpack-cli/commit/21da35f)) ## Chore -* cli: move constants to a separate file ([#798](https://github.com/webpack/webpack-cli/pull/798)) -* deps: upgrade lerna to fix vulnerabilities & update webpack-dev-server ([#823](https://github.com/webpack/webpack-cli/pull/823)) -* docs: removes scaffolding docs from the root ([8c1db03](https://github.com/webpack/webpack-cli/commit/8c1db03)) -* junit: reverting the junit.xml ([80fd4fa](https://github.com/webpack/webpack-cli/commit/80fd4fa)) -* tests: updated test regex, some helper scripts ([#809](https://github.com/webpack/webpack-cli/pull/809)) -* types: add type information ([#791](https://github.com/webpack/webpack-cli/pull/791)) -* replace instances of uglify with terser ([f9cb8ce](https://github.com/webpack/webpack-cli/commit/f9cb8ce)) -* use actual package name in comment about removing uglify ([b1cf4cc](https://github.com/webpack/webpack-cli/commit/b1cf4cc)) -* align file in the same way as other terserPlugin test fixtures ([b6c6484](https://github.com/webpack/webpack-cli/commit/b6c6484)) -* remove gitHash from package.json ([2af08be](https://github.com/webpack/webpack-cli/commit/2af08be)) +- cli: move constants to a separate file ([#798](https://github.com/webpack/webpack-cli/pull/798)) +- deps: upgrade lerna to fix vulnerabilities & update webpack-dev-server ([#823](https://github.com/webpack/webpack-cli/pull/823)) +- docs: removes scaffolding docs from the root ([8c1db03](https://github.com/webpack/webpack-cli/commit/8c1db03)) +- junit: reverting the junit.xml ([80fd4fa](https://github.com/webpack/webpack-cli/commit/80fd4fa)) +- tests: updated test regex, some helper scripts ([#809](https://github.com/webpack/webpack-cli/pull/809)) +- types: add type information ([#791](https://github.com/webpack/webpack-cli/pull/791)) +- replace instances of uglify with terser ([f9cb8ce](https://github.com/webpack/webpack-cli/commit/f9cb8ce)) +- use actual package name in comment about removing uglify ([b1cf4cc](https://github.com/webpack/webpack-cli/commit/b1cf4cc)) +- align file in the same way as other terserPlugin test fixtures ([b6c6484](https://github.com/webpack/webpack-cli/commit/b6c6484)) +- remove gitHash from package.json ([2af08be](https://github.com/webpack/webpack-cli/commit/2af08be)) ## Docs -* contributing: fixes dead link ([#835](https://github.com/webpack/webpack-cli/pull/835)) -* opencollective prompt: improve code clarity ([55992a4](https://github.com/webpack/webpack-cli/commit/55992a4)) -* packages: adds downloads/month shield ([6a0375a](https://github.com/webpack/webpack-cli/commit/6a0375a)) -* readme: adds contributors shield ([958d064](https://github.com/webpack/webpack-cli/commit/958d064)) -* README: phrase change ([3a11a16](https://github.com/webpack/webpack-cli/commit/3a11a16)) -* README: add link to webpack-scaffold-starter ([e35a194](https://github.com/webpack/webpack-cli/commit/e35a194)) -* README: update scaffolding links ([74179b5](https://github.com/webpack/webpack-cli/commit/74179b5)) -* serve: link to webpack-dev-server ([cb68b1b](https://github.com/webpack/webpack-cli/commit/cb68b1b)) -* serve: update docs to use webpack-dev-server ([f7451d4](https://github.com/webpack/webpack-cli/commit/f7451d4)) -* replace tooltip link to terser plugin ([4254730](https://github.com/webpack/webpack-cli/commit/4254730)) -* replace Uglify with Terser in comments ([799577d](https://github.com/webpack/webpack-cli/commit/799577d)) -* replace UglifyJsPlugin with TerserPlugin in migrate docs ([326f783](https://github.com/webpack/webpack-cli/commit/326f783)) +- contributing: fixes dead link ([#835](https://github.com/webpack/webpack-cli/pull/835)) +- opencollective prompt: improve code clarity ([55992a4](https://github.com/webpack/webpack-cli/commit/55992a4)) +- packages: adds downloads/month shield ([6a0375a](https://github.com/webpack/webpack-cli/commit/6a0375a)) +- readme: adds contributors shield ([958d064](https://github.com/webpack/webpack-cli/commit/958d064)) +- README: phrase change ([3a11a16](https://github.com/webpack/webpack-cli/commit/3a11a16)) +- README: add link to webpack-scaffold-starter ([e35a194](https://github.com/webpack/webpack-cli/commit/e35a194)) +- README: update scaffolding links ([74179b5](https://github.com/webpack/webpack-cli/commit/74179b5)) +- serve: link to webpack-dev-server ([cb68b1b](https://github.com/webpack/webpack-cli/commit/cb68b1b)) +- serve: update docs to use webpack-dev-server ([f7451d4](https://github.com/webpack/webpack-cli/commit/f7451d4)) +- replace tooltip link to terser plugin ([4254730](https://github.com/webpack/webpack-cli/commit/4254730)) +- replace Uglify with Terser in comments ([799577d](https://github.com/webpack/webpack-cli/commit/799577d)) +- replace UglifyJsPlugin with TerserPlugin in migrate docs ([326f783](https://github.com/webpack/webpack-cli/commit/326f783)) ## Enh -* webpack-scaffold: improve prompt and doc ([#794](https://github.com/webpack/webpack-cli/pull/794)) +- webpack-scaffold: improve prompt and doc ([#794](https://github.com/webpack/webpack-cli/pull/794)) ## Fix -* add: add types ([d4ce6f2](https://github.com/webpack/webpack-cli/commit/d4ce6f2)) -* add: fix runTransform ([dbc3e9e](https://github.com/webpack/webpack-cli/commit/dbc3e9e)) -* add: lint code ([163b309](https://github.com/webpack/webpack-cli/commit/163b309)) -* add: add handling for topScope ([1162cf5](https://github.com/webpack/webpack-cli/commit/1162cf5)) -* bin, serve: force default package export, add serve default ([#815](https://github.com/webpack/webpack-cli/pull/815)) -* init: refactored the init.ts success message ([#810](https://github.com/webpack/webpack-cli/pull/810)) -* scaffold: config file is always generated at the project root ([#801](https://github.com/webpack/webpack-cli/pull/801)) -* utils: refactors utils ([7fe3543](https://github.com/webpack/webpack-cli/commit/7fe3543)) -* clear up comment about default function purpose ([e48507d](https://github.com/webpack/webpack-cli/commit/e48507d)) -* remove unused files ([ec242ab](https://github.com/webpack/webpack-cli/commit/ec242ab)) -* reset files ([9863445](https://github.com/webpack/webpack-cli/commit/9863445)) -* replace lookups for TerserPlugin in webpack.optimise ([ef23fec](https://github.com/webpack/webpack-cli/commit/ef23fec)) +- add: add types ([d4ce6f2](https://github.com/webpack/webpack-cli/commit/d4ce6f2)) +- add: fix runTransform ([dbc3e9e](https://github.com/webpack/webpack-cli/commit/dbc3e9e)) +- add: lint code ([163b309](https://github.com/webpack/webpack-cli/commit/163b309)) +- add: add handling for topScope ([1162cf5](https://github.com/webpack/webpack-cli/commit/1162cf5)) +- bin, serve: force default package export, add serve default ([#815](https://github.com/webpack/webpack-cli/pull/815)) +- init: refactored the init.ts success message ([#810](https://github.com/webpack/webpack-cli/pull/810)) +- scaffold: config file is always generated at the project root ([#801](https://github.com/webpack/webpack-cli/pull/801)) +- utils: refactors utils ([7fe3543](https://github.com/webpack/webpack-cli/commit/7fe3543)) +- clear up comment about default function purpose ([e48507d](https://github.com/webpack/webpack-cli/commit/e48507d)) +- remove unused files ([ec242ab](https://github.com/webpack/webpack-cli/commit/ec242ab)) +- reset files ([9863445](https://github.com/webpack/webpack-cli/commit/9863445)) +- replace lookups for TerserPlugin in webpack.optimise ([ef23fec](https://github.com/webpack/webpack-cli/commit/ef23fec)) ## Tests -* update snapshots ([ce9fbc8](https://github.com/webpack/webpack-cli/commit/ce9fbc8)) -* replace uglify with terser in ast-utils tests ([73f493f](https://github.com/webpack/webpack-cli/commit/73f493f)) -* migration: typescript ([#613](https://github.com/webpack/webpack-cli/pull/613)) +- update snapshots ([ce9fbc8](https://github.com/webpack/webpack-cli/commit/ce9fbc8)) +- replace uglify with terser in ast-utils tests ([73f493f](https://github.com/webpack/webpack-cli/commit/73f493f)) +- migration: typescript ([#613](https://github.com/webpack/webpack-cli/pull/613)) ## Misc -* Remove tslint in favour of eslint ([#834](https://github.com/webpack/webpack-cli/pull/834)) -* cli: refactor functions into utils and config dirs, merge yargs options ([#781](https://github.com/webpack/webpack-cli/pull/781)) -* utils: refactors scaffold ([0b28fb3](https://github.com/webpack/webpack-cli/commit/0b28fb3)) +- Remove tslint in favour of eslint ([#834](https://github.com/webpack/webpack-cli/pull/834)) +- cli: refactor functions into utils and config dirs, merge yargs options ([#781](https://github.com/webpack/webpack-cli/pull/781)) +- utils: refactors scaffold ([0b28fb3](https://github.com/webpack/webpack-cli/commit/0b28fb3)) + + - # 3.3.0 (2019-03-15) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.1.3...v3.3.0) ## New Features -* use webpack.config as default name in dev scaffold ([385a672](https://github.com/webpack/webpack-cli/commit/385a672)) -* only display once a week ([b6199e5](https://github.com/webpack/webpack-cli/commit/b6199e5)) -* add util to run-and-get watch proc ([1d2ccd5](https://github.com/webpack/webpack-cli/commit/1d2ccd5)) -* add test-util to append data to file ([e9e1dcb](https://github.com/webpack/webpack-cli/commit/e9e1dcb)) -* log: clean single line logs ([5d2284b](https://github.com/webpack/webpack-cli/commit/5d2284b)) -* log: add gitignore ([7c830b5](https://github.com/webpack/webpack-cli/commit/7c830b5)) -* log: make log package ([df7c224](https://github.com/webpack/webpack-cli/commit/df7c224)) -* log: add clrscr function ([11b3bff](https://github.com/webpack/webpack-cli/commit/11b3bff)) -* log: few changes ([bc32727](https://github.com/webpack/webpack-cli/commit/bc32727)) -* log: add newline for title ([4047213](https://github.com/webpack/webpack-cli/commit/4047213)) -* log: remove unwanted commits ([c088f3e](https://github.com/webpack/webpack-cli/commit/c088f3e)) -* log: task based custom loggers ([2c43a41](https://github.com/webpack/webpack-cli/commit/2c43a41)) +- use webpack.config as default name in dev scaffold ([385a672](https://github.com/webpack/webpack-cli/commit/385a672)) +- only display once a week ([b6199e5](https://github.com/webpack/webpack-cli/commit/b6199e5)) +- add util to run-and-get watch proc ([1d2ccd5](https://github.com/webpack/webpack-cli/commit/1d2ccd5)) +- add test-util to append data to file ([e9e1dcb](https://github.com/webpack/webpack-cli/commit/e9e1dcb)) +- log: clean single line logs ([5d2284b](https://github.com/webpack/webpack-cli/commit/5d2284b)) +- log: add gitignore ([7c830b5](https://github.com/webpack/webpack-cli/commit/7c830b5)) +- log: make log package ([df7c224](https://github.com/webpack/webpack-cli/commit/df7c224)) +- log: add clrscr function ([11b3bff](https://github.com/webpack/webpack-cli/commit/11b3bff)) +- log: few changes ([bc32727](https://github.com/webpack/webpack-cli/commit/bc32727)) +- log: add newline for title ([4047213](https://github.com/webpack/webpack-cli/commit/4047213)) +- log: remove unwanted commits ([c088f3e](https://github.com/webpack/webpack-cli/commit/c088f3e)) +- log: task based custom loggers ([2c43a41](https://github.com/webpack/webpack-cli/commit/2c43a41)) ## Chore -* revise typo ([a14908e](https://github.com/webpack/webpack-cli/commit/a14908e)) -* deps: @std/esm -> esm ([a8b46bf](https://github.com/webpack/webpack-cli/commit/a8b46bf)) -* remove commit lint from travis ([ccec130](https://github.com/webpack/webpack-cli/commit/ccec130)) -* revise contributing location ([13a3a87](https://github.com/webpack/webpack-cli/commit/13a3a87)) -* deps: fix vulnerabilities ([c632d1a](https://github.com/webpack/webpack-cli/commit/c632d1a)) -* tests: skipping broken test ([f7b6b3a](https://github.com/webpack/webpack-cli/commit/f7b6b3a)) -* rewrite changelog ([62ab32d](https://github.com/webpack/webpack-cli/commit/62ab32d)) -* v.3.2.3 ([70138b7](https://github.com/webpack/webpack-cli/commit/70138b7)) -* v.3.2.2 ([24b6387](https://github.com/webpack/webpack-cli/commit/24b6387)) -* update tests ([70bfbd9](https://github.com/webpack/webpack-cli/commit/70bfbd9)) -* one liner ([0f55d5a](https://github.com/webpack/webpack-cli/commit/0f55d5a)) -* one liner after log ([6d8fb67](https://github.com/webpack/webpack-cli/commit/6d8fb67)) -* watch: remove console log ([0952317](https://github.com/webpack/webpack-cli/commit/0952317)) -* v.3.2.1 ([54805ae](https://github.com/webpack/webpack-cli/commit/54805ae)) -* dependency: add `node-ts` as devDependency ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- revise typo ([a14908e](https://github.com/webpack/webpack-cli/commit/a14908e)) +- deps: @std/esm -> esm ([a8b46bf](https://github.com/webpack/webpack-cli/commit/a8b46bf)) +- remove commit lint from travis ([ccec130](https://github.com/webpack/webpack-cli/commit/ccec130)) +- revise contributing location ([13a3a87](https://github.com/webpack/webpack-cli/commit/13a3a87)) +- deps: fix vulnerabilities ([c632d1a](https://github.com/webpack/webpack-cli/commit/c632d1a)) +- tests: skipping broken test ([f7b6b3a](https://github.com/webpack/webpack-cli/commit/f7b6b3a)) +- rewrite changelog ([62ab32d](https://github.com/webpack/webpack-cli/commit/62ab32d)) +- v.3.2.3 ([70138b7](https://github.com/webpack/webpack-cli/commit/70138b7)) +- v.3.2.2 ([24b6387](https://github.com/webpack/webpack-cli/commit/24b6387)) +- update tests ([70bfbd9](https://github.com/webpack/webpack-cli/commit/70bfbd9)) +- one liner ([0f55d5a](https://github.com/webpack/webpack-cli/commit/0f55d5a)) +- one liner after log ([6d8fb67](https://github.com/webpack/webpack-cli/commit/6d8fb67)) +- watch: remove console log ([0952317](https://github.com/webpack/webpack-cli/commit/0952317)) +- v.3.2.1 ([54805ae](https://github.com/webpack/webpack-cli/commit/54805ae)) +- dependency: add `node-ts` as devDependency ([#724](https://github.com/webpack/webpack-cli/pull/724)) ## Docs -* scaffolding: lowercase Webpack ([d19c1f7](https://github.com/webpack/webpack-cli/commit/d19c1f7)) -* scaffolding: fix typos ([b94b0de](https://github.com/webpack/webpack-cli/commit/b94b0de)) -* scaffolding: improve grammar ([6b79072](https://github.com/webpack/webpack-cli/commit/6b79072)) -* add lerna badge in README ([#786](https://github.com/webpack/webpack-cli/pull/786)) -* contributing: refactor & formatting ([1042cb2](https://github.com/webpack/webpack-cli/commit/1042cb2)) -* contributing: improve formatting ([47fcd7f](https://github.com/webpack/webpack-cli/commit/47fcd7f)) -* contributing: : at the end of paragraphs ([48d65fd](https://github.com/webpack/webpack-cli/commit/48d65fd)) -* contributing: update instructions to run individual tests ([b7cca58](https://github.com/webpack/webpack-cli/commit/b7cca58)) -* contributing: update instructions to run individual tests ([bc0297a](https://github.com/webpack/webpack-cli/commit/bc0297a)) -* contributing: add yarn before running jest ([126cf55](https://github.com/webpack/webpack-cli/commit/126cf55)) -* contributing: commands to install jest globally ([18b7c2e](https://github.com/webpack/webpack-cli/commit/18b7c2e)) -* contributing: fixes typo ([c458380](https://github.com/webpack/webpack-cli/commit/c458380)) -* contributing: improves formatting ([abac823](https://github.com/webpack/webpack-cli/commit/abac823)) -* contributing: adds prebuild instructions ([81cb46a](https://github.com/webpack/webpack-cli/commit/81cb46a)) -* readme: add downloads badge ([dc2423c](https://github.com/webpack/webpack-cli/commit/dc2423c)) -* scaffold: add link option for local ([f8424be](https://github.com/webpack/webpack-cli/commit/f8424be)) -* scaffold: Add installation guide for packages/webpack-scaffold ([#727](https://github.com/webpack/webpack-cli/pull/727)) -* scaffolding: fix typo ([98818a1](https://github.com/webpack/webpack-cli/commit/98818a1)) -* scaffolding: improve description & formatting ([0f657d0](https://github.com/webpack/webpack-cli/commit/0f657d0)) -* scaffolding: fix links ([e11c524](https://github.com/webpack/webpack-cli/commit/e11c524)) -* scaffolding: add yarn example ([d47eea0](https://github.com/webpack/webpack-cli/commit/d47eea0)) -* scaffolding: fix typo ([87ba169](https://github.com/webpack/webpack-cli/commit/87ba169)) -* scaffolding: improved structure, formatting, typos ([8949f82](https://github.com/webpack/webpack-cli/commit/8949f82)) -* init documentaion ([4b130bb](https://github.com/webpack/webpack-cli/commit/4b130bb)) -* rename Webpack to webpack ([900c13e](https://github.com/webpack/webpack-cli/commit/900c13e)) -* init documentaion ([14d2b47](https://github.com/webpack/webpack-cli/commit/14d2b47)) +- scaffolding: lowercase Webpack ([d19c1f7](https://github.com/webpack/webpack-cli/commit/d19c1f7)) +- scaffolding: fix typos ([b94b0de](https://github.com/webpack/webpack-cli/commit/b94b0de)) +- scaffolding: improve grammar ([6b79072](https://github.com/webpack/webpack-cli/commit/6b79072)) +- add lerna badge in README ([#786](https://github.com/webpack/webpack-cli/pull/786)) +- contributing: refactor & formatting ([1042cb2](https://github.com/webpack/webpack-cli/commit/1042cb2)) +- contributing: improve formatting ([47fcd7f](https://github.com/webpack/webpack-cli/commit/47fcd7f)) +- contributing: : at the end of paragraphs ([48d65fd](https://github.com/webpack/webpack-cli/commit/48d65fd)) +- contributing: update instructions to run individual tests ([b7cca58](https://github.com/webpack/webpack-cli/commit/b7cca58)) +- contributing: update instructions to run individual tests ([bc0297a](https://github.com/webpack/webpack-cli/commit/bc0297a)) +- contributing: add yarn before running jest ([126cf55](https://github.com/webpack/webpack-cli/commit/126cf55)) +- contributing: commands to install jest globally ([18b7c2e](https://github.com/webpack/webpack-cli/commit/18b7c2e)) +- contributing: fixes typo ([c458380](https://github.com/webpack/webpack-cli/commit/c458380)) +- contributing: improves formatting ([abac823](https://github.com/webpack/webpack-cli/commit/abac823)) +- contributing: adds prebuild instructions ([81cb46a](https://github.com/webpack/webpack-cli/commit/81cb46a)) +- readme: add downloads badge ([dc2423c](https://github.com/webpack/webpack-cli/commit/dc2423c)) +- scaffold: add link option for local ([f8424be](https://github.com/webpack/webpack-cli/commit/f8424be)) +- scaffold: Add installation guide for packages/webpack-scaffold ([#727](https://github.com/webpack/webpack-cli/pull/727)) +- scaffolding: fix typo ([98818a1](https://github.com/webpack/webpack-cli/commit/98818a1)) +- scaffolding: improve description & formatting ([0f657d0](https://github.com/webpack/webpack-cli/commit/0f657d0)) +- scaffolding: fix links ([e11c524](https://github.com/webpack/webpack-cli/commit/e11c524)) +- scaffolding: add yarn example ([d47eea0](https://github.com/webpack/webpack-cli/commit/d47eea0)) +- scaffolding: fix typo ([87ba169](https://github.com/webpack/webpack-cli/commit/87ba169)) +- scaffolding: improved structure, formatting, typos ([8949f82](https://github.com/webpack/webpack-cli/commit/8949f82)) +- init documentaion ([4b130bb](https://github.com/webpack/webpack-cli/commit/4b130bb)) +- rename Webpack to webpack ([900c13e](https://github.com/webpack/webpack-cli/commit/900c13e)) +- init documentaion ([14d2b47](https://github.com/webpack/webpack-cli/commit/14d2b47)) ## Fix -* bin: use compiler.close API correctly for stats ([568161d](https://github.com/webpack/webpack-cli/commit/568161d)) -* bin: extension detection ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* init: lint code ([20aab48](https://github.com/webpack/webpack-cli/commit/20aab48)) -* init: support global installation ([1cb0166](https://github.com/webpack/webpack-cli/commit/1cb0166)) -* init: revert to local installation ([48b3b23](https://github.com/webpack/webpack-cli/commit/48b3b23)) -* init: update prompt command ([c1c0739](https://github.com/webpack/webpack-cli/commit/c1c0739)) -* init: update prompt command ([1cab3cb](https://github.com/webpack/webpack-cli/commit/1cab3cb)) -* readme: remove old dependency status link ([4df0000](https://github.com/webpack/webpack-cli/commit/4df0000)) -* readme: add fallback badge for dependency status ([0e3753b](https://github.com/webpack/webpack-cli/commit/0e3753b)) -* tests: remove snapshot for static compilation ([54a3ac4](https://github.com/webpack/webpack-cli/commit/54a3ac4)) -* tests: remove snapshot for static compilation ([3af0948](https://github.com/webpack/webpack-cli/commit/3af0948)) -* tests: update jest ([d195774](https://github.com/webpack/webpack-cli/commit/d195774)) -* close compiler, own sh script and output clearing ([6ded275](https://github.com/webpack/webpack-cli/commit/6ded275)) -* failing test ([88888bb](https://github.com/webpack/webpack-cli/commit/88888bb)) -* failing test ([986472a](https://github.com/webpack/webpack-cli/commit/986472a)) -* test: fix travis ts build ([22d3acc](https://github.com/webpack/webpack-cli/commit/22d3acc)) +- bin: use compiler.close API correctly for stats ([568161d](https://github.com/webpack/webpack-cli/commit/568161d)) +- bin: extension detection ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- init: lint code ([20aab48](https://github.com/webpack/webpack-cli/commit/20aab48)) +- init: support global installation ([1cb0166](https://github.com/webpack/webpack-cli/commit/1cb0166)) +- init: revert to local installation ([48b3b23](https://github.com/webpack/webpack-cli/commit/48b3b23)) +- init: update prompt command ([c1c0739](https://github.com/webpack/webpack-cli/commit/c1c0739)) +- init: update prompt command ([1cab3cb](https://github.com/webpack/webpack-cli/commit/1cab3cb)) +- readme: remove old dependency status link ([4df0000](https://github.com/webpack/webpack-cli/commit/4df0000)) +- readme: add fallback badge for dependency status ([0e3753b](https://github.com/webpack/webpack-cli/commit/0e3753b)) +- tests: remove snapshot for static compilation ([54a3ac4](https://github.com/webpack/webpack-cli/commit/54a3ac4)) +- tests: remove snapshot for static compilation ([3af0948](https://github.com/webpack/webpack-cli/commit/3af0948)) +- tests: update jest ([d195774](https://github.com/webpack/webpack-cli/commit/d195774)) +- close compiler, own sh script and output clearing ([6ded275](https://github.com/webpack/webpack-cli/commit/6ded275)) +- failing test ([88888bb](https://github.com/webpack/webpack-cli/commit/88888bb)) +- failing test ([986472a](https://github.com/webpack/webpack-cli/commit/986472a)) +- test: fix travis ts build ([22d3acc](https://github.com/webpack/webpack-cli/commit/22d3acc)) ## Tests -* azure pipelines ([c9c3fea](https://github.com/webpack/webpack-cli/commit/c9c3fea)) -* bin: add `webpack.config.ts` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* bin: add `webpack.config.babel.js` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* module: use extractSummary ([7bde073](https://github.com/webpack/webpack-cli/commit/7bde073)) -* watch: use copyFile functionality ([c61fe92](https://github.com/webpack/webpack-cli/commit/c61fe92)) -* add copyFile function in test-utils ([1b21e81](https://github.com/webpack/webpack-cli/commit/1b21e81)) -* config-file: use extractSummary ([7554fe7](https://github.com/webpack/webpack-cli/commit/7554fe7)) -* config-name: use extractSummary ([3e30a57](https://github.com/webpack/webpack-cli/commit/3e30a57)) -* env: use extractSummary ([aa0cf25](https://github.com/webpack/webpack-cli/commit/aa0cf25)) -* fix: fix failing tests ([5669311](https://github.com/webpack/webpack-cli/commit/5669311)) -* fix: fix failing tests ([f1f7db1](https://github.com/webpack/webpack-cli/commit/f1f7db1)) -* help: use extractSummary ([0ba72c4](https://github.com/webpack/webpack-cli/commit/0ba72c4)) -* watch: use switch pattern for verbosity off ([c00386b](https://github.com/webpack/webpack-cli/commit/c00386b)) -* watch: hash assertion for single-config-opt ([55632d6](https://github.com/webpack/webpack-cli/commit/55632d6)) -* watch: hash assertion for single-config ([48f34d1](https://github.com/webpack/webpack-cli/commit/48f34d1)) -* watch: hash assertion for multi-config-watch-opt ([6dd2327](https://github.com/webpack/webpack-cli/commit/6dd2327)) -* watch: hash assertion multi-config ([6b4d339](https://github.com/webpack/webpack-cli/commit/6b4d339)) -* watch: hash assertion info-verbosity-verbose ([42e5ee8](https://github.com/webpack/webpack-cli/commit/42e5ee8)) -* watch: remove test.only for info-verbosity-off ([675d5c0](https://github.com/webpack/webpack-cli/commit/675d5c0)) -* improve appendFile test-case ([18bde78](https://github.com/webpack/webpack-cli/commit/18bde78)) -* remove eslint comment for requireReturn ([be7b259](https://github.com/webpack/webpack-cli/commit/be7b259)) -* watch: test failure using done(error) ([46d2e37](https://github.com/webpack/webpack-cli/commit/46d2e37)) -* watch: use native require first ([20e8579](https://github.com/webpack/webpack-cli/commit/20e8579)) -* watch: use better comments ([b6efe2d](https://github.com/webpack/webpack-cli/commit/b6efe2d)) -* add type to appendDataIfFileExists util ([f853302](https://github.com/webpack/webpack-cli/commit/f853302)) -* make comment clear about fs.copyFileSync ([d1d3d02](https://github.com/webpack/webpack-cli/commit/d1d3d02)) -* use 10E6 instead of 10e6 ([c9c5832](https://github.com/webpack/webpack-cli/commit/c9c5832)) -* bin: add `.babelrc` to webpack-babel-config test ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* bin-cases: expose extractSummary as function ([73714f5](https://github.com/webpack/webpack-cli/commit/73714f5)) -* config-type: use extractSummary ([ed36260](https://github.com/webpack/webpack-cli/commit/ed36260)) -* entry: use extractSummary ([745a369](https://github.com/webpack/webpack-cli/commit/745a369)) -* errors: use extractSummary ([3c8628c](https://github.com/webpack/webpack-cli/commit/3c8628c)) -* fix: fix failing tests ([7cb531b](https://github.com/webpack/webpack-cli/commit/7cb531b)) -* fix: fix failing tests ([a967485](https://github.com/webpack/webpack-cli/commit/a967485)) -* mode: use extractSummary ([3277d41](https://github.com/webpack/webpack-cli/commit/3277d41)) -* output: use extractSummary ([cb60b15](https://github.com/webpack/webpack-cli/commit/cb60b15)) -* plugins: use extractSummary ([02e08dc](https://github.com/webpack/webpack-cli/commit/02e08dc)) -* silent: use extractSummary ([ea89a82](https://github.com/webpack/webpack-cli/commit/ea89a82)) -* stats: use extractSummary ([7f4e504](https://github.com/webpack/webpack-cli/commit/7f4e504)) -* watch: hash assertion for info-verbosity-off ([e0a0d97](https://github.com/webpack/webpack-cli/commit/e0a0d97)) -* watch: use extractSummary ([8357dbc](https://github.com/webpack/webpack-cli/commit/8357dbc)) +- azure pipelines ([c9c3fea](https://github.com/webpack/webpack-cli/commit/c9c3fea)) +- bin: add `webpack.config.ts` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- bin: add `webpack.config.babel.js` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- module: use extractSummary ([7bde073](https://github.com/webpack/webpack-cli/commit/7bde073)) +- watch: use copyFile functionality ([c61fe92](https://github.com/webpack/webpack-cli/commit/c61fe92)) +- add copyFile function in test-utils ([1b21e81](https://github.com/webpack/webpack-cli/commit/1b21e81)) +- config-file: use extractSummary ([7554fe7](https://github.com/webpack/webpack-cli/commit/7554fe7)) +- config-name: use extractSummary ([3e30a57](https://github.com/webpack/webpack-cli/commit/3e30a57)) +- env: use extractSummary ([aa0cf25](https://github.com/webpack/webpack-cli/commit/aa0cf25)) +- fix: fix failing tests ([5669311](https://github.com/webpack/webpack-cli/commit/5669311)) +- fix: fix failing tests ([f1f7db1](https://github.com/webpack/webpack-cli/commit/f1f7db1)) +- help: use extractSummary ([0ba72c4](https://github.com/webpack/webpack-cli/commit/0ba72c4)) +- watch: use switch pattern for verbosity off ([c00386b](https://github.com/webpack/webpack-cli/commit/c00386b)) +- watch: hash assertion for single-config-opt ([55632d6](https://github.com/webpack/webpack-cli/commit/55632d6)) +- watch: hash assertion for single-config ([48f34d1](https://github.com/webpack/webpack-cli/commit/48f34d1)) +- watch: hash assertion for multi-config-watch-opt ([6dd2327](https://github.com/webpack/webpack-cli/commit/6dd2327)) +- watch: hash assertion multi-config ([6b4d339](https://github.com/webpack/webpack-cli/commit/6b4d339)) +- watch: hash assertion info-verbosity-verbose ([42e5ee8](https://github.com/webpack/webpack-cli/commit/42e5ee8)) +- watch: remove test.only for info-verbosity-off ([675d5c0](https://github.com/webpack/webpack-cli/commit/675d5c0)) +- improve appendFile test-case ([18bde78](https://github.com/webpack/webpack-cli/commit/18bde78)) +- remove eslint comment for requireReturn ([be7b259](https://github.com/webpack/webpack-cli/commit/be7b259)) +- watch: test failure using done(error) ([46d2e37](https://github.com/webpack/webpack-cli/commit/46d2e37)) +- watch: use native require first ([20e8579](https://github.com/webpack/webpack-cli/commit/20e8579)) +- watch: use better comments ([b6efe2d](https://github.com/webpack/webpack-cli/commit/b6efe2d)) +- add type to appendDataIfFileExists util ([f853302](https://github.com/webpack/webpack-cli/commit/f853302)) +- make comment clear about fs.copyFileSync ([d1d3d02](https://github.com/webpack/webpack-cli/commit/d1d3d02)) +- use 10E6 instead of 10e6 ([c9c5832](https://github.com/webpack/webpack-cli/commit/c9c5832)) +- bin: add `.babelrc` to webpack-babel-config test ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- bin-cases: expose extractSummary as function ([73714f5](https://github.com/webpack/webpack-cli/commit/73714f5)) +- config-type: use extractSummary ([ed36260](https://github.com/webpack/webpack-cli/commit/ed36260)) +- entry: use extractSummary ([745a369](https://github.com/webpack/webpack-cli/commit/745a369)) +- errors: use extractSummary ([3c8628c](https://github.com/webpack/webpack-cli/commit/3c8628c)) +- fix: fix failing tests ([7cb531b](https://github.com/webpack/webpack-cli/commit/7cb531b)) +- fix: fix failing tests ([a967485](https://github.com/webpack/webpack-cli/commit/a967485)) +- mode: use extractSummary ([3277d41](https://github.com/webpack/webpack-cli/commit/3277d41)) +- output: use extractSummary ([cb60b15](https://github.com/webpack/webpack-cli/commit/cb60b15)) +- plugins: use extractSummary ([02e08dc](https://github.com/webpack/webpack-cli/commit/02e08dc)) +- silent: use extractSummary ([ea89a82](https://github.com/webpack/webpack-cli/commit/ea89a82)) +- stats: use extractSummary ([7f4e504](https://github.com/webpack/webpack-cli/commit/7f4e504)) +- watch: hash assertion for info-verbosity-off ([e0a0d97](https://github.com/webpack/webpack-cli/commit/e0a0d97)) +- watch: use extractSummary ([8357dbc](https://github.com/webpack/webpack-cli/commit/8357dbc)) ## Misc -* Correction of the webpack-merge configuration ([2ed8c60](https://github.com/webpack/webpack-cli/commit/2ed8c60)) -* replace opencollective with light vers ([848bf4b](https://github.com/webpack/webpack-cli/commit/848bf4b)) +- Correction of the webpack-merge configuration ([2ed8c60](https://github.com/webpack/webpack-cli/commit/2ed8c60)) +- replace opencollective with light vers ([848bf4b](https://github.com/webpack/webpack-cli/commit/848bf4b)) + + - # 3.2.2 (2019-02-05) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.1.3...v3.2.2) ## New Features -* only display once a week ([b6199e5](https://github.com/webpack/webpack-cli/commit/b6199e5)) -* add util to run-and-get watch proc ([1d2ccd5](https://github.com/webpack/webpack-cli/commit/1d2ccd5)) -* add test-util to append data to file ([e9e1dcb](https://github.com/webpack/webpack-cli/commit/e9e1dcb)) -* log: clean single line logs ([5d2284b](https://github.com/webpack/webpack-cli/commit/5d2284b)) -* log: add gitignore ([7c830b5](https://github.com/webpack/webpack-cli/commit/7c830b5)) -* log: make log package ([df7c224](https://github.com/webpack/webpack-cli/commit/df7c224)) -* log: add clrscr function ([11b3bff](https://github.com/webpack/webpack-cli/commit/11b3bff)) -* log: few changes ([bc32727](https://github.com/webpack/webpack-cli/commit/bc32727)) -* log: add newline for title ([4047213](https://github.com/webpack/webpack-cli/commit/4047213)) -* log: remove unwanted commits ([c088f3e](https://github.com/webpack/webpack-cli/commit/c088f3e)) -* log: task based custom loggers ([2c43a41](https://github.com/webpack/webpack-cli/commit/2c43a41)) +- only display once a week ([b6199e5](https://github.com/webpack/webpack-cli/commit/b6199e5)) +- add util to run-and-get watch proc ([1d2ccd5](https://github.com/webpack/webpack-cli/commit/1d2ccd5)) +- add test-util to append data to file ([e9e1dcb](https://github.com/webpack/webpack-cli/commit/e9e1dcb)) +- log: clean single line logs ([5d2284b](https://github.com/webpack/webpack-cli/commit/5d2284b)) +- log: add gitignore ([7c830b5](https://github.com/webpack/webpack-cli/commit/7c830b5)) +- log: make log package ([df7c224](https://github.com/webpack/webpack-cli/commit/df7c224)) +- log: add clrscr function ([11b3bff](https://github.com/webpack/webpack-cli/commit/11b3bff)) +- log: few changes ([bc32727](https://github.com/webpack/webpack-cli/commit/bc32727)) +- log: add newline for title ([4047213](https://github.com/webpack/webpack-cli/commit/4047213)) +- log: remove unwanted commits ([c088f3e](https://github.com/webpack/webpack-cli/commit/c088f3e)) +- log: task based custom loggers ([2c43a41](https://github.com/webpack/webpack-cli/commit/2c43a41)) ## Chore -* v.3.2.3 ([70138b7](https://github.com/webpack/webpack-cli/commit/70138b7)) -* v.3.2.2 ([24b6387](https://github.com/webpack/webpack-cli/commit/24b6387)) -* update tests ([70bfbd9](https://github.com/webpack/webpack-cli/commit/70bfbd9)) -* one liner ([0f55d5a](https://github.com/webpack/webpack-cli/commit/0f55d5a)) -* one liner after log ([6d8fb67](https://github.com/webpack/webpack-cli/commit/6d8fb67)) -* watch: remove console log ([0952317](https://github.com/webpack/webpack-cli/commit/0952317)) -* v.3.2.1 ([54805ae](https://github.com/webpack/webpack-cli/commit/54805ae)) -* dependency: add `node-ts` as devDependency ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- v.3.2.3 ([70138b7](https://github.com/webpack/webpack-cli/commit/70138b7)) +- v.3.2.2 ([24b6387](https://github.com/webpack/webpack-cli/commit/24b6387)) +- update tests ([70bfbd9](https://github.com/webpack/webpack-cli/commit/70bfbd9)) +- one liner ([0f55d5a](https://github.com/webpack/webpack-cli/commit/0f55d5a)) +- one liner after log ([6d8fb67](https://github.com/webpack/webpack-cli/commit/6d8fb67)) +- watch: remove console log ([0952317](https://github.com/webpack/webpack-cli/commit/0952317)) +- v.3.2.1 ([54805ae](https://github.com/webpack/webpack-cli/commit/54805ae)) +- dependency: add `node-ts` as devDependency ([#724](https://github.com/webpack/webpack-cli/pull/724)) ## Docs -* init documentaion ([14d2b47](https://github.com/webpack/webpack-cli/commit/14d2b47)) -* scaffold: Add installation guide for packages/webpack-scaffold ([#727](https://github.com/webpack/webpack-cli/pull/727)) +- init documentaion ([14d2b47](https://github.com/webpack/webpack-cli/commit/14d2b47)) +- scaffold: Add installation guide for packages/webpack-scaffold ([#727](https://github.com/webpack/webpack-cli/pull/727)) ## Fix -* close compiler, own sh script and output clearing ([6ded275](https://github.com/webpack/webpack-cli/commit/6ded275)) -* bin: extension detection ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* readme: remove old dependency status link ([4df0000](https://github.com/webpack/webpack-cli/commit/4df0000)) -* readme: add fallback badge for dependency status ([0e3753b](https://github.com/webpack/webpack-cli/commit/0e3753b)) -* failing test ([88888bb](https://github.com/webpack/webpack-cli/commit/88888bb)) -* test: fix travis ts build ([22d3acc](https://github.com/webpack/webpack-cli/commit/22d3acc)) +- close compiler, own sh script and output clearing ([6ded275](https://github.com/webpack/webpack-cli/commit/6ded275)) +- bin: extension detection ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- readme: remove old dependency status link ([4df0000](https://github.com/webpack/webpack-cli/commit/4df0000)) +- readme: add fallback badge for dependency status ([0e3753b](https://github.com/webpack/webpack-cli/commit/0e3753b)) +- failing test ([88888bb](https://github.com/webpack/webpack-cli/commit/88888bb)) +- test: fix travis ts build ([22d3acc](https://github.com/webpack/webpack-cli/commit/22d3acc)) ## Tests -* azure pipelines ([c9c3fea](https://github.com/webpack/webpack-cli/commit/c9c3fea)) -* bin: add `webpack.config.ts` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* module: use extractSummary ([7bde073](https://github.com/webpack/webpack-cli/commit/7bde073)) -* watch: use copyFile functionality ([c61fe92](https://github.com/webpack/webpack-cli/commit/c61fe92)) -* add copyFile function in test-utils ([1b21e81](https://github.com/webpack/webpack-cli/commit/1b21e81)) -* bin: add `webpack.config.babel.js` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* config-file: use extractSummary ([7554fe7](https://github.com/webpack/webpack-cli/commit/7554fe7)) -* config-name: use extractSummary ([3e30a57](https://github.com/webpack/webpack-cli/commit/3e30a57)) -* env: use extractSummary ([aa0cf25](https://github.com/webpack/webpack-cli/commit/aa0cf25)) -* fix: fix failing tests ([5669311](https://github.com/webpack/webpack-cli/commit/5669311)) -* help: use extractSummary ([0ba72c4](https://github.com/webpack/webpack-cli/commit/0ba72c4)) -* watch: use switch pattern for verbosity off ([c00386b](https://github.com/webpack/webpack-cli/commit/c00386b)) -* watch: hash assertion for single-config-opt ([55632d6](https://github.com/webpack/webpack-cli/commit/55632d6)) -* watch: hash assertion for single-config ([48f34d1](https://github.com/webpack/webpack-cli/commit/48f34d1)) -* watch: hash assertion for multi-config-watch-opt ([6dd2327](https://github.com/webpack/webpack-cli/commit/6dd2327)) -* watch: hash assertion multi-config ([6b4d339](https://github.com/webpack/webpack-cli/commit/6b4d339)) -* watch: hash assertion info-verbosity-verbose ([42e5ee8](https://github.com/webpack/webpack-cli/commit/42e5ee8)) -* watch: remove test.only for info-verbosity-off ([675d5c0](https://github.com/webpack/webpack-cli/commit/675d5c0)) -* improve appendFile test-case ([18bde78](https://github.com/webpack/webpack-cli/commit/18bde78)) -* remove eslint comment for requireReturn ([be7b259](https://github.com/webpack/webpack-cli/commit/be7b259)) -* watch: test failure using done(error) ([46d2e37](https://github.com/webpack/webpack-cli/commit/46d2e37)) -* watch: use native require first ([20e8579](https://github.com/webpack/webpack-cli/commit/20e8579)) -* watch: use better comments ([b6efe2d](https://github.com/webpack/webpack-cli/commit/b6efe2d)) -* add type to appendDataIfFileExists util ([f853302](https://github.com/webpack/webpack-cli/commit/f853302)) -* make comment clear about fs.copyFileSync ([d1d3d02](https://github.com/webpack/webpack-cli/commit/d1d3d02)) -* use 10E6 instead of 10e6 ([c9c5832](https://github.com/webpack/webpack-cli/commit/c9c5832)) -* bin: add `.babelrc` to webpack-babel-config test ([#724](https://github.com/webpack/webpack-cli/pull/724)) -* bin-cases: expose extractSummary as function ([73714f5](https://github.com/webpack/webpack-cli/commit/73714f5)) -* config-type: use extractSummary ([ed36260](https://github.com/webpack/webpack-cli/commit/ed36260)) -* entry: use extractSummary ([745a369](https://github.com/webpack/webpack-cli/commit/745a369)) -* errors: use extractSummary ([3c8628c](https://github.com/webpack/webpack-cli/commit/3c8628c)) -* fix: fix failing tests ([7cb531b](https://github.com/webpack/webpack-cli/commit/7cb531b)) -* mode: use extractSummary ([3277d41](https://github.com/webpack/webpack-cli/commit/3277d41)) -* output: use extractSummary ([cb60b15](https://github.com/webpack/webpack-cli/commit/cb60b15)) -* plugins: use extractSummary ([02e08dc](https://github.com/webpack/webpack-cli/commit/02e08dc)) -* silent: use extractSummary ([ea89a82](https://github.com/webpack/webpack-cli/commit/ea89a82)) -* stats: use extractSummary ([7f4e504](https://github.com/webpack/webpack-cli/commit/7f4e504)) -* watch: hash assertion for info-verbosity-off ([e0a0d97](https://github.com/webpack/webpack-cli/commit/e0a0d97)) -* watch: use extractSummary ([8357dbc](https://github.com/webpack/webpack-cli/commit/8357dbc)) +- azure pipelines ([c9c3fea](https://github.com/webpack/webpack-cli/commit/c9c3fea)) +- bin: add `webpack.config.ts` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- module: use extractSummary ([7bde073](https://github.com/webpack/webpack-cli/commit/7bde073)) +- watch: use copyFile functionality ([c61fe92](https://github.com/webpack/webpack-cli/commit/c61fe92)) +- add copyFile function in test-utils ([1b21e81](https://github.com/webpack/webpack-cli/commit/1b21e81)) +- bin: add `webpack.config.babel.js` related test ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- config-file: use extractSummary ([7554fe7](https://github.com/webpack/webpack-cli/commit/7554fe7)) +- config-name: use extractSummary ([3e30a57](https://github.com/webpack/webpack-cli/commit/3e30a57)) +- env: use extractSummary ([aa0cf25](https://github.com/webpack/webpack-cli/commit/aa0cf25)) +- fix: fix failing tests ([5669311](https://github.com/webpack/webpack-cli/commit/5669311)) +- help: use extractSummary ([0ba72c4](https://github.com/webpack/webpack-cli/commit/0ba72c4)) +- watch: use switch pattern for verbosity off ([c00386b](https://github.com/webpack/webpack-cli/commit/c00386b)) +- watch: hash assertion for single-config-opt ([55632d6](https://github.com/webpack/webpack-cli/commit/55632d6)) +- watch: hash assertion for single-config ([48f34d1](https://github.com/webpack/webpack-cli/commit/48f34d1)) +- watch: hash assertion for multi-config-watch-opt ([6dd2327](https://github.com/webpack/webpack-cli/commit/6dd2327)) +- watch: hash assertion multi-config ([6b4d339](https://github.com/webpack/webpack-cli/commit/6b4d339)) +- watch: hash assertion info-verbosity-verbose ([42e5ee8](https://github.com/webpack/webpack-cli/commit/42e5ee8)) +- watch: remove test.only for info-verbosity-off ([675d5c0](https://github.com/webpack/webpack-cli/commit/675d5c0)) +- improve appendFile test-case ([18bde78](https://github.com/webpack/webpack-cli/commit/18bde78)) +- remove eslint comment for requireReturn ([be7b259](https://github.com/webpack/webpack-cli/commit/be7b259)) +- watch: test failure using done(error) ([46d2e37](https://github.com/webpack/webpack-cli/commit/46d2e37)) +- watch: use native require first ([20e8579](https://github.com/webpack/webpack-cli/commit/20e8579)) +- watch: use better comments ([b6efe2d](https://github.com/webpack/webpack-cli/commit/b6efe2d)) +- add type to appendDataIfFileExists util ([f853302](https://github.com/webpack/webpack-cli/commit/f853302)) +- make comment clear about fs.copyFileSync ([d1d3d02](https://github.com/webpack/webpack-cli/commit/d1d3d02)) +- use 10E6 instead of 10e6 ([c9c5832](https://github.com/webpack/webpack-cli/commit/c9c5832)) +- bin: add `.babelrc` to webpack-babel-config test ([#724](https://github.com/webpack/webpack-cli/pull/724)) +- bin-cases: expose extractSummary as function ([73714f5](https://github.com/webpack/webpack-cli/commit/73714f5)) +- config-type: use extractSummary ([ed36260](https://github.com/webpack/webpack-cli/commit/ed36260)) +- entry: use extractSummary ([745a369](https://github.com/webpack/webpack-cli/commit/745a369)) +- errors: use extractSummary ([3c8628c](https://github.com/webpack/webpack-cli/commit/3c8628c)) +- fix: fix failing tests ([7cb531b](https://github.com/webpack/webpack-cli/commit/7cb531b)) +- mode: use extractSummary ([3277d41](https://github.com/webpack/webpack-cli/commit/3277d41)) +- output: use extractSummary ([cb60b15](https://github.com/webpack/webpack-cli/commit/cb60b15)) +- plugins: use extractSummary ([02e08dc](https://github.com/webpack/webpack-cli/commit/02e08dc)) +- silent: use extractSummary ([ea89a82](https://github.com/webpack/webpack-cli/commit/ea89a82)) +- stats: use extractSummary ([7f4e504](https://github.com/webpack/webpack-cli/commit/7f4e504)) +- watch: hash assertion for info-verbosity-off ([e0a0d97](https://github.com/webpack/webpack-cli/commit/e0a0d97)) +- watch: use extractSummary ([8357dbc](https://github.com/webpack/webpack-cli/commit/8357dbc)) ## Misc -* Correction of the webpack-merge configuration ([2ed8c60](https://github.com/webpack/webpack-cli/commit/2ed8c60)) -* replace opencollective with light vers ([848bf4b](https://github.com/webpack/webpack-cli/commit/848bf4b)) +- Correction of the webpack-merge configuration ([2ed8c60](https://github.com/webpack/webpack-cli/commit/2ed8c60)) +- replace opencollective with light vers ([848bf4b](https://github.com/webpack/webpack-cli/commit/848bf4b)) + # 3.1.2 (2018-09-29) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v3.1.1...v3.1.2) ## Chore -* deps: upgrade husky ([#611](https://github.com/webpack/webpack-cli/pull/611)) -* docs: update readme ([93ebcc2](https://github.com/webpack/webpack-cli/commit/93ebcc2)) -* scripts: add commit script, cz-customizable ([#612](https://github.com/webpack/webpack-cli/pull/612)) +- deps: upgrade husky ([#611](https://github.com/webpack/webpack-cli/pull/611)) +- docs: update readme ([93ebcc2](https://github.com/webpack/webpack-cli/commit/93ebcc2)) +- scripts: add commit script, cz-customizable ([#612](https://github.com/webpack/webpack-cli/pull/612)) ## Docs -* init: update headers ([dc4ded9](https://github.com/webpack/webpack-cli/commit/dc4ded9)) -* init: update init documentation ([2ccf9a9](https://github.com/webpack/webpack-cli/commit/2ccf9a9)) -* readme: update webpack-cli to webpack CLI ([f3a225a](https://github.com/webpack/webpack-cli/commit/f3a225a)) -* readme: change addons to scaffolds ([747aef9](https://github.com/webpack/webpack-cli/commit/747aef9)) -* readme: update links ([f8187f1](https://github.com/webpack/webpack-cli/commit/f8187f1)) -* readme: update README.md ([#614](https://github.com/webpack/webpack-cli/pull/614)) -* readme: update Readme based on feedback ([da05c2f](https://github.com/webpack/webpack-cli/commit/da05c2f)) +- init: update headers ([dc4ded9](https://github.com/webpack/webpack-cli/commit/dc4ded9)) +- init: update init documentation ([2ccf9a9](https://github.com/webpack/webpack-cli/commit/2ccf9a9)) +- readme: update webpack-cli to webpack CLI ([f3a225a](https://github.com/webpack/webpack-cli/commit/f3a225a)) +- readme: change addons to scaffolds ([747aef9](https://github.com/webpack/webpack-cli/commit/747aef9)) +- readme: update links ([f8187f1](https://github.com/webpack/webpack-cli/commit/f8187f1)) +- readme: update README.md ([#614](https://github.com/webpack/webpack-cli/pull/614)) +- readme: update Readme based on feedback ([da05c2f](https://github.com/webpack/webpack-cli/commit/da05c2f)) ## Fix -* tapable: fix hook options ([9aed0dc](https://github.com/webpack/webpack-cli/commit/9aed0dc)) -* replace test regex ([d4e1614](https://github.com/webpack/webpack-cli/commit/d4e1614)) +- tapable: fix hook options ([9aed0dc](https://github.com/webpack/webpack-cli/commit/9aed0dc)) +- replace test regex ([d4e1614](https://github.com/webpack/webpack-cli/commit/d4e1614)) + + - # 3.1.1 (2018-09-23) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.1.0...v3.1.1) ## New Features -* migrate: CommonChunksPlugin to SplitChunksPlugin ([#558](https://github.com/webpack/webpack-cli/pull/558)) -* types: types for packages ([#578](https://github.com/webpack/webpack-cli/pull/578)) +- migrate: CommonChunksPlugin to SplitChunksPlugin ([#558](https://github.com/webpack/webpack-cli/pull/558)) +- types: types for packages ([#578](https://github.com/webpack/webpack-cli/pull/578)) ## Chore -* ci: add commitlint when trying to commit ([#595](https://github.com/webpack/webpack-cli/pull/595)) -* ci: Set up CI with Azure Pipelines ([89d3a19](https://github.com/webpack/webpack-cli/commit/89d3a19)) -* ci: fix commitlint ([#592](https://github.com/webpack/webpack-cli/pull/592)) -* ci: Add a status badge for the azure pipelines CI build ([#601](https://github.com/webpack/webpack-cli/pull/601)) -* deps: resync package-lock, upgrade major version ([d892b4d](https://github.com/webpack/webpack-cli/commit/d892b4d)) -* deps: Bump lerna version ([#583](https://github.com/webpack/webpack-cli/pull/583)) -* deps: removing inquirer as default package ([#555](https://github.com/webpack/webpack-cli/pull/555)) -* fix: fix clean all script ([6be0478](https://github.com/webpack/webpack-cli/commit/6be0478)) -* Update schema-utils to the latest version 🚀 ([#565](https://github.com/webpack/webpack-cli/pull/565)) -* update pkg.lock ([76c8277](https://github.com/webpack/webpack-cli/commit/76c8277)) -* remove editorconfig from testfixtures ([#560](https://github.com/webpack/webpack-cli/pull/560)) -* lint: fix tslint warnings ([cf0bf4a](https://github.com/webpack/webpack-cli/commit/cf0bf4a)) -* lint: turn off console log warning ([db5f570](https://github.com/webpack/webpack-cli/commit/db5f570)) -* lint: remove or replace console.log with console.error ([e425642](https://github.com/webpack/webpack-cli/commit/e425642)) -* package: update lerna to version 3.0.0 ([08c424d](https://github.com/webpack/webpack-cli/commit/08c424d)) -* scripts: update ts watch ([336ad3e](https://github.com/webpack/webpack-cli/commit/336ad3e)) -* tests: added first ts test for info package ([#584](https://github.com/webpack/webpack-cli/pull/584)) +- ci: add commitlint when trying to commit ([#595](https://github.com/webpack/webpack-cli/pull/595)) +- ci: Set up CI with Azure Pipelines ([89d3a19](https://github.com/webpack/webpack-cli/commit/89d3a19)) +- ci: fix commitlint ([#592](https://github.com/webpack/webpack-cli/pull/592)) +- ci: Add a status badge for the azure pipelines CI build ([#601](https://github.com/webpack/webpack-cli/pull/601)) +- deps: resync package-lock, upgrade major version ([d892b4d](https://github.com/webpack/webpack-cli/commit/d892b4d)) +- deps: Bump lerna version ([#583](https://github.com/webpack/webpack-cli/pull/583)) +- deps: removing inquirer as default package ([#555](https://github.com/webpack/webpack-cli/pull/555)) +- fix: fix clean all script ([6be0478](https://github.com/webpack/webpack-cli/commit/6be0478)) +- Update schema-utils to the latest version 🚀 ([#565](https://github.com/webpack/webpack-cli/pull/565)) +- update pkg.lock ([76c8277](https://github.com/webpack/webpack-cli/commit/76c8277)) +- remove editorconfig from testfixtures ([#560](https://github.com/webpack/webpack-cli/pull/560)) +- lint: fix tslint warnings ([cf0bf4a](https://github.com/webpack/webpack-cli/commit/cf0bf4a)) +- lint: turn off console log warning ([db5f570](https://github.com/webpack/webpack-cli/commit/db5f570)) +- lint: remove or replace console.log with console.error ([e425642](https://github.com/webpack/webpack-cli/commit/e425642)) +- package: update lerna to version 3.0.0 ([08c424d](https://github.com/webpack/webpack-cli/commit/08c424d)) +- scripts: update ts watch ([336ad3e](https://github.com/webpack/webpack-cli/commit/336ad3e)) +- tests: added first ts test for info package ([#584](https://github.com/webpack/webpack-cli/pull/584)) ## CLI -* allow array value for --ouput-library ([#559](https://github.com/webpack/webpack-cli/pull/559)) +- allow array value for --ouput-library ([#559](https://github.com/webpack/webpack-cli/pull/559)) ## Docs -* fixed latest changelog link ([#556](https://github.com/webpack/webpack-cli/pull/556)) -* migrate documentaion ([#554](https://github.com/webpack/webpack-cli/pull/554)) -* init documentaion ([#547](https://github.com/webpack/webpack-cli/pull/547)) -* contribution: fix the setup workflow #591 ([#597](https://github.com/webpack/webpack-cli/pull/597)) -* typedoc: add ts docs ([#571](https://github.com/webpack/webpack-cli/pull/571)) +- fixed latest changelog link ([#556](https://github.com/webpack/webpack-cli/pull/556)) +- migrate documentaion ([#554](https://github.com/webpack/webpack-cli/pull/554)) +- init documentaion ([#547](https://github.com/webpack/webpack-cli/pull/547)) +- contribution: fix the setup workflow #591 ([#597](https://github.com/webpack/webpack-cli/pull/597)) +- typedoc: add ts docs ([#571](https://github.com/webpack/webpack-cli/pull/571)) ## Fix -* generate-loader: include example template in npm package ([d26ea82](https://github.com/webpack/webpack-cli/commit/d26ea82)) -* generate-plugin: include example template in npm package ([77fa723](https://github.com/webpack/webpack-cli/commit/77fa723)) -* package: update import-local to version 2.0.0 🚀 ([#576](https://github.com/webpack/webpack-cli/pull/576)) -* prettier: add parser, filePath ([#553](https://github.com/webpack/webpack-cli/pull/553)) -* schema: resolve references in schema ([#605](https://github.com/webpack/webpack-cli/pull/605)) +- generate-loader: include example template in npm package ([d26ea82](https://github.com/webpack/webpack-cli/commit/d26ea82)) +- generate-plugin: include example template in npm package ([77fa723](https://github.com/webpack/webpack-cli/commit/77fa723)) +- package: update import-local to version 2.0.0 🚀 ([#576](https://github.com/webpack/webpack-cli/pull/576)) +- prettier: add parser, filePath ([#553](https://github.com/webpack/webpack-cli/pull/553)) +- schema: resolve references in schema ([#605](https://github.com/webpack/webpack-cli/pull/605)) ## Misc -* Revert "cli: allow array value for --ouput-library (#559)" ([#561](https://github.com/webpack/webpack-cli/pull/561)) +- Revert "cli: allow array value for --ouput-library (#559)" ([#561](https://github.com/webpack/webpack-cli/pull/561)) + + - # 3.1.0 (2018-07-18) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v3.0.8...v.3.1.0) ## New Features -* generators: add typescript support ([c1844f8](https://github.com/webpack/webpack-cli/commit/c1844f8)) -* init: add typescript support ([222ccdc](https://github.com/webpack/webpack-cli/commit/222ccdc)) -* make: add typescript support ([4b574d9](https://github.com/webpack/webpack-cli/commit/4b574d9)) -* remove: add typescript support ([f1623ed](https://github.com/webpack/webpack-cli/commit/f1623ed)) -* scaffold: add typescript support ([eaf6fdf](https://github.com/webpack/webpack-cli/commit/eaf6fdf)) -* scaffold: add typescript support ([f611c27](https://github.com/webpack/webpack-cli/commit/f611c27)) -* serve: add typescript support ([d313421](https://github.com/webpack/webpack-cli/commit/d313421)) -* types: add webpack types schema ([90909e4](https://github.com/webpack/webpack-cli/commit/90909e4)) -* typescript: setup base infra ([fe25465](https://github.com/webpack/webpack-cli/commit/fe25465)) -* typescript: setup base infra ([373a304](https://github.com/webpack/webpack-cli/commit/373a304)) -* update: add typescript support ([53505b9](https://github.com/webpack/webpack-cli/commit/53505b9)) -* utils: add typescript support ([47702cb](https://github.com/webpack/webpack-cli/commit/47702cb)) +- generators: add typescript support ([c1844f8](https://github.com/webpack/webpack-cli/commit/c1844f8)) +- init: add typescript support ([222ccdc](https://github.com/webpack/webpack-cli/commit/222ccdc)) +- make: add typescript support ([4b574d9](https://github.com/webpack/webpack-cli/commit/4b574d9)) +- remove: add typescript support ([f1623ed](https://github.com/webpack/webpack-cli/commit/f1623ed)) +- scaffold: add typescript support ([eaf6fdf](https://github.com/webpack/webpack-cli/commit/eaf6fdf)) +- scaffold: add typescript support ([f611c27](https://github.com/webpack/webpack-cli/commit/f611c27)) +- serve: add typescript support ([d313421](https://github.com/webpack/webpack-cli/commit/d313421)) +- types: add webpack types schema ([90909e4](https://github.com/webpack/webpack-cli/commit/90909e4)) +- typescript: setup base infra ([fe25465](https://github.com/webpack/webpack-cli/commit/fe25465)) +- typescript: setup base infra ([373a304](https://github.com/webpack/webpack-cli/commit/373a304)) +- update: add typescript support ([53505b9](https://github.com/webpack/webpack-cli/commit/53505b9)) +- utils: add typescript support ([47702cb](https://github.com/webpack/webpack-cli/commit/47702cb)) ## Ast -* parser: remove ([7f51c27](https://github.com/webpack/webpack-cli/commit/7f51c27)) -* parser: remove ([faeec57](https://github.com/webpack/webpack-cli/commit/faeec57)) +- parser: remove ([7f51c27](https://github.com/webpack/webpack-cli/commit/7f51c27)) +- parser: remove ([faeec57](https://github.com/webpack/webpack-cli/commit/faeec57)) ## Chore -* add-cmd: add typescript support ([fb98933](https://github.com/webpack/webpack-cli/commit/fb98933)) -* add-cmd: add typescript support ([d730841](https://github.com/webpack/webpack-cli/commit/d730841)) -* build: fix eslint pattern ([#529](https://github.com/webpack/webpack-cli/pull/529)) -* build: fix ci ([#535](https://github.com/webpack/webpack-cli/pull/535)) -* ci: fix build ([#534](https://github.com/webpack/webpack-cli/pull/534)) -* ci: fix build ([#534](https://github.com/webpack/webpack-cli/pull/534)) -* ci: remove semantic release ([#516](https://github.com/webpack/webpack-cli/pull/516)) -* ci: update appveyor config, script ([f220c9e](https://github.com/webpack/webpack-cli/commit/f220c9e)) -* ci: update travis script ([00df5ba](https://github.com/webpack/webpack-cli/commit/00df5ba)) -* update pkg.lock ([817f99c](https://github.com/webpack/webpack-cli/commit/817f99c)) -* fix minor build infra ([87dd419](https://github.com/webpack/webpack-cli/commit/87dd419)) -* Update eslint to the latest version 🚀 ([#526](https://github.com/webpack/webpack-cli/pull/526)) -* update gitignore ([fdc82b9](https://github.com/webpack/webpack-cli/commit/fdc82b9)) -* add missing READMES to packages ([#545](https://github.com/webpack/webpack-cli/pull/545)) -* docs: Updated working link for webpack addon. ([#543](https://github.com/webpack/webpack-cli/pull/543)) -* generate-loader,plugin: add typescript support ([971b31a](https://github.com/webpack/webpack-cli/commit/971b31a)) -* info: add typescript support ([ca133ab](https://github.com/webpack/webpack-cli/commit/ca133ab)) -* info: add typescript support ([2c69df0](https://github.com/webpack/webpack-cli/commit/2c69df0)) -* migrate: add typescript support ([82a7dec](https://github.com/webpack/webpack-cli/commit/82a7dec)) -* package: update eslint-plugin-node to version 7.0.0 ([507a4a6](https://github.com/webpack/webpack-cli/commit/507a4a6)) -* package: update lockfile ([a3d41fb](https://github.com/webpack/webpack-cli/commit/a3d41fb)) -* release: whitelist/blacklist release files ([#514](https://github.com/webpack/webpack-cli/pull/514)) -* release: whitelist/blacklist release files ([#514](https://github.com/webpack/webpack-cli/pull/514)) -* release: whitelist/blacklist release files ([#514](https://github.com/webpack/webpack-cli/pull/514)) -* scripts: fix pretest ([55efce6](https://github.com/webpack/webpack-cli/commit/55efce6)) -* scripts: remove semantic-release ([#525](https://github.com/webpack/webpack-cli/pull/525)) -* template: tiny fix for bug template ([51dc005](https://github.com/webpack/webpack-cli/commit/51dc005)) +- add-cmd: add typescript support ([fb98933](https://github.com/webpack/webpack-cli/commit/fb98933)) +- add-cmd: add typescript support ([d730841](https://github.com/webpack/webpack-cli/commit/d730841)) +- build: fix eslint pattern ([#529](https://github.com/webpack/webpack-cli/pull/529)) +- build: fix ci ([#535](https://github.com/webpack/webpack-cli/pull/535)) +- ci: fix build ([#534](https://github.com/webpack/webpack-cli/pull/534)) +- ci: fix build ([#534](https://github.com/webpack/webpack-cli/pull/534)) +- ci: remove semantic release ([#516](https://github.com/webpack/webpack-cli/pull/516)) +- ci: update appveyor config, script ([f220c9e](https://github.com/webpack/webpack-cli/commit/f220c9e)) +- ci: update travis script ([00df5ba](https://github.com/webpack/webpack-cli/commit/00df5ba)) +- update pkg.lock ([817f99c](https://github.com/webpack/webpack-cli/commit/817f99c)) +- fix minor build infra ([87dd419](https://github.com/webpack/webpack-cli/commit/87dd419)) +- Update eslint to the latest version 🚀 ([#526](https://github.com/webpack/webpack-cli/pull/526)) +- update gitignore ([fdc82b9](https://github.com/webpack/webpack-cli/commit/fdc82b9)) +- add missing READMES to packages ([#545](https://github.com/webpack/webpack-cli/pull/545)) +- docs: Updated working link for webpack addon. ([#543](https://github.com/webpack/webpack-cli/pull/543)) +- generate-loader,plugin: add typescript support ([971b31a](https://github.com/webpack/webpack-cli/commit/971b31a)) +- info: add typescript support ([ca133ab](https://github.com/webpack/webpack-cli/commit/ca133ab)) +- info: add typescript support ([2c69df0](https://github.com/webpack/webpack-cli/commit/2c69df0)) +- migrate: add typescript support ([82a7dec](https://github.com/webpack/webpack-cli/commit/82a7dec)) +- package: update eslint-plugin-node to version 7.0.0 ([507a4a6](https://github.com/webpack/webpack-cli/commit/507a4a6)) +- package: update lockfile ([a3d41fb](https://github.com/webpack/webpack-cli/commit/a3d41fb)) +- release: whitelist/blacklist release files ([#514](https://github.com/webpack/webpack-cli/pull/514)) +- release: whitelist/blacklist release files ([#514](https://github.com/webpack/webpack-cli/pull/514)) +- release: whitelist/blacklist release files ([#514](https://github.com/webpack/webpack-cli/pull/514)) +- scripts: fix pretest ([55efce6](https://github.com/webpack/webpack-cli/commit/55efce6)) +- scripts: remove semantic-release ([#525](https://github.com/webpack/webpack-cli/pull/525)) +- template: tiny fix for bug template ([51dc005](https://github.com/webpack/webpack-cli/commit/51dc005)) ## Docs -* update jsdoc ([#507](https://github.com/webpack/webpack-cli/pull/507)) -* update jsdoc ([#507](https://github.com/webpack/webpack-cli/pull/507)) -* update jsdoc ([#507](https://github.com/webpack/webpack-cli/pull/507)) -* pkg: readme file for add package ([#498](https://github.com/webpack/webpack-cli/pull/498)) -* pkg: readme info ([#497](https://github.com/webpack/webpack-cli/pull/497)) -* pkg: readme info ([#497](https://github.com/webpack/webpack-cli/pull/497)) +- update jsdoc ([#507](https://github.com/webpack/webpack-cli/pull/507)) +- update jsdoc ([#507](https://github.com/webpack/webpack-cli/pull/507)) +- update jsdoc ([#507](https://github.com/webpack/webpack-cli/pull/507)) +- pkg: readme file for add package ([#498](https://github.com/webpack/webpack-cli/pull/498)) +- pkg: readme info ([#497](https://github.com/webpack/webpack-cli/pull/497)) +- pkg: readme info ([#497](https://github.com/webpack/webpack-cli/pull/497)) ## Fix -* default named import bug ([ce956c0](https://github.com/webpack/webpack-cli/commit/ce956c0)) -* generators: named export ([8adbe9e](https://github.com/webpack/webpack-cli/commit/8adbe9e)) +- default named import bug ([ce956c0](https://github.com/webpack/webpack-cli/commit/ce956c0)) +- generators: named export ([8adbe9e](https://github.com/webpack/webpack-cli/commit/8adbe9e)) ## Tests -* fix: bin test outputs ([#552](https://github.com/webpack/webpack-cli/pull/552)) -* migrate: fix transforms order issue ([938e5f9](https://github.com/webpack/webpack-cli/commit/938e5f9)) +- fix: bin test outputs ([#552](https://github.com/webpack/webpack-cli/pull/552)) +- migrate: fix transforms order issue ([938e5f9](https://github.com/webpack/webpack-cli/commit/938e5f9)) ## Misc -* Update yargs to the latest version 🚀 ([#533](https://github.com/webpack/webpack-cli/pull/533)) +- Update yargs to the latest version 🚀 ([#533](https://github.com/webpack/webpack-cli/pull/533)) + + - # 0.0.8-development (2018-06-15, webpack CLI v.3) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.1.5...v0.0.8-development) ## Ast -* parser: add ([#456](https://github.com/webpack/webpack-cli/pull/456)) +- parser: add ([#456](https://github.com/webpack/webpack-cli/pull/456)) ## Chore -* deps: add lerna ([a7d8085](https://github.com/webpack/webpack-cli/commit/a7d8085)) -* lockfile: update pkglock ([0b024bf](https://github.com/webpack/webpack-cli/commit/0b024bf)) -* monorepo: fix windows build ([0310fd3](https://github.com/webpack/webpack-cli/commit/0310fd3)) -* monorepo: add bootstrap to run ([17c2c88](https://github.com/webpack/webpack-cli/commit/17c2c88)) -* monorepo: fix windows build ([8c58d24](https://github.com/webpack/webpack-cli/commit/8c58d24)) -* monorepo: add rimraf globally ([7c0e245](https://github.com/webpack/webpack-cli/commit/7c0e245)) -* monorepo: fix versions and use clean bootstrap ([7de58ea](https://github.com/webpack/webpack-cli/commit/7de58ea)) -* monorepo: fix appveyor build ([206749b](https://github.com/webpack/webpack-cli/commit/206749b)) -* monorepo: add eslint-plugin-prettier ([ae55183](https://github.com/webpack/webpack-cli/commit/ae55183)) -* monorepo: fix appveyor build ([a08b899](https://github.com/webpack/webpack-cli/commit/a08b899)) -* monorepo: fix appveyor build ([42468d3](https://github.com/webpack/webpack-cli/commit/42468d3)) -* next: dev version bump ([78b48a6](https://github.com/webpack/webpack-cli/commit/78b48a6)) -* pkg: v.6 on next ([3a82b7d](https://github.com/webpack/webpack-cli/commit/3a82b7d)) -* semantic: configure plugins ([#475](https://github.com/webpack/webpack-cli/pull/475)) -* v.6: update init ([ebe5c6b](https://github.com/webpack/webpack-cli/commit/ebe5c6b)) +- deps: add lerna ([a7d8085](https://github.com/webpack/webpack-cli/commit/a7d8085)) +- lockfile: update pkglock ([0b024bf](https://github.com/webpack/webpack-cli/commit/0b024bf)) +- monorepo: fix windows build ([0310fd3](https://github.com/webpack/webpack-cli/commit/0310fd3)) +- monorepo: add bootstrap to run ([17c2c88](https://github.com/webpack/webpack-cli/commit/17c2c88)) +- monorepo: fix windows build ([8c58d24](https://github.com/webpack/webpack-cli/commit/8c58d24)) +- monorepo: add rimraf globally ([7c0e245](https://github.com/webpack/webpack-cli/commit/7c0e245)) +- monorepo: fix versions and use clean bootstrap ([7de58ea](https://github.com/webpack/webpack-cli/commit/7de58ea)) +- monorepo: fix appveyor build ([206749b](https://github.com/webpack/webpack-cli/commit/206749b)) +- monorepo: add eslint-plugin-prettier ([ae55183](https://github.com/webpack/webpack-cli/commit/ae55183)) +- monorepo: fix appveyor build ([a08b899](https://github.com/webpack/webpack-cli/commit/a08b899)) +- monorepo: fix appveyor build ([42468d3](https://github.com/webpack/webpack-cli/commit/42468d3)) +- next: dev version bump ([78b48a6](https://github.com/webpack/webpack-cli/commit/78b48a6)) +- pkg: v.6 on next ([3a82b7d](https://github.com/webpack/webpack-cli/commit/3a82b7d)) +- semantic: configure plugins ([#475](https://github.com/webpack/webpack-cli/pull/475)) +- v.6: update init ([ebe5c6b](https://github.com/webpack/webpack-cli/commit/ebe5c6b)) ## CLI -* add: re-add add command ([bf78411](https://github.com/webpack/webpack-cli/commit/bf78411)) -* color: don't use color on non-tty ([#452](https://github.com/webpack/webpack-cli/pull/452)) -* init: Better defaults ([#451](https://github.com/webpack/webpack-cli/pull/451)) -* symlinks: Fix paths ([#453](https://github.com/webpack/webpack-cli/pull/453)) +- add: re-add add command ([bf78411](https://github.com/webpack/webpack-cli/commit/bf78411)) +- color: don't use color on non-tty ([#452](https://github.com/webpack/webpack-cli/pull/452)) +- init: Better defaults ([#451](https://github.com/webpack/webpack-cli/pull/451)) +- symlinks: Fix paths ([#453](https://github.com/webpack/webpack-cli/pull/453)) ## Fix -* cli: show help flag when defaults fail ([#466](https://github.com/webpack/webpack-cli/pull/466)) -* vulnerabilities: vulnerabilities patch for v3 ([#460](https://github.com/webpack/webpack-cli/pull/460)) +- cli: show help flag when defaults fail ([#466](https://github.com/webpack/webpack-cli/pull/466)) +- vulnerabilities: vulnerabilities patch for v3 ([#460](https://github.com/webpack/webpack-cli/pull/460)) ## Tests -* cov: use regular nyc on tests ([3aa96ce](https://github.com/webpack/webpack-cli/commit/3aa96ce)) -* coverage: fix coverage ([#473](https://github.com/webpack/webpack-cli/pull/473)) -* no-options: refactor tests ([7be10d8](https://github.com/webpack/webpack-cli/commit/7be10d8)) -* parser: fix recursive-tests signature ([#470](https://github.com/webpack/webpack-cli/pull/470)) +- cov: use regular nyc on tests ([3aa96ce](https://github.com/webpack/webpack-cli/commit/3aa96ce)) +- coverage: fix coverage ([#473](https://github.com/webpack/webpack-cli/pull/473)) +- no-options: refactor tests ([7be10d8](https://github.com/webpack/webpack-cli/commit/7be10d8)) +- parser: fix recursive-tests signature ([#470](https://github.com/webpack/webpack-cli/pull/470)) ## Misc -* Added yarn lock file to gitignore ([#455](https://github.com/webpack/webpack-cli/pull/455)) +- Added yarn lock file to gitignore ([#455](https://github.com/webpack/webpack-cli/pull/455)) + + - # 0.0.6 (2018-05-17) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.0.5...v0.0.6) ## CLI -* path: resolve better ([7fca948](https://github.com/webpack/webpack-cli/commit/7fca948)) +- path: resolve better ([7fca948](https://github.com/webpack/webpack-cli/commit/7fca948)) ## Misc -* v0.0.6 ([f544578](https://github.com/webpack/webpack-cli/commit/f544578)) +- v0.0.6 ([f544578](https://github.com/webpack/webpack-cli/commit/f544578)) + + - # 0.0.5 (2018-05-17) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.0.4...v0.0.5) ## Chore -* deps: update deps ([58a437d](https://github.com/webpack/webpack-cli/commit/58a437d)) -* prompt: revise prompt cmd ([bccc56e](https://github.com/webpack/webpack-cli/commit/bccc56e)) +- deps: update deps ([58a437d](https://github.com/webpack/webpack-cli/commit/58a437d)) +- prompt: revise prompt cmd ([bccc56e](https://github.com/webpack/webpack-cli/commit/bccc56e)) ## Misc -* v0.0.5 ([062fa28](https://github.com/webpack/webpack-cli/commit/062fa28)) +- v0.0.5 ([062fa28](https://github.com/webpack/webpack-cli/commit/062fa28)) + + - # 0.0.4 (2018-05-17) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.0.3...v0.0.4) ## Chore -* v: back to v1 ([3ed29c6](https://github.com/webpack/webpack-cli/commit/3ed29c6)) +- v: back to v1 ([3ed29c6](https://github.com/webpack/webpack-cli/commit/3ed29c6)) ## Misc -* v0.0.4 ([e29a173](https://github.com/webpack/webpack-cli/commit/e29a173)) -* v0.0.3 ([01cef3f](https://github.com/webpack/webpack-cli/commit/01cef3f)) -* v0.0.2 ([6489b10](https://github.com/webpack/webpack-cli/commit/6489b10)) +- v0.0.4 ([e29a173](https://github.com/webpack/webpack-cli/commit/e29a173)) +- v0.0.3 ([01cef3f](https://github.com/webpack/webpack-cli/commit/01cef3f)) +- v0.0.2 ([6489b10](https://github.com/webpack/webpack-cli/commit/6489b10)) + + - # 0.0.3 (2018-05-17) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.0.2...v0.0.3) ## Misc -* v0.0.3 ([b51e66d](https://github.com/webpack/webpack-cli/commit/b51e66d)) +- v0.0.3 ([b51e66d](https://github.com/webpack/webpack-cli/commit/b51e66d)) + + - # 0.0.2 (2018-05-17) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v0.0.1...v0.0.2) ## Chore -* v: revise some deps ([c36f3e8](https://github.com/webpack/webpack-cli/commit/c36f3e8)) +- v: revise some deps ([c36f3e8](https://github.com/webpack/webpack-cli/commit/c36f3e8)) ## Misc -* v0.0.2 ([91be3fd](https://github.com/webpack/webpack-cli/commit/91be3fd)) +- v0.0.2 ([91be3fd](https://github.com/webpack/webpack-cli/commit/91be3fd)) + + - # 0.0.1 (2018-05-17) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.1.3...v0.0.1) ## Chore -* cli: move to lerna and scoped packages ([#434](https://github.com/webpack/webpack-cli/pull/434)) -* linting: resolve linting ([80c9e9a](https://github.com/webpack/webpack-cli/commit/80c9e9a)) -* linting: resolve linting ([8f6f1db](https://github.com/webpack/webpack-cli/commit/8f6f1db)) -* linting: fix linting errors ([a76c46f](https://github.com/webpack/webpack-cli/commit/a76c46f)) -* linting: resolve linter errors ([1db677e](https://github.com/webpack/webpack-cli/commit/1db677e)) -* monorepo: fix plugin package.json ([3c822cf](https://github.com/webpack/webpack-cli/commit/3c822cf)) -* monorepo: prune files and update eslint rules ([059d6f9](https://github.com/webpack/webpack-cli/commit/059d6f9)) -* monorepo: move to lerna ([ec6cc38](https://github.com/webpack/webpack-cli/commit/ec6cc38)) -* monorepo: use commands as normal instead of package ([bdafce0](https://github.com/webpack/webpack-cli/commit/bdafce0)) -* monorepo: fix the no-missing-require error ([8ef1804](https://github.com/webpack/webpack-cli/commit/8ef1804)) -* monorepo: updated package.json ([ff6c371](https://github.com/webpack/webpack-cli/commit/ff6c371)) -* monorepo: merge package lock json ([d4c7c5d](https://github.com/webpack/webpack-cli/commit/d4c7c5d)) -* monorepo: prune package json ([64cfef7](https://github.com/webpack/webpack-cli/commit/64cfef7)) -* monorepo: fix typo ([a6a2715](https://github.com/webpack/webpack-cli/commit/a6a2715)) -* monorepo: fix typo ([a1d5406](https://github.com/webpack/webpack-cli/commit/a1d5406)) -* rebase: refactor stuff ([b02070d](https://github.com/webpack/webpack-cli/commit/b02070d)) -* scaffold: move addons to scaffold ([b2a7470](https://github.com/webpack/webpack-cli/commit/b2a7470)) -* scaffold: fix linting errors ([df8287d](https://github.com/webpack/webpack-cli/commit/df8287d)) -* v: revise pkg ([ab38a3a](https://github.com/webpack/webpack-cli/commit/ab38a3a)) +- cli: move to lerna and scoped packages ([#434](https://github.com/webpack/webpack-cli/pull/434)) +- linting: resolve linting ([80c9e9a](https://github.com/webpack/webpack-cli/commit/80c9e9a)) +- linting: resolve linting ([8f6f1db](https://github.com/webpack/webpack-cli/commit/8f6f1db)) +- linting: fix linting errors ([a76c46f](https://github.com/webpack/webpack-cli/commit/a76c46f)) +- linting: resolve linter errors ([1db677e](https://github.com/webpack/webpack-cli/commit/1db677e)) +- monorepo: fix plugin package.json ([3c822cf](https://github.com/webpack/webpack-cli/commit/3c822cf)) +- monorepo: prune files and update eslint rules ([059d6f9](https://github.com/webpack/webpack-cli/commit/059d6f9)) +- monorepo: move to lerna ([ec6cc38](https://github.com/webpack/webpack-cli/commit/ec6cc38)) +- monorepo: use commands as normal instead of package ([bdafce0](https://github.com/webpack/webpack-cli/commit/bdafce0)) +- monorepo: fix the no-missing-require error ([8ef1804](https://github.com/webpack/webpack-cli/commit/8ef1804)) +- monorepo: updated package.json ([ff6c371](https://github.com/webpack/webpack-cli/commit/ff6c371)) +- monorepo: merge package lock json ([d4c7c5d](https://github.com/webpack/webpack-cli/commit/d4c7c5d)) +- monorepo: prune package json ([64cfef7](https://github.com/webpack/webpack-cli/commit/64cfef7)) +- monorepo: fix typo ([a6a2715](https://github.com/webpack/webpack-cli/commit/a6a2715)) +- monorepo: fix typo ([a1d5406](https://github.com/webpack/webpack-cli/commit/a1d5406)) +- rebase: refactor stuff ([b02070d](https://github.com/webpack/webpack-cli/commit/b02070d)) +- scaffold: move addons to scaffold ([b2a7470](https://github.com/webpack/webpack-cli/commit/b2a7470)) +- scaffold: fix linting errors ([df8287d](https://github.com/webpack/webpack-cli/commit/df8287d)) +- v: revise pkg ([ab38a3a](https://github.com/webpack/webpack-cli/commit/ab38a3a)) ## CLI -* pkgs: re-add entries ([b2c2bbd](https://github.com/webpack/webpack-cli/commit/b2c2bbd)) -* prompt: wip ([5f357c9](https://github.com/webpack/webpack-cli/commit/5f357c9)) -* prompt: initial comment for prompt file ([f8a71c0](https://github.com/webpack/webpack-cli/commit/f8a71c0)) +- pkgs: re-add entries ([b2c2bbd](https://github.com/webpack/webpack-cli/commit/b2c2bbd)) +- prompt: wip ([5f357c9](https://github.com/webpack/webpack-cli/commit/5f357c9)) +- prompt: initial comment for prompt file ([f8a71c0](https://github.com/webpack/webpack-cli/commit/f8a71c0)) ## Fix -* monorepo: fix versions in pacakges ([2b3035c](https://github.com/webpack/webpack-cli/commit/2b3035c)) -* monorepo: update lock files ([ca8f5c1](https://github.com/webpack/webpack-cli/commit/ca8f5c1)) -* monorepo: fix cross spawn versions ([0fcc5b3](https://github.com/webpack/webpack-cli/commit/0fcc5b3)) -* monorepo: fix lint errors ([74fb759](https://github.com/webpack/webpack-cli/commit/74fb759)) -* revert: packagejson ([3dd244b](https://github.com/webpack/webpack-cli/commit/3dd244b)) +- monorepo: fix versions in pacakges ([2b3035c](https://github.com/webpack/webpack-cli/commit/2b3035c)) +- monorepo: update lock files ([ca8f5c1](https://github.com/webpack/webpack-cli/commit/ca8f5c1)) +- monorepo: fix cross spawn versions ([0fcc5b3](https://github.com/webpack/webpack-cli/commit/0fcc5b3)) +- monorepo: fix lint errors ([74fb759](https://github.com/webpack/webpack-cli/commit/74fb759)) +- revert: packagejson ([3dd244b](https://github.com/webpack/webpack-cli/commit/3dd244b)) ## Misc -* v0.0.1 ([faae7aa](https://github.com/webpack/webpack-cli/commit/faae7aa)) +- v0.0.1 ([faae7aa](https://github.com/webpack/webpack-cli/commit/faae7aa)) + + - # 2.1.3 (2018-05-06) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.1.2...v2.1.3) ## Chore -* pkg: remove prefer global ([4149c53](https://github.com/webpack/webpack-cli/commit/4149c53)) -* templates: Update issue templates ([#432](https://github.com/webpack/webpack-cli/pull/432)) +- pkg: remove prefer global ([4149c53](https://github.com/webpack/webpack-cli/commit/4149c53)) +- templates: Update issue templates ([#432](https://github.com/webpack/webpack-cli/pull/432)) ## CLI -* cmds: revise yargs command ([#422](https://github.com/webpack/webpack-cli/pull/422)) +- cmds: revise yargs command ([#422](https://github.com/webpack/webpack-cli/pull/422)) + + - # 2.0.14 (2018-04-05) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/2.0.13...2.0.14) ## New Features -* use npm ci for tests (#367) ([#368](https://github.com/webpack/webpack-cli/pull/368)) -* add envinfo as `webpack-cli info` command ([51ab19f](https://github.com/webpack/webpack-cli/commit/51ab19f)) -* --entry should override config.entry (#155) ([#358](https://github.com/webpack/webpack-cli/pull/358)) +- use npm ci for tests (#367) ([#368](https://github.com/webpack/webpack-cli/pull/368)) +- add envinfo as `webpack-cli info` command ([51ab19f](https://github.com/webpack/webpack-cli/commit/51ab19f)) +- --entry should override config.entry (#155) ([#358](https://github.com/webpack/webpack-cli/pull/358)) ## Chore -* coverage: added reporters inside package.json ([c7d80fb](https://github.com/webpack/webpack-cli/commit/c7d80fb)) -* upgrade: webpack 4.2 and other dependencies ([#362](https://github.com/webpack/webpack-cli/pull/362)) -* version: v.2.0.13 ([2222f1d](https://github.com/webpack/webpack-cli/commit/2222f1d)) +- coverage: added reporters inside package.json ([c7d80fb](https://github.com/webpack/webpack-cli/commit/c7d80fb)) +- upgrade: webpack 4.2 and other dependencies ([#362](https://github.com/webpack/webpack-cli/pull/362)) +- version: v.2.0.13 ([2222f1d](https://github.com/webpack/webpack-cli/commit/2222f1d)) ## CLI -* refactor: improve folder structure ([#371](https://github.com/webpack/webpack-cli/pull/371)) +- refactor: improve folder structure ([#371](https://github.com/webpack/webpack-cli/pull/371)) ## Fix -* loader,plugin: fix generators path bug ([b4bfafb](https://github.com/webpack/webpack-cli/commit/b4bfafb)) +- loader,plugin: fix generators path bug ([b4bfafb](https://github.com/webpack/webpack-cli/commit/b4bfafb)) + + - # 2.0.13 (2018-03-22) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/2.0.12...2.0.13) ## Chore -* pkg: explicitly include files for release ([#349](https://github.com/webpack/webpack-cli/pull/349)) +- pkg: explicitly include files for release ([#349](https://github.com/webpack/webpack-cli/pull/349)) ## CLI -* init: add webpack-cli dep ([#347](https://github.com/webpack/webpack-cli/pull/347)) +- init: add webpack-cli dep ([#347](https://github.com/webpack/webpack-cli/pull/347)) + + - # 2.0.12 (2018-03-14) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.0.11...v2.0.12) ## New Features -* support --build-delimiter for opt-in output delimiter (#192) ([#340](https://github.com/webpack/webpack-cli/pull/340)) +- support --build-delimiter for opt-in output delimiter (#192) ([#340](https://github.com/webpack/webpack-cli/pull/340)) ## Chore -* gitignore: add vim swap files to gitignore ([3448fb5](https://github.com/webpack/webpack-cli/commit/3448fb5)) -* scaffolding: update docs ([#336](https://github.com/webpack/webpack-cli/pull/336)) +- gitignore: add vim swap files to gitignore ([3448fb5](https://github.com/webpack/webpack-cli/commit/3448fb5)) +- scaffolding: update docs ([#336](https://github.com/webpack/webpack-cli/pull/336)) ## Fix -* removes debug in migrate ([#342](https://github.com/webpack/webpack-cli/pull/342)) +- removes debug in migrate ([#342](https://github.com/webpack/webpack-cli/pull/342)) ## Tests -* snapshot: update snapshot ([bd8ccda](https://github.com/webpack/webpack-cli/commit/bd8ccda)) +- snapshot: update snapshot ([bd8ccda](https://github.com/webpack/webpack-cli/commit/bd8ccda)) ## Misc -* cz: fix type description ([#339](https://github.com/webpack/webpack-cli/pull/339)) -* init: fix global-modules require statement in package-manager ([610aa02](https://github.com/webpack/webpack-cli/commit/610aa02)) -* init-generator: cleanup ([b8c3145](https://github.com/webpack/webpack-cli/commit/b8c3145)) +- cz: fix type description ([#339](https://github.com/webpack/webpack-cli/pull/339)) +- init: fix global-modules require statement in package-manager ([610aa02](https://github.com/webpack/webpack-cli/commit/610aa02)) +- init-generator: cleanup ([b8c3145](https://github.com/webpack/webpack-cli/commit/b8c3145)) + + - # 2.0.11 (2018-03-10) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.0.10...v2.0.11) ## Chore -* bundlesize: change threshold ([2aedfda](https://github.com/webpack/webpack-cli/commit/2aedfda)) -* deps: upgrade deps ([#319](https://github.com/webpack/webpack-cli/pull/319)) -* docs: update docs ([3307e3b](https://github.com/webpack/webpack-cli/commit/3307e3b)) -* es6: changed 'var' into 'const' where convenient ([#325](https://github.com/webpack/webpack-cli/pull/325)) -* test: updated tests file names ([#324](https://github.com/webpack/webpack-cli/pull/324)) +- bundlesize: change threshold ([2aedfda](https://github.com/webpack/webpack-cli/commit/2aedfda)) +- deps: upgrade deps ([#319](https://github.com/webpack/webpack-cli/pull/319)) +- docs: update docs ([3307e3b](https://github.com/webpack/webpack-cli/commit/3307e3b)) +- es6: changed 'var' into 'const' where convenient ([#325](https://github.com/webpack/webpack-cli/pull/325)) +- test: updated tests file names ([#324](https://github.com/webpack/webpack-cli/pull/324)) ## CLI -* init: Refactor Yeoman ([#323](https://github.com/webpack/webpack-cli/pull/323)) -* tapable: Remove Tapable#apply calls ([#305](https://github.com/webpack/webpack-cli/pull/305)) +- init: Refactor Yeoman ([#323](https://github.com/webpack/webpack-cli/pull/323)) +- tapable: Remove Tapable#apply calls ([#305](https://github.com/webpack/webpack-cli/pull/305)) ## Docs -* update README to remove inconsistent CLI messaging (#327) ([#328](https://github.com/webpack/webpack-cli/pull/328)) +- update README to remove inconsistent CLI messaging (#327) ([#328](https://github.com/webpack/webpack-cli/pull/328)) ## Fix -* migrate: move options to use ([#308](https://github.com/webpack/webpack-cli/pull/308)) -* adding 'fix' to whitelist ([10a00df](https://github.com/webpack/webpack-cli/commit/10a00df)) +- migrate: move options to use ([#308](https://github.com/webpack/webpack-cli/pull/308)) +- adding 'fix' to whitelist ([10a00df](https://github.com/webpack/webpack-cli/commit/10a00df)) ## Misc -* deps: clean up dependencies ([7078282](https://github.com/webpack/webpack-cli/commit/7078282)) -* generator: Allow local paths to generators ([#265](https://github.com/webpack/webpack-cli/pull/265)) -* grammar: revise spelling and incorrect syntax ([#293](https://github.com/webpack/webpack-cli/pull/293)) -* readme: add npm badge ([#303](https://github.com/webpack/webpack-cli/pull/303)) +- deps: clean up dependencies ([7078282](https://github.com/webpack/webpack-cli/commit/7078282)) +- generator: Allow local paths to generators ([#265](https://github.com/webpack/webpack-cli/pull/265)) +- grammar: revise spelling and incorrect syntax ([#293](https://github.com/webpack/webpack-cli/pull/293)) +- readme: add npm badge ([#303](https://github.com/webpack/webpack-cli/pull/303)) + + - # 2.0.10 (2018-03-02) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.0.4...v2.0.10) ## New Features -* show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) -* chore: add project tools and utilities ([#270](https://github.com/webpack/webpack-cli/pull/270)) +- show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) +- chore: add project tools and utilities ([#270](https://github.com/webpack/webpack-cli/pull/270)) ## Ast -* init: fix init command ([d36cd4f](https://github.com/webpack/webpack-cli/commit/d36cd4f)) +- init: fix init command ([d36cd4f](https://github.com/webpack/webpack-cli/commit/d36cd4f)) ## Chore -* .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) -* .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) -* add: temp remove add from cli ([f663215](https://github.com/webpack/webpack-cli/commit/f663215)) -* changelog: v.2.0.7 changelog ([a165269](https://github.com/webpack/webpack-cli/commit/a165269)) -* clean: remove unused dependency ([4a395d7](https://github.com/webpack/webpack-cli/commit/4a395d7)) -* deps: bump uglify dep and cli version ([81a9f1e](https://github.com/webpack/webpack-cli/commit/81a9f1e)) -* packager: remove yarn ([#302](https://github.com/webpack/webpack-cli/pull/302)) -* pkg.json: remove commitmsg cmd ([4dff074](https://github.com/webpack/webpack-cli/commit/4dff074)) -* refactor: update supports-color usage ([4566fde](https://github.com/webpack/webpack-cli/commit/4566fde)) -* refactor: update supports-color usage ([97b2df3](https://github.com/webpack/webpack-cli/commit/97b2df3)) -* revert: revert yargs to 9.0.1 ([7ef13ef](https://github.com/webpack/webpack-cli/commit/7ef13ef)) -* upgrade: update all dependencies, devDependencies ([4bf64bf](https://github.com/webpack/webpack-cli/commit/4bf64bf)) -* version: v.2.0.9 ([4cf5e17](https://github.com/webpack/webpack-cli/commit/4cf5e17)) +- .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) +- .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) +- add: temp remove add from cli ([f663215](https://github.com/webpack/webpack-cli/commit/f663215)) +- changelog: v.2.0.7 changelog ([a165269](https://github.com/webpack/webpack-cli/commit/a165269)) +- clean: remove unused dependency ([4a395d7](https://github.com/webpack/webpack-cli/commit/4a395d7)) +- deps: bump uglify dep and cli version ([81a9f1e](https://github.com/webpack/webpack-cli/commit/81a9f1e)) +- packager: remove yarn ([#302](https://github.com/webpack/webpack-cli/pull/302)) +- pkg.json: remove commitmsg cmd ([4dff074](https://github.com/webpack/webpack-cli/commit/4dff074)) +- refactor: update supports-color usage ([4566fde](https://github.com/webpack/webpack-cli/commit/4566fde)) +- refactor: update supports-color usage ([97b2df3](https://github.com/webpack/webpack-cli/commit/97b2df3)) +- revert: revert yargs to 9.0.1 ([7ef13ef](https://github.com/webpack/webpack-cli/commit/7ef13ef)) +- upgrade: update all dependencies, devDependencies ([4bf64bf](https://github.com/webpack/webpack-cli/commit/4bf64bf)) +- version: v.2.0.9 ([4cf5e17](https://github.com/webpack/webpack-cli/commit/4cf5e17)) ## CLI -* devServer: change devServer path ([c27e961](https://github.com/webpack/webpack-cli/commit/c27e961)) -* version: v.2.0.8 ([9406912](https://github.com/webpack/webpack-cli/commit/9406912)) +- devServer: change devServer path ([c27e961](https://github.com/webpack/webpack-cli/commit/c27e961)) +- version: v.2.0.8 ([9406912](https://github.com/webpack/webpack-cli/commit/9406912)) ## Fix -* generator: use yeoman clone ([0b4269c](https://github.com/webpack/webpack-cli/commit/0b4269c)) -* yeoman-generator fork issue ([#294](https://github.com/webpack/webpack-cli/pull/294)) -* Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) -* change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) +- generator: use yeoman clone ([0b4269c](https://github.com/webpack/webpack-cli/commit/0b4269c)) +- yeoman-generator fork issue ([#294](https://github.com/webpack/webpack-cli/pull/294)) +- Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) +- change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) ## Improvement -* add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) +- add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) ## Refactor -* convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) +- convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) ## Style -* run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) +- run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) ## Tests -* add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) -* mode: add mode tests ([#285](https://github.com/webpack/webpack-cli/pull/285)) -* update: migrate snapshot ([3c4e6f7](https://github.com/webpack/webpack-cli/commit/3c4e6f7)) -* update: migrate snapshot ([c322067](https://github.com/webpack/webpack-cli/commit/c322067)) +- add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) +- mode: add mode tests ([#285](https://github.com/webpack/webpack-cli/pull/285)) +- update: migrate snapshot ([3c4e6f7](https://github.com/webpack/webpack-cli/commit/3c4e6f7)) +- update: migrate snapshot ([c322067](https://github.com/webpack/webpack-cli/commit/c322067)) ## Misc -* refactor: reduce code duplication use process.exitCode instead of process.exit ([#272](https://github.com/webpack/webpack-cli/pull/272)) -* [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) -* Commitlint ([#300](https://github.com/webpack/webpack-cli/pull/300)) -* Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) -* Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) -* strict Promise configuration validation ([#298](https://github.com/webpack/webpack-cli/pull/298)) -* Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) -* Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) -* remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) -* Revert "Show help on no command" ([#276](https://github.com/webpack/webpack-cli/pull/276)) -* 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) -* v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) -* fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) -* binTestCases: remove obsolete snapshot ([42301d7](https://github.com/webpack/webpack-cli/commit/42301d7)) -* dep: add webpack 4 as peer dependency ([#297](https://github.com/webpack/webpack-cli/pull/297)) -* migrate: prettify output ([#281](https://github.com/webpack/webpack-cli/pull/281)) -* revert: revert supports-color usage ([f8e819a](https://github.com/webpack/webpack-cli/commit/f8e819a)) -* revert: revert supports-color usage ([75f706b](https://github.com/webpack/webpack-cli/commit/75f706b)) -* syntax: prettify ([5cb146f](https://github.com/webpack/webpack-cli/commit/5cb146f)) -* yargs: add description for module-bind-* args ([#286](https://github.com/webpack/webpack-cli/pull/286)) - - +- refactor: reduce code duplication use process.exitCode instead of process.exit ([#272](https://github.com/webpack/webpack-cli/pull/272)) +- [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) +- Commitlint ([#300](https://github.com/webpack/webpack-cli/pull/300)) +- Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) +- Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) +- strict Promise configuration validation ([#298](https://github.com/webpack/webpack-cli/pull/298)) +- Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) +- Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) +- remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) +- Revert "Show help on no command" ([#276](https://github.com/webpack/webpack-cli/pull/276)) +- 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) +- v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) +- fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) +- binTestCases: remove obsolete snapshot ([42301d7](https://github.com/webpack/webpack-cli/commit/42301d7)) +- dep: add webpack 4 as peer dependency ([#297](https://github.com/webpack/webpack-cli/pull/297)) +- migrate: prettify output ([#281](https://github.com/webpack/webpack-cli/pull/281)) +- revert: revert supports-color usage ([f8e819a](https://github.com/webpack/webpack-cli/commit/f8e819a)) +- revert: revert supports-color usage ([75f706b](https://github.com/webpack/webpack-cli/commit/75f706b)) +- syntax: prettify ([5cb146f](https://github.com/webpack/webpack-cli/commit/5cb146f)) +- yargs: add description for module-bind-\* args ([#286](https://github.com/webpack/webpack-cli/pull/286)) + + + # 2.0.9 (2018-02-25) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.0.4...v2.0.9) ## Ast -* init: fix init command ([d36cd4f](https://github.com/webpack/webpack-cli/commit/d36cd4f)) +- init: fix init command ([d36cd4f](https://github.com/webpack/webpack-cli/commit/d36cd4f)) ## Chore -* .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) -* .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) -* add: temp remove add from cli ([f663215](https://github.com/webpack/webpack-cli/commit/f663215)) -* changelog: v.2.0.7 changelog ([a165269](https://github.com/webpack/webpack-cli/commit/a165269)) -* deps: bump uglify dep and cli version ([81a9f1e](https://github.com/webpack/webpack-cli/commit/81a9f1e)) -* pkg.json: remove commitmsg cmd ([4dff074](https://github.com/webpack/webpack-cli/commit/4dff074)) +- .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) +- .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) +- add: temp remove add from cli ([f663215](https://github.com/webpack/webpack-cli/commit/f663215)) +- changelog: v.2.0.7 changelog ([a165269](https://github.com/webpack/webpack-cli/commit/a165269)) +- deps: bump uglify dep and cli version ([81a9f1e](https://github.com/webpack/webpack-cli/commit/81a9f1e)) +- pkg.json: remove commitmsg cmd ([4dff074](https://github.com/webpack/webpack-cli/commit/4dff074)) ## CLI -* devServer: change devServer path ([c27e961](https://github.com/webpack/webpack-cli/commit/c27e961)) -* version: v.2.0.8 ([9406912](https://github.com/webpack/webpack-cli/commit/9406912)) +- devServer: change devServer path ([c27e961](https://github.com/webpack/webpack-cli/commit/c27e961)) +- version: v.2.0.8 ([9406912](https://github.com/webpack/webpack-cli/commit/9406912)) ## Feat -* show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) -* chore: add project tools and utilities ([#270](https://github.com/webpack/webpack-cli/pull/270)) +- show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) +- chore: add project tools and utilities ([#270](https://github.com/webpack/webpack-cli/pull/270)) ## Fix -* Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) -* change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) -* generator: use yeoman clone ([0b4269c](https://github.com/webpack/webpack-cli/commit/0b4269c)) +- Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) +- change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) +- generator: use yeoman clone ([0b4269c](https://github.com/webpack/webpack-cli/commit/0b4269c)) ## Improvement -* add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) +- add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) ## Refactor -* convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) +- convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) ## Style -* run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) +- run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) ## Tests -* add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) +- add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) ## Misc -* remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) -* Revert "Show help on no command" ([#276](https://github.com/webpack/webpack-cli/pull/276)) -* v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) -* fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) -* 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) -* Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) -* Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) -* Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) -* Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) -* [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) -* refactor: reduce code duplication use process.exitCode instead of process.exit ([#272](https://github.com/webpack/webpack-cli/pull/272)) - - +- remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) +- Revert "Show help on no command" ([#276](https://github.com/webpack/webpack-cli/pull/276)) +- v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) +- fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) +- 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) +- Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) +- Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) +- Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) +- Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) +- [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) +- refactor: reduce code duplication use process.exitCode instead of process.exit ([#272](https://github.com/webpack/webpack-cli/pull/272)) + + + # 2.0.7 (2018-02-24) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.0.4...v2.0.7) ## Chore -* .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) -* .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) -* add: temp remove add from cli ([f663215](https://github.com/webpack/webpack-cli/commit/f663215)) -* deps: bump uglify dep and cli version ([81a9f1e](https://github.com/webpack/webpack-cli/commit/81a9f1e)) +- .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) +- .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) +- add: temp remove add from cli ([f663215](https://github.com/webpack/webpack-cli/commit/f663215)) +- deps: bump uglify dep and cli version ([81a9f1e](https://github.com/webpack/webpack-cli/commit/81a9f1e)) ## Feat -* show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) -* chore: add project tools and utilities ([#270](https://github.com/webpack/webpack-cli/pull/270)) +- show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) +- chore: add project tools and utilities ([#270](https://github.com/webpack/webpack-cli/pull/270)) ## Fix -* Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) -* change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) +- Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) +- change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) ## Improvement -* add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) +- add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) ## Refactor -* convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) +- convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) ## Style -* run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) +- run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) ## Tests -* add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) +- add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) ## Misc -* remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) -* Revert "Show help on no command" ([#276](https://github.com/webpack/webpack-cli/pull/276)) -* v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) -* fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) -* 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) -* Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) -* Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) -* Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) -* Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) -* [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) -* refactor: reduce code duplication use process.exitCode instead of process.exit ([#272](https://github.com/webpack/webpack-cli/pull/272)) - - +- remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) +- Revert "Show help on no command" ([#276](https://github.com/webpack/webpack-cli/pull/276)) +- v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) +- fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) +- 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) +- Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) +- Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) +- Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) +- Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) +- [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) +- refactor: reduce code duplication use process.exitCode instead of process.exit ([#272](https://github.com/webpack/webpack-cli/pull/272)) + + + # 2.0.6 (2018-02-20) + [Full Changelog](https://github.com/webpack/webpack-cli/compare/v2.0.4...v2.0.6) ## Chore -* .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) -* .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) -* add new items to chore: adds chore command ([db243b6](https://github.com/webpack/webpack-cli/commit/db243b6)) -* linting: lint added files ([6dc12af](https://github.com/webpack/webpack-cli/commit/6dc12af)) -* remove cmd: removes f command ([7adfdcf](https://github.com/webpack/webpack-cli/commit/7adfdcf)) +- .gitignore: ignore .vscode ([ab0eacc](https://github.com/webpack/webpack-cli/commit/ab0eacc)) +- .gitignore: ignore .vscode ([a322505](https://github.com/webpack/webpack-cli/commit/a322505)) +- add new items to chore: adds chore command ([db243b6](https://github.com/webpack/webpack-cli/commit/db243b6)) +- linting: lint added files ([6dc12af](https://github.com/webpack/webpack-cli/commit/6dc12af)) +- remove cmd: removes f command ([7adfdcf](https://github.com/webpack/webpack-cli/commit/7adfdcf)) ## Feat -* show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) +- show help when no options given ([a7ee15a](https://github.com/webpack/webpack-cli/commit/a7ee15a)) ## Fix -* Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) -* change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) +- Resolve webpack dependencies ([#251](https://github.com/webpack/webpack-cli/pull/251)) +- change help logic ([d67f4b7](https://github.com/webpack/webpack-cli/commit/d67f4b7)) ## Improvement -* add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) +- add an option to watch messaging. Add .idea to .gitignore ([#200](https://github.com/webpack/webpack-cli/pull/200)) ## Refactor -* convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) +- convert-args: remove unused arguments ([#253](https://github.com/webpack/webpack-cli/pull/253)) ## Style -* run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) +- run formatter ([7be0da7](https://github.com/webpack/webpack-cli/commit/7be0da7)) ## Tests -* add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) +- add test for showing help on no options ([cf43939](https://github.com/webpack/webpack-cli/commit/cf43939)) ## Misc -* remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) -* [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) -* v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) -* fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) -* 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) -* Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) -* Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) -* Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) -* Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) -* add commitlinting: adds commit linting to the cli ([7e4dd3d](https://github.com/webpack/webpack-cli/commit/7e4dd3d)) -* add eslint ignore items: adds build folder and commit linter to ignore ([a400809](https://github.com/webpack/webpack-cli/commit/a400809)) +- remove yargs major update due security compromise ([9bd7ed4](https://github.com/webpack/webpack-cli/commit/9bd7ed4)) +- [feature] configuration validation ([#240](https://github.com/webpack/webpack-cli/pull/240)) +- v.2.0.6 ([4333088](https://github.com/webpack/webpack-cli/commit/4333088)) +- fix typo.. ([0f1cee6](https://github.com/webpack/webpack-cli/commit/0f1cee6)) +- 2.0.5 ([94ac6db](https://github.com/webpack/webpack-cli/commit/94ac6db)) +- Change from git:// to https:// ([#259](https://github.com/webpack/webpack-cli/pull/259)) +- Issue 249 fixed and other enums refactored ([#264](https://github.com/webpack/webpack-cli/pull/264)) +- Refactor bin directory ([#263](https://github.com/webpack/webpack-cli/pull/263)) +- Add jsdoc comments for migrate ([#255](https://github.com/webpack/webpack-cli/pull/255)) +- add commitlinting: adds commit linting to the cli ([7e4dd3d](https://github.com/webpack/webpack-cli/commit/7e4dd3d)) +- add eslint ignore items: adds build folder and commit linter to ignore ([a400809](https://github.com/webpack/webpack-cli/commit/a400809)) + ## 2.0.0 (2017-12-21) -* Adds add -* Remove some mocks -* Remove validationschema and ajv dependencies -* Update Jest & Jest-cli -* Remove unused dependencies -* Creator is now init -* Using env preset ([#197](https://github.com/webpack/webpack-cli/pull/197)) -* Using Yarn ([#203](https://github.com/webpack/webpack-cli/pull/203)) -* Using peer dep of webpack -* Transformations is now migrate -* Init has its own generator -* Commands are refactored into a HOC and sent to a folder for each command with an helper for scaffolding aliases -* Using RawList instead of List for better usability ([82c64db](https://github.com/webpack/webpack-cli/commit/541ba62f02c4a1fcc807eac62a551fcae3f2d2c3)) -* lib/transformations/util is now in lib/utils/ast-utils -* Each AST module now has an extra argument that specifies action to be done -* FindPluginsByRoot is now FindRootByName and more generalistic -* Added ast util function createEmptyCallableFunctionWithArguments -* Refactor for readability ([#214](https://github.com/webpack/webpack-cli/pull/214)) -* Remove dist from repo ([#215](https://github.com/webpack/webpack-cli/pull/215)) -* Remove entry and output validation ([#217](https://github.com/webpack/webpack-cli/pull/217)) -* topScope now checks if the import already is present -* Updated test errors/issue-5576, remember to sync with webpack/next -* User friendly startup message ([#218](https://github.com/webpack/webpack-cli/pull/218)) -* Migrate now uses prettier ([88aaaa2](https://github.com/webpack/webpack-cli/commit/972d4cd90061644aa2f4aaac33d2d80cb4a56d57) -* Added transform for mode ([972d4cd](https://github.com/webpack/webpack-cli/commit/e1f512c9bb96694dd623562dc4cef411ed004c2c) -* Remove recast fork ([fba04da](https://github.com/webpack/webpack-cli/commit/b416d9c50138ef343b8bac6e3f66fdd5b917857d)) -* New transforms ([b416d9c](https://github.com/webpack/webpack-cli/commit/28680c944dca0860ca59a38910840a641b418d18)) -* JSdocs are added ([47de46a](https://github.com/webpack/webpack-cli/commit/285846a4cb1f976edcdb36629cf247d8017ff956)) -* Added serve alias ([#204](https://github.com/webpack/webpack-cli/pull/204)) -* Migrate has new validate logic ([c4c68e8](https://github.com/webpack/webpack-cli/commit/5d4430a6a5531cd8084e5a591f7884e746e21b2f)) -* webpack serve logic ([5d4430a](https://github.com/webpack/webpack-cli/commit/992bfe2b08b98aebb43c68d5e5a92320ba3e32a8)) -* webpack --config-register and webpack -r is added ([1f24d19](https://github.com/webpack/webpack-cli/commit/ab9421136887b7e9e10f25a39b59fb32f07b5037)) -* work on makefile generation ([d86e1ce](https://github.com/webpack/webpack-cli/commit/4f9a4f88a8bd113762a54c05b3b9fe6f459855db)) -* Appveyor is added ([9b2f6f5](https://github.com/webpack/webpack-cli/commit/c5c97462d6ccfa4c02fd79206fa075815520cd88)) -* Remove commit-validate from docs ([#222](https://github.com/webpack/webpack-cli/pull/222)) -* Added transform ResolveLoader ([7c713ce](https://github.com/webpack/webpack-cli/commit/3c90e83fa7b8dd5fbecaee5d1b9d8f0279600096)) -* Using v8-compile-cache ([7e57314](https://github.com/webpack/webpack-cli/commit/0564ceb77a995239d0be7a022b948cbd727773a4)) -* Adds webpack-cli bot ([#224](https://github.com/webpack/webpack-cli/pull/224)) +- Adds add +- Remove some mocks +- Remove validationschema and ajv dependencies +- Update Jest & Jest-cli +- Remove unused dependencies +- Creator is now init +- Using env preset ([#197](https://github.com/webpack/webpack-cli/pull/197)) +- Using Yarn ([#203](https://github.com/webpack/webpack-cli/pull/203)) +- Using peer dep of webpack +- Transformations is now migrate +- Init has its own generator +- Commands are refactored into a HOC and sent to a folder for each command with an helper for scaffolding aliases +- Using RawList instead of List for better usability ([82c64db](https://github.com/webpack/webpack-cli/commit/541ba62f02c4a1fcc807eac62a551fcae3f2d2c3)) +- lib/transformations/util is now in lib/utils/ast-utils +- Each AST module now has an extra argument that specifies action to be done +- FindPluginsByRoot is now FindRootByName and more generalistic +- Added ast util function createEmptyCallableFunctionWithArguments +- Refactor for readability ([#214](https://github.com/webpack/webpack-cli/pull/214)) +- Remove dist from repo ([#215](https://github.com/webpack/webpack-cli/pull/215)) +- Remove entry and output validation ([#217](https://github.com/webpack/webpack-cli/pull/217)) +- topScope now checks if the import already is present +- Updated test errors/issue-5576, remember to sync with webpack/next +- User friendly startup message ([#218](https://github.com/webpack/webpack-cli/pull/218)) +- Migrate now uses prettier ([88aaaa2](https://github.com/webpack/webpack-cli/commit/972d4cd90061644aa2f4aaac33d2d80cb4a56d57) +- Added transform for mode ([972d4cd](https://github.com/webpack/webpack-cli/commit/e1f512c9bb96694dd623562dc4cef411ed004c2c) +- Remove recast fork ([fba04da](https://github.com/webpack/webpack-cli/commit/b416d9c50138ef343b8bac6e3f66fdd5b917857d)) +- New transforms ([b416d9c](https://github.com/webpack/webpack-cli/commit/28680c944dca0860ca59a38910840a641b418d18)) +- JSdocs are added ([47de46a](https://github.com/webpack/webpack-cli/commit/285846a4cb1f976edcdb36629cf247d8017ff956)) +- Added serve alias ([#204](https://github.com/webpack/webpack-cli/pull/204)) +- Migrate has new validate logic ([c4c68e8](https://github.com/webpack/webpack-cli/commit/5d4430a6a5531cd8084e5a591f7884e746e21b2f)) +- webpack serve logic ([5d4430a](https://github.com/webpack/webpack-cli/commit/992bfe2b08b98aebb43c68d5e5a92320ba3e32a8)) +- webpack --config-register and webpack -r is added ([1f24d19](https://github.com/webpack/webpack-cli/commit/ab9421136887b7e9e10f25a39b59fb32f07b5037)) +- work on makefile generation ([d86e1ce](https://github.com/webpack/webpack-cli/commit/4f9a4f88a8bd113762a54c05b3b9fe6f459855db)) +- Appveyor is added ([9b2f6f5](https://github.com/webpack/webpack-cli/commit/c5c97462d6ccfa4c02fd79206fa075815520cd88)) +- Remove commit-validate from docs ([#222](https://github.com/webpack/webpack-cli/pull/222)) +- Added transform ResolveLoader ([7c713ce](https://github.com/webpack/webpack-cli/commit/3c90e83fa7b8dd5fbecaee5d1b9d8f0279600096)) +- Using v8-compile-cache ([7e57314](https://github.com/webpack/webpack-cli/commit/0564ceb77a995239d0be7a022b948cbd727773a4)) +- Adds webpack-cli bot ([#224](https://github.com/webpack/webpack-cli/pull/224)) -## 1.3.2 (2017-05-15) +## 1.3.2 (2017-05-15) ### Bug Fixes -* add css-loader appropriately ([#141](https://github.com/webpack/webpack-cli/issues/141)) ([a71600e](https://github.com/webpack/webpack-cli/commit/a71600e)) -* Deps 'webpack' and 'uglifyjs-webpack-plugin' not installed when user answers yes to 'using ES2015' ([#135](https://github.com/webpack/webpack-cli/issues/135)). ([#136](https://github.com/webpack/webpack-cli/issues/136)) ([524f035](https://github.com/webpack/webpack-cli/commit/524f035)) -* Install correct (`es2015`) babel preset to match generated config ([#138](https://github.com/webpack/webpack-cli/issues/138)) ([b0af53f](https://github.com/webpack/webpack-cli/commit/b0af53f)) -* use correct test function ([#129](https://github.com/webpack/webpack-cli/issues/129)) ([3464d9e](https://github.com/webpack/webpack-cli/commit/3464d9e)) - +- add css-loader appropriately ([#141](https://github.com/webpack/webpack-cli/issues/141)) ([a71600e](https://github.com/webpack/webpack-cli/commit/a71600e)) +- Deps 'webpack' and 'uglifyjs-webpack-plugin' not installed when user answers yes to 'using ES2015' ([#135](https://github.com/webpack/webpack-cli/issues/135)). ([#136](https://github.com/webpack/webpack-cli/issues/136)) ([524f035](https://github.com/webpack/webpack-cli/commit/524f035)) +- Install correct (`es2015`) babel preset to match generated config ([#138](https://github.com/webpack/webpack-cli/issues/138)) ([b0af53f](https://github.com/webpack/webpack-cli/commit/b0af53f)) +- use correct test function ([#129](https://github.com/webpack/webpack-cli/issues/129)) ([3464d9e](https://github.com/webpack/webpack-cli/commit/3464d9e)) @@ -1136,23 +1182,22 @@ ### Bug Fixes -* add safe traverse to loaderoptionsplugin ([#77](https://github.com/webpack/webpack-cli/issues/77)) ([4020043](https://github.com/webpack/webpack-cli/commit/4020043)) -* Do not create LoaderOptionsPlugin if loaderOptions is empty ([#72](https://github.com/webpack/webpack-cli/issues/72)) ([b9d22c9](https://github.com/webpack/webpack-cli/commit/b9d22c9)) -([68a2dfd](https://github.com/webpack/webpack-cli/commit/68a2dfd)) -* Upgrade to Jest 19 ([#71](https://github.com/webpack/webpack-cli/issues/71)) ([fe62523](https://github.com/webpack/webpack-cli/commit/fe62523)) -* Use `safeTraverse` where appropriate ([#94](https://github.com/webpack/webpack-cli/issues/94)) ([dcde2b6](https://github.com/webpack/webpack-cli/commit/dcde2b6)) -([3464d9e](https://github.com/webpack/webpack-cli/commit/3464d9e)) -* Use real paths from argvs instead of dummy hard-coded file ([#65](https://github.com/webpack/webpack-cli/issues/65)) ([a46edbb](https://github.com/webpack/webpack-cli/commit/a46edbb)) - +- add safe traverse to loaderoptionsplugin ([#77](https://github.com/webpack/webpack-cli/issues/77)) ([4020043](https://github.com/webpack/webpack-cli/commit/4020043)) +- Do not create LoaderOptionsPlugin if loaderOptions is empty ([#72](https://github.com/webpack/webpack-cli/issues/72)) ([b9d22c9](https://github.com/webpack/webpack-cli/commit/b9d22c9)) + ([68a2dfd](https://github.com/webpack/webpack-cli/commit/68a2dfd)) +- Upgrade to Jest 19 ([#71](https://github.com/webpack/webpack-cli/issues/71)) ([fe62523](https://github.com/webpack/webpack-cli/commit/fe62523)) +- Use `safeTraverse` where appropriate ([#94](https://github.com/webpack/webpack-cli/issues/94)) ([dcde2b6](https://github.com/webpack/webpack-cli/commit/dcde2b6)) + ([3464d9e](https://github.com/webpack/webpack-cli/commit/3464d9e)) +- Use real paths from argvs instead of dummy hard-coded file ([#65](https://github.com/webpack/webpack-cli/issues/65)) ([a46edbb](https://github.com/webpack/webpack-cli/commit/a46edbb)) ### Features -* Add beautifier config for JS code ([64c88ea](https://github.com/webpack/webpack-cli/commit/64c88ea)) -* Add commit validation and commits template ([d0cbfc0](https://github.com/webpack/webpack-cli/commit/d0cbfc0)) -* Add editorconfig settings from core webpack ([89809de](https://github.com/webpack/webpack-cli/commit/89809de)) -* Add yarn settings to handle dependencies ([34579c7](https://github.com/webpack/webpack-cli/commit/34579c7)) -* Adds a resolved path for output ([#80](https://github.com/webpack/webpack-cli/issues/80)) ([37a594d](https://github.com/webpack/webpack-cli/commit/37a594d)) -* Introduce reserve and timestamps ([#24](https://github.com/webpack/webpack-cli/issues/24)) ([ed267b4](https://github.com/webpack/webpack-cli/commit/ed267b4)) -* Webpack-CLI version 1([#105](https://github.com/webpack/webpack-cli/pull/105)) -* Feature: Use listr to display progress and errors for transformations([#92](https://github.com/webpack/webpack-cli/pull/92)) -* Feature: Jscodeshift Transformations for --migrate ([#40](https://github.com/webpack/webpack-cli/pull/40)) +- Add beautifier config for JS code ([64c88ea](https://github.com/webpack/webpack-cli/commit/64c88ea)) +- Add commit validation and commits template ([d0cbfc0](https://github.com/webpack/webpack-cli/commit/d0cbfc0)) +- Add editorconfig settings from core webpack ([89809de](https://github.com/webpack/webpack-cli/commit/89809de)) +- Add yarn settings to handle dependencies ([34579c7](https://github.com/webpack/webpack-cli/commit/34579c7)) +- Adds a resolved path for output ([#80](https://github.com/webpack/webpack-cli/issues/80)) ([37a594d](https://github.com/webpack/webpack-cli/commit/37a594d)) +- Introduce reserve and timestamps ([#24](https://github.com/webpack/webpack-cli/issues/24)) ([ed267b4](https://github.com/webpack/webpack-cli/commit/ed267b4)) +- Webpack-CLI version 1([#105](https://github.com/webpack/webpack-cli/pull/105)) +- Feature: Use listr to display progress and errors for transformations([#92](https://github.com/webpack/webpack-cli/pull/92)) +- Feature: Jscodeshift Transformations for --migrate ([#40](https://github.com/webpack/webpack-cli/pull/40)) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 09c17dc8888..9a75816a574 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,9 +1,7 @@ -Code of Conduct ---------------- +## Code of Conduct -At webpack and webpack/webpack-cli repository we follow the [JSFoundation Code of Conduct][1]. +At webpack and webpack/webpack-cli repository we follow the [JSFoundation Code of Conduct][1]. Please adhere to the guidelines there and feel free to report any violation of them to the @webpack/core-team, [**@webpack/cli-team**](https://github.com/orgs/webpack/teams/cli-team), or . - [1]: https://js.foundation/community/code-of-conduct diff --git a/README.md b/README.md index 3ca43eed187..810a61d0ce8 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,12 @@ [![lerna][lerna]][lerna-url] [![GitHub contributors][contributors]][contributors-url] -- [About](#about) - - [How to install](#how-to-install) -- [Packages](#packages) - - [Commands](#commands) - - [Utilities](#utilities) -- [Getting started](#getting-started) -- [webpack CLI Scaffolds](#webpack-cli-scaffolds) -- [Contributing and Internal Documentation](#contributing-and-internal-documentation) -- [Open Collective](#open-collective) +- [About](#about) - [How to install](#how-to-install) +- [Packages](#packages) - [Commands](#commands) - [Utilities](#utilities) +- [Getting started](#getting-started) +- [webpack CLI Scaffolds](#webpack-cli-scaffolds) +- [Contributing and Internal Documentation](#contributing-and-internal-documentation) +- [Open Collective](#open-collective) ## About @@ -50,23 +47,23 @@ We organize webpack CLI as a multi-package repository using [lerna](https://gith Supporting developers is an important task for webpack CLI. Thus, webpack CLI provides different commands for many common tasks. -- [`webpack-cli init`](./packages/init/README.md#webpack-cli-init) - Create a new webpack configuration. -- [`webpack-cli add`](./packages/add/README.md#webpack-cli-add) - Add new properties to a webpack configuration file. -- [`webpack-cli info`](./packages/info/README.md#webpack-cli-info) - Returns information related to the local environment. -- [`webpack-cli migrate`](./packages/migrate/README.md#webpack-cli-migrate) - Migrate project from one version to another. -- [`webpack-cli remove`](./packages/remove/README.md#webpack-cli-remove) - Remove properties from a webpack configuration file. -- [`webpack-cli generate-plugin`](./packages/generate-plugin/README.md#webpack-cli-generate-plugin) - Initiate new plugin project. -- [`webpack-cli generate-loader`](./packages/generate-loader/README.md#webpack-cli-generate-loader) - Initiate new loader project. -- [`webpack-cli serve`](./packages/serve/README.md#webpack-cli-serve) - Use webpack with a development server that provides live reloading. -- [`webpack-cli update`](./packages/update/README.md#webpack-cli-update) - Update properties in a webpack configuration file. +- [`webpack-cli init`](./packages/init/README.md#webpack-cli-init) - Create a new webpack configuration. +- [`webpack-cli add`](./packages/add/README.md#webpack-cli-add) - Add new properties to a webpack configuration file. +- [`webpack-cli info`](./packages/info/README.md#webpack-cli-info) - Returns information related to the local environment. +- [`webpack-cli migrate`](./packages/migrate/README.md#webpack-cli-migrate) - Migrate project from one version to another. +- [`webpack-cli remove`](./packages/remove/README.md#webpack-cli-remove) - Remove properties from a webpack configuration file. +- [`webpack-cli generate-plugin`](./packages/generate-plugin/README.md#webpack-cli-generate-plugin) - Initiate new plugin project. +- [`webpack-cli generate-loader`](./packages/generate-loader/README.md#webpack-cli-generate-loader) - Initiate new loader project. +- [`webpack-cli serve`](./packages/serve/README.md#webpack-cli-serve) - Use webpack with a development server that provides live reloading. +- [`webpack-cli update`](./packages/update/README.md#webpack-cli-update) - Update properties in a webpack configuration file. ### Utilities The project also has several utility packages which are used by other commands -- [`utils`](./packages/utils/README.md) - Several utilities used across webpack-cli. -- [`generators`](./packages/generators/README.md) - Contains all webpack-cli related yeoman generators. -- [`webpack-scaffold`](./packages/info/README.md#webpack-cli-info) - Utilities to create a webpack scaffold. +- [`utils`](./packages/utils/README.md) - Several utilities used across webpack-cli. +- [`generators`](./packages/generators/README.md) - Contains all webpack-cli related yeoman generators. +- [`webpack-scaffold`](./packages/info/README.md#webpack-cli-info) - Utilities to create a webpack scaffold. ## Getting started diff --git a/bin/cli.js b/bin/cli.js index 3819cda71a0..aea8f6fd3e4 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -349,7 +349,8 @@ For more information, see https://webpack.js.org/api/cli/.`); } } if (firstOptions.watch || options.watch) { - const watchOptions = firstOptions.watchOptions || firstOptions.watch || options.watch || {}; + const watchOptions = + firstOptions.watchOptions || options.watchOptions || firstOptions.watch || options.watch || {}; if (watchOptions.stdin) { process.stdin.on("end", function(_) { process.exit(); // eslint-disable-line diff --git a/package.json b/package.json index ebe8695759b..5135a191ba4 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,10 @@ } }, "lint-staged": { + "*.md": [ + "prettier --parser markdown --write", + "git add" + ], "{packages,bin}/**/!(__testfixtures__)/**.js": [ "eslint --fix", "git add" @@ -124,6 +128,7 @@ "import-local": "^2.0.0", "interpret": "^1.1.0", "loader-utils": "^1.1.0", + "prettier": "^1.17.0", "supports-color": "^5.5.0", "v8-compile-cache": "^2.0.2", "yargs": "^12.0.5" diff --git a/packages/generators/README.md b/packages/generators/README.md index d35dd5eb2a7..6fcb5621dec 100644 --- a/packages/generators/README.md +++ b/packages/generators/README.md @@ -33,13 +33,13 @@ const { ## Generators -- [**Plugin Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/plugin-generator.ts) : Creates a webpack plugin project, add starter plugin code and runs `webpack-defaults` -- [**Remove Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/remove-generator.ts) : Removes properties from webpack configurations -- [**Update Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/update-generator.ts) : [WIP] Updates properties of webpack configurations -- [**Loader Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/loader-generator.ts) : Creates a webpack loader project, add starter loader code and runs `webpack-defaults` -- [**Init Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/init-generator.ts) : Generates new webapck configuration as per user requirements -- [**Add Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/add-generator.ts) : Add properties to webpack configurations -- [**Addon Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/addon-generator.ts) : Generates a webpack project conforming to `webpack-defaults` +- [**Plugin Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/plugin-generator.ts) : Creates a webpack plugin project, add starter plugin code and runs `webpack-defaults` +- [**Remove Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/remove-generator.ts) : Removes properties from webpack configurations +- [**Update Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/update-generator.ts) : [WIP] Updates properties of webpack configurations +- [**Loader Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/loader-generator.ts) : Creates a webpack loader project, add starter loader code and runs `webpack-defaults` +- [**Init Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/init-generator.ts) : Generates new webapck configuration as per user requirements +- [**Add Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/add-generator.ts) : Add properties to webpack configurations +- [**Addon Generator**](https://github.com/webpack/webpack-cli/blob/master/packages/generators/addon-generator.ts) : Generates a webpack project conforming to `webpack-defaults` --- diff --git a/packages/generators/init-generator.ts b/packages/generators/init-generator.ts index a50f04813d3..715b44e8797 100644 --- a/packages/generators/init-generator.ts +++ b/packages/generators/init-generator.ts @@ -92,13 +92,11 @@ export default class InitGenerator extends Generator { .then( (entryOptions: object | string): Promise<{}> => { if (typeof entryOptions === "string" && entryOptions.length > 0) { - return this.prompt([ - Input("outputType", "In which folder do you want to store your generated bundles? (dist):") - ]); - } - if (entryOptions !== '""') { - this.configuration.config.webpackOptions.entry = entryOptions; + if (entryOptions !== "\"\"" && entryOptions !== "\'\'") { + this.configuration.config.webpackOptions.entry = entryOptions; + } } + return this.prompt([ Input("outputType", "In which folder do you want to store your generated bundles? (dist):") ]); diff --git a/packages/generators/remove-generator.ts b/packages/generators/remove-generator.ts index 9169a42ffad..9af3b862592 100644 --- a/packages/generators/remove-generator.ts +++ b/packages/generators/remove-generator.ts @@ -32,13 +32,9 @@ export default class RemoveGenerator extends Generator { webpackOptions: {} } }; - - let configPath = path.resolve(process.cwd(), "webpack.config.js"); + const { configFile } = opts; + let configPath = path.resolve(process.cwd(), configFile); const webpackConfigExists = fs.existsSync(configPath); - if (!webpackConfigExists) { - configPath = null; - // end the generator stating webpack config not found or to specify the config - } this.webpackOptions = require(configPath); } diff --git a/packages/utils/README.md b/packages/utils/README.md index 4686cdb4238..ec10524f063 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -14,13 +14,13 @@ npm i -D webpack-cli @webpack-cli/utils ## Contents -- AST transformations -- Checking NPM registry -- A Recursive AST parser -- Checking Local Configurations -- Yeoman Generator Adapter -- Package Resolver -- Test Utilities for Jest +- AST transformations +- Checking NPM registry +- A Recursive AST parser +- Checking Local Configurations +- Yeoman Generator Adapter +- Package Resolver +- Test Utilities for Jest ## Usage diff --git a/packages/utils/modify-config-helper.ts b/packages/utils/modify-config-helper.ts index e836f283991..5d25385c8c0 100644 --- a/packages/utils/modify-config-helper.ts +++ b/packages/utils/modify-config-helper.ts @@ -64,7 +64,7 @@ export default function modifyHelperUtil( logSymbols.error + chalk.red(" ERROR ") + chalk.cyan(configFile) + - " not found. Please specify a valid path to your webpack config like " + + " not found. Please specify a valid path to your webpack config like \n " + chalk.white("$ ") + chalk.cyan(`webpack-cli ${action} webpack.dev.js`) + "\n" @@ -87,10 +87,11 @@ export default function modifyHelperUtil( } }; } + env.registerStub(generator, generatorName); - - env.run(generatorName) - .then( + env.run(generatorName, { + configFile + }).then( (): void => { let configModule: object; try {