Skip to content

Commit

Permalink
chore(monorepo): move to lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
sendilkumarn committed Mar 18, 2018
1 parent 8787043 commit ec6cc38
Show file tree
Hide file tree
Showing 313 changed files with 9,709 additions and 363 deletions.
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"use strict";

module.exports = {
extends: ["cz"],
extends: ["cz", "@commitlint/config-lerna-scopes"],
rules: {
"body-leading-blank": [1, "always"],
"body-tense": [1, "always", ["present-imperative"]],
Expand Down
4 changes: 2 additions & 2 deletions docs/commands_add.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ <h1 class="page-title">Source: commands/add.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const defaultGenerator = require("../generators/add-generator");
const modifyHelper = require("../utils/modify-config-helper");
const defaultGenerator = require("webpack-cli-generators/add-generator");
const modifyHelper = require("webpack-cli-utils/modify-config-helper");

/**
* Is called and returns a scaffolding instance, adding properties
Expand Down
6 changes: 3 additions & 3 deletions docs/commands_init.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ <h1 class="page-title">Source: commands/init.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const npmPackagesExists = require("../utils/npm-packages-exists");
const defaultGenerator = require("../generators/init-generator");
const modifyHelper = require("../utils/modify-config-helper");
const npmPackagesExists = require("webpack-cli-utils/npm-packages-exists");
const defaultGenerator = require("webpack-cli-generators/init-generator");
const modifyHelper = require("webpack-cli-utils/modify-config-helper");

/**
*
Expand Down
4 changes: 2 additions & 2 deletions docs/commands_migrate.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1 class="page-title">Source: commands/migrate.js</h1>
const WebpackOptionsValidationError = require("webpack")
.WebpackOptionsValidationError;

const runPrettier = require("../utils/run-prettier");
const runPrettier = require("webpack-cli-utils/run-prettier");

/**
*
Expand Down Expand Up @@ -88,7 +88,7 @@ <h1 class="page-title">Source: commands/migrate.js</h1>
{
title: "Migrating config from v1 to v2",
task: ctx => {
const transformations = require("../migrate").transformations;
const transformations = require("webpack-cli-migrate").transformations;
return new Listr(
Object.keys(transformations).map(key => {
const transform = transformations[key];
Expand Down
4 changes: 2 additions & 2 deletions docs/commands_remove.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ <h1 class="page-title">Source: commands/remove.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const defaultGenerator = require("../generators/remove-generator");
const modifyHelper = require("../utils/modify-config-helper");
const defaultGenerator = require("webpack-cli-generators/remove-generator");
const modifyHelper = require("webpack-cli-utils/modify-config-helper");

/**
* Is called and returns a scaffolding instance, removing properties
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 @@ -33,7 +33,7 @@ <h1 class="page-title">Source: commands/serve.js</h1>
const chalk = require("chalk");
const spawn = require("cross-spawn");
const List = require("webpack-addons").List;
const processPromise = require("../utils/resolve-packages").processPromise;
const processPromise = require("webpack-cli-utils/resolve-packages").processPromise;

/**
*
Expand Down
4 changes: 2 additions & 2 deletions docs/commands_update.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ <h1 class="page-title">Source: commands/update.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const defaultGenerator = require("../generators/update-generator");
const modifyHelper = require("../utils/modify-config-helper");
const defaultGenerator = require("webpack-cli-generators/update-generator");
const modifyHelper = require("webpack-cli-utils/modify-config-helper");

/**
* Is called and returns a scaffolding instance, updating properties
Expand Down
2 changes: 1 addition & 1 deletion docs/generate-loader_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="page-title">Source: generate-loader/index.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>const yeoman = require("yeoman-environment");
const { LoaderGenerator } = require("../generators/loader-generator");
const { LoaderGenerator } = require("webpack-cli-generators/loader-generator");

/**
* Runs a yeoman generator to create a new webpack loader project
Expand Down
2 changes: 1 addition & 1 deletion docs/generate-plugin_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="page-title">Source: generate-plugin/index.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>const yeoman = require("yeoman-environment");
const PluginGenerator = require("../generators/plugin-generator").PluginGenerator;
const PluginGenerator = require("webpack-cli-generators/plugin-generator").PluginGenerator;

/**
* Runs a yeoman generator to create a new webpack plugin project
Expand Down
6 changes: 3 additions & 3 deletions docs/generators_add-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ <h1 class="page-title">Source: generators/add-generator.js</h1>

const webpackSchema = require("webpack/schemas/WebpackOptions");
const webpackDevServerSchema = require("webpack-dev-server/lib/optionsSchema.json");
const PROP_TYPES = require("../utils/prop-types");
const PROP_TYPES = require("webpack-cli-utils/prop-types");

const getPackageManager = require("../utils/package-manager").getPackageManager;
const npmExists = require("../utils/npm-exists");
const getPackageManager = require("webpack-cli-utils/package-manager").getPackageManager;
const npmExists = require("webpack-cli-utils/npm-exists");
const entryQuestions = require("./utils/entry");

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/generators_init-generator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1 class="page-title">Source: generators/init-generator.js</h1>
const Confirm = require("webpack-addons").Confirm;
const List = require("webpack-addons").List;

const getPackageManager = require("../utils/package-manager").getPackageManager;
const getPackageManager = require("webpack-cli-utils/package-manager").getPackageManager;

const entryQuestions = require("./utils/entry");
const getBabelPlugin = require("./utils/module");
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 @@ -29,7 +29,7 @@ <h1 class="page-title">Source: generators/webpack-generator.js</h1>
<pre class="prettyprint source linenums"><code>const path = require("path");
const mkdirp = require("mkdirp");
const Generator = require("yeoman-generator");
const copyUtils = require("../utils/copy-utils");
const copyUtils = require("webpack-cli-utils/copy-utils");

/**
* Creates a Yeoman Generator that generates a project conforming
Expand Down
2 changes: 1 addition & 1 deletion docs/init_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="page-title">Source: init/index.js</h1>
const chalk = require("chalk");
const pEachSeries = require("p-each-series");

const runPrettier = require("../utils/run-prettier");
const runPrettier = require("webpack-cli-utils/run-prettier");

const entryTransform = require("./transformations/entry/entry");
const outputTransform = require("./transformations/output/output");
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_context_context.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/context/context.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_devServer_devServer.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/devServer/devServer.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_devtool_devtool.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/devtool/devtool.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_entry_entry.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/entry/entry.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_externals_externals.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/externals/externals.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="page-title">Source: init/transformations/index.js</h1>
const chalk = require("chalk");
const pEachSeries = require("p-each-series");

const runPrettier = require("../../utils/run-prettier");
const runPrettier = require("webpack-cli-utils/run-prettier");

const entryTransform = require("./entry/entry");
const outputTransform = require("./output/output");
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_mode_mode.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/mode/mode.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_module_module.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/module/module.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_node_node.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/node/node.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_amd.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/amd.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_bail.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/bail.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_cache.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/cache.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_parallelism.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/parallelism.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_profile.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/profile.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_recordsInputPath.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/recordsInputPath.js</h
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_recordsOutputPath.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/recordsOutputPath.js</
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_other_recordsPath.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/other/recordsPath.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_output_output.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/output/output.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_performance_performance.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/performance/performance.js</
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_plugins_plugins.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/plugins/plugins.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/resolveLoader/resolveLoader.
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_resolve_resolve.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/resolve/resolve.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_stats_stats.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/stats/stats.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_target_target.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/target/target.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_watch_watch.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/watch/watch.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/init_transformations_watch_watchOptions.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="page-title">Source: init/transformations/watch/watchOptions.js</h1>
<article>
<pre class="prettyprint source linenums"><code>"use strict";

const utils = require("../../../utils/ast-utils");
const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/migrate_bannerPlugin_bannerPlugin.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="page-title">Source: migrate/bannerPlugin/bannerPlugin.js</h1>

<section>
<article>
<pre class="prettyprint source linenums"><code>const utils = require("../../utils/ast-utils");
<pre class="prettyprint source linenums"><code>const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
2 changes: 1 addition & 1 deletion docs/migrate_extractTextPlugin_extractTextPlugin.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="page-title">Source: migrate/extractTextPlugin/extractTextPlugin.js</h

<section>
<article>
<pre class="prettyprint source linenums"><code>const utils = require("../../utils/ast-utils");
<pre class="prettyprint source linenums"><code>const utils = require("webpack-cli-utils/ast-utils");

/**
*
Expand Down
Loading

0 comments on commit ec6cc38

Please sign in to comment.