Skip to content

Commit

Permalink
chore(release): v.2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed May 6, 2018
1 parent 4149c53 commit d060239
Show file tree
Hide file tree
Showing 54 changed files with 157 additions and 109 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<a name="2.1.3"></a>
# 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))

## CLI

* cmds: revise yargs command ([#422](https://github.com/webpack/webpack-cli/pull/422))

<a name="2.0.14"></a>
# 2.0.14 (2018-04-05)
[Full Changelog](https://github.com/webpack/webpack-cli/compare/2.0.13...2.0.14)
Expand Down
2 changes: 1 addition & 1 deletion docs/AddGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/InitGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/LoaderGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/PluginGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_add.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_generate-loader.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_generate-plugin.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_info.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_init.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_make.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
8 changes: 6 additions & 2 deletions docs/commands_migrate.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ <h1 class="page-title">Source: commands/migrate.js</h1>
);
}
}
console.log(chalk.green(`\n✔︎ New webpack config file is at ${outputConfigPath}.`));
console.log(
chalk.green(
`\n✔︎ New webpack config file is at ${outputConfigPath}.`
)
);
console.log(
chalk.green(
"✔︎ Heads up! Updating to the latest version could contain breaking changes."
Expand Down Expand Up @@ -242,7 +246,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_remove.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_serve.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/commands_update.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
6 changes: 2 additions & 4 deletions docs/generators_add-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ <h1 class="page-title">Source: generators/add-generator.js</h1>
this.configuration = {
config: {
webpackOptions: {},
topScope: [
"const webpack = require('webpack')"
]
topScope: ["const webpack = require('webpack')"]
}
};
}
Expand Down Expand Up @@ -499,7 +497,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
28 changes: 13 additions & 15 deletions docs/generators_init-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
})
.then(prodConfirmAnswer => {
this.isProd = prodConfirmAnswer["prodConfirm"];
this.configuration.config.webpackOptions.mode = this.isProd ? "'production'" : "'development'";
this.configuration.config.webpackOptions.mode = this.isProd
? "'production'"
: "'development'";
})
.then(() => {
return this.prompt([
Expand Down Expand Up @@ -318,14 +320,12 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
this.dependencies.push("style-loader", "css-loader");
regExpForStyles = `${new RegExp(/\.css$/)}`;
if (this.isProd) {
ExtractUseProps.push(
{
loader: "'css-loader'",
options: {
sourceMap: true
}
ExtractUseProps.push({
loader: "'css-loader'",
options: {
sourceMap: true
}
);
});
} else {
ExtractUseProps.push(
{
Expand Down Expand Up @@ -373,11 +373,9 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
);
}

ExtractUseProps.unshift(
{
loader: "MiniCssExtractPlugin.loader"
}
);
ExtractUseProps.unshift({
loader: "MiniCssExtractPlugin.loader"
});

const moduleRulesObj = {
test: regExpForStyles,
Expand Down Expand Up @@ -416,7 +414,7 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
vendors: {
test: "/[\\\\/]node_modules[\\\\/]/",
priority: -10
},
}
}
}
};
Expand Down Expand Up @@ -465,7 +463,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
6 changes: 2 additions & 4 deletions docs/generators_loader-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ <h1 class="page-title">Source: generators/loader-generator.js</h1>
"examples/simple/src/lazy-module.js.tpl",
"examples/simple/src/static-esm-module.js.tpl"
],
[
"src/_index.js.tpl"
],
["src/_index.js.tpl"],
gen => ({ name: gen.props.name })
);

Expand All @@ -103,7 +101,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
7 changes: 2 additions & 5 deletions docs/generators_plugin-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ <h1 class="page-title">Source: generators/plugin-generator.js</h1>
"examples/simple/src/lazy-module.js.tpl",
"examples/simple/src/static-esm-module.js.tpl"
],
[
"src/_index.js.tpl",
"examples/simple/_webpack.config.js.tpl"
],
["src/_index.js.tpl", "examples/simple/_webpack.config.js.tpl"],
gen => ({ name: _.upperFirst(_.camelCase(gen.props.name)) })
);

Expand All @@ -84,7 +81,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
11 changes: 7 additions & 4 deletions docs/generators_utils_entry.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h1 class="page-title">Source: generators/utils/entry.js</h1>
!n[val].includes("path") &amp;&amp;
!n[val].includes("process")
) {
n[val] = `\'${n[val].replace(/"|'/g,"").concat(".js")}\'`;
n[val] = `\'${n[val].replace(/"|'/g, "").concat(".js")}\'`;
}
webpackEntryPoint[val] = n[val];
});
Expand Down Expand Up @@ -96,7 +96,9 @@ <h1 class="page-title">Source: generators/utils/entry.js</h1>
!entryPropAnswer[val].includes("path") &amp;&amp;
!entryPropAnswer[val].includes("process")
) {
entryPropAnswer[val] = `\'${entryPropAnswer[val].replace(/"|'/g,"").concat(".js")}\'`;
entryPropAnswer[val] = `\'${entryPropAnswer[val]
.replace(/"|'/g, "")
.concat(".js")}\'`;
}
webpackEntryPoint[val] = entryPropAnswer[val];
});
Expand All @@ -113,7 +115,8 @@ <h1 class="page-title">Source: generators/utils/entry.js</h1>
])
.then(singularEntryAnswer => {
let { singularEntry } = singularEntryAnswer;
if (singularEntry.indexOf("\"") >= 0) singularEntry = singularEntry.replace(/"/g, "'");
if (singularEntry.indexOf("\"") >= 0)
singularEntry = singularEntry.replace(/"/g, "'");
return singularEntry;
});
}
Expand All @@ -135,7 +138,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/generators_utils_module.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/generators_utils_plugins.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/generators_utils_tooltip.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/generators_utils_validate.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/generators_webpack-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenera
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Apr 27 2018 20:28:13 GMT+0200 (CEST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun May 06 2018 17:19:19 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
Expand Down
Loading

0 comments on commit d060239

Please sign in to comment.