Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Swap chalk for turbocolor. #544

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
209 changes: 179 additions & 30 deletions docs/generators_init-generator.js.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>JSDoc: Source: generators/init-generator.js</title>
<meta charset="utf-8">
<title>JSDoc: Source: generators/init-generator.js</title>

<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">
<div id="main">

<h1 class="page-title">Source: generators/init-generator.js</h1>

<h1 class="page-title">Source: generators/init-generator.js</h1>





<section>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

<section>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const Generator = require("yeoman-generator");
const chalk = require("chalk");
const color = require("turbocolor");
const logSymbols = require("log-symbols");

const Input = require("@webpack-cli/webpack-scaffold").Input;
Expand Down Expand Up @@ -81,16 +82,16 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
process.stdout.write(
"\n" +
logSymbols.info +
chalk.blue(" INFO ") +
color.blue(" INFO ") +
"For more information and a detailed description of each question, have a look at " +
chalk.bold.green(
color.bold.green(
"https://github.com/webpack/webpack-cli/blob/master/INIT.md"
) +
"\n"
);
process.stdout.write(
logSymbols.info +
chalk.blue(" INFO ") +
color.blue(" INFO ") +
"Alternatively, run `webpack(-cli) --help` for usage info." +
"\n\n"
);
Expand Down Expand Up @@ -447,25 +448,173 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
}
};
</code></pre>
</article>
</section>
</article>
</section>




</div>
</div>

<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AddGenerator.html">AddGenerator</a></li><li><a href="InitGenerator.html">InitGenerator</a></li><li><a href="LoaderGenerator.html">LoaderGenerator</a></li><li><a href="PluginGenerator.html">PluginGenerator</a></li></ul><h3>Global</h3><ul><li><a href="global.html#addonGenerator">addonGenerator</a></li><li><a href="global.html#addOrUpdateConfigObject">addOrUpdateConfigObject</a></li><li><a href="global.html#addProperty">addProperty</a></li><li><a href="global.html#createIdentifierOrLiteral">createIdentifierOrLiteral</a></li><li><a href="global.html#createLiteral">createLiteral</a></li><li><a href="global.html#createOrUpdatePluginByName">createOrUpdatePluginByName</a></li><li><a href="global.html#createProperty">createProperty</a></li><li><a href="global.html#defineTest">defineTest</a></li><li><a href="global.html#findAndRemovePluginByName">findAndRemovePluginByName</a></li><li><a href="global.html#findInvocation">findInvocation</a></li><li><a href="global.html#findPluginsArrayAndRemoveIfEmpty">findPluginsArrayAndRemoveIfEmpty</a></li><li><a href="global.html#findPluginsByName">findPluginsByName</a></li><li><a href="global.html#findRootNodesByName">findRootNodesByName</a></li><li><a href="global.html#findVariableToPlugin">findVariableToPlugin</a></li><li><a href="global.html#generatorCopy">generatorCopy</a></li><li><a href="global.html#generatorCopyTpl">generatorCopyTpl</a></li><li><a href="global.html#getPackageManager">getPackageManager</a></li><li><a href="global.html#getPathToGlobalPackages">getPathToGlobalPackages</a></li><li><a href="global.html#getRequire">getRequire</a></li><li><a href="global.html#getRootPathModule">getRootPathModule</a></li><li><a href="global.html#isType">isType</a></li><li><a href="global.html#loaderCreator">loaderCreator</a></li><li><a href="global.html#makeLoaderName">makeLoaderName</a></li><li><a href="global.html#mapOptionsToTransform">mapOptionsToTransform</a></li><li><a href="global.html#parseMerge">parseMerge</a></li><li><a href="global.html#parseTopScope">parseTopScope</a></li><li><a href="global.html#pluginCreator">pluginCreator</a></li><li><a href="global.html#processPromise">processPromise</a></li><li><a href="global.html#replaceAt">replaceAt</a></li><li><a href="global.html#resolvePackages">resolvePackages</a></li><li><a href="global.html#runMigration">runMigration</a></li><li><a href="global.html#runSingleTransform">runSingleTransform</a></li><li><a href="global.html#safeTraverse">safeTraverse</a></li><li><a href="global.html#safeTraverseAndGetType">safeTraverseAndGetType</a></li><li><a href="global.html#serve">serve</a></li><li><a href="global.html#spawnChild">spawnChild</a></li><li><a href="global.html#spawnNPM">spawnNPM</a></li><li><a href="global.html#spawnNPMWithArg">spawnNPMWithArg</a></li><li><a href="global.html#spawnYarn">spawnYarn</a></li><li><a href="global.html#spawnYarnWithArg">spawnYarnWithArg</a></li><li><a href="global.html#transform">transform</a></li><li><a href="global.html#traverseAndGetProperties">traverseAndGetProperties</a></li></ul>
</nav>
<nav>
<h2>
<a href="index.html">Home</a>
</h2>
<h3>Classes</h3>
<ul>
<li>
<a href="AddGenerator.html">AddGenerator</a>
</li>
<li>
<a href="InitGenerator.html">InitGenerator</a>
</li>
<li>
<a href="LoaderGenerator.html">LoaderGenerator</a>
</li>
<li>
<a href="PluginGenerator.html">PluginGenerator</a>
</li>
</ul>
<h3>Global</h3>
<ul>
<li>
<a href="global.html#addonGenerator">addonGenerator</a>
</li>
<li>
<a href="global.html#addOrUpdateConfigObject">addOrUpdateConfigObject</a>
</li>
<li>
<a href="global.html#addProperty">addProperty</a>
</li>
<li>
<a href="global.html#createIdentifierOrLiteral">createIdentifierOrLiteral</a>
</li>
<li>
<a href="global.html#createLiteral">createLiteral</a>
</li>
<li>
<a href="global.html#createOrUpdatePluginByName">createOrUpdatePluginByName</a>
</li>
<li>
<a href="global.html#createProperty">createProperty</a>
</li>
<li>
<a href="global.html#defineTest">defineTest</a>
</li>
<li>
<a href="global.html#findAndRemovePluginByName">findAndRemovePluginByName</a>
</li>
<li>
<a href="global.html#findInvocation">findInvocation</a>
</li>
<li>
<a href="global.html#findPluginsArrayAndRemoveIfEmpty">findPluginsArrayAndRemoveIfEmpty</a>
</li>
<li>
<a href="global.html#findPluginsByName">findPluginsByName</a>
</li>
<li>
<a href="global.html#findRootNodesByName">findRootNodesByName</a>
</li>
<li>
<a href="global.html#findVariableToPlugin">findVariableToPlugin</a>
</li>
<li>
<a href="global.html#generatorCopy">generatorCopy</a>
</li>
<li>
<a href="global.html#generatorCopyTpl">generatorCopyTpl</a>
</li>
<li>
<a href="global.html#getPackageManager">getPackageManager</a>
</li>
<li>
<a href="global.html#getPathToGlobalPackages">getPathToGlobalPackages</a>
</li>
<li>
<a href="global.html#getRequire">getRequire</a>
</li>
<li>
<a href="global.html#getRootPathModule">getRootPathModule</a>
</li>
<li>
<a href="global.html#isType">isType</a>
</li>
<li>
<a href="global.html#loaderCreator">loaderCreator</a>
</li>
<li>
<a href="global.html#makeLoaderName">makeLoaderName</a>
</li>
<li>
<a href="global.html#mapOptionsToTransform">mapOptionsToTransform</a>
</li>
<li>
<a href="global.html#parseMerge">parseMerge</a>
</li>
<li>
<a href="global.html#parseTopScope">parseTopScope</a>
</li>
<li>
<a href="global.html#pluginCreator">pluginCreator</a>
</li>
<li>
<a href="global.html#processPromise">processPromise</a>
</li>
<li>
<a href="global.html#replaceAt">replaceAt</a>
</li>
<li>
<a href="global.html#resolvePackages">resolvePackages</a>
</li>
<li>
<a href="global.html#runMigration">runMigration</a>
</li>
<li>
<a href="global.html#runSingleTransform">runSingleTransform</a>
</li>
<li>
<a href="global.html#safeTraverse">safeTraverse</a>
</li>
<li>
<a href="global.html#safeTraverseAndGetType">safeTraverseAndGetType</a>
</li>
<li>
<a href="global.html#serve">serve</a>
</li>
<li>
<a href="global.html#spawnChild">spawnChild</a>
</li>
<li>
<a href="global.html#spawnNPM">spawnNPM</a>
</li>
<li>
<a href="global.html#spawnNPMWithArg">spawnNPMWithArg</a>
</li>
<li>
<a href="global.html#spawnYarn">spawnYarn</a>
</li>
<li>
<a href="global.html#spawnYarnWithArg">spawnYarnWithArg</a>
</li>
<li>
<a href="global.html#transform">transform</a>
</li>
<li>
<a href="global.html#traverseAndGetProperties">traverseAndGetProperties</a>
</li>
</ul>
</nav>

<br class="clear">
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 02 2018 17:44:07 GMT+0200 (CEST)
</footer>
<footer>
Documentation generated by
<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 02 2018 17:44:07 GMT+0200 (CEST)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>

</html>
Loading