diff --git a/docs/AddGenerator.html b/docs/AddGenerator.html index 77dbd7a5525..c6103a80331 100644 --- a/docs/AddGenerator.html +++ b/docs/AddGenerator.html @@ -186,7 +186,7 @@
"use strict";
/**
*
- * Tooltip object that consits of tooltips for various of
+ * Tooltip object that consists of tooltips for various of
* features
*
* @returns {Object} An Object that consists of tooltip methods to be invoked
@@ -92,7 +92,7 @@ Source: generators/utils/tooltip.js
diff --git a/docs/generators_utils_validate.js.html b/docs/generators_utils_validate.js.html
index 3765dfc9593..9b3923b9bcc 100644
--- a/docs/generators_utils_validate.js.html
+++ b/docs/generators_utils_validate.js.html
@@ -53,7 +53,7 @@ Source: generators/utils/validate.js
diff --git a/docs/generators_webpack-generator.js.html b/docs/generators_webpack-generator.js.html
index 0cee6fee6f1..9e0e08d663b 100644
--- a/docs/generators_webpack-generator.js.html
+++ b/docs/generators_webpack-generator.js.html
@@ -113,7 +113,7 @@ Source: generators/webpack-generator.js
diff --git a/docs/global.html b/docs/global.html
index 9386ddd3c8b..f7a7e8a3d8c 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -1757,8 +1757,8 @@
- Findes or creates a node for a given plugin name string with options object
-If plugin decalaration already exist, options are merged.
+ Finds or creates a node for a given plugin name string with options object
+If plugin declaration already exist, options are merged.
@@ -6284,7 +6284,7 @@ Returns:
- runSingleTansform(dirName, transformName, testFilePrefixopt, initOptions, action) → {function}
+ runSingleTransform(dirName, transformName, testFilePrefixopt, initOptions, action) → {function}
@@ -7684,7 +7684,7 @@ Parameters:
List of transformation functions, defined in the
-order to apply them in. By default, all defined transfomations.
+order to apply them in. By default, all defined transformations.
@@ -8260,7 +8260,7 @@ Returns:
diff --git a/docs/index.html b/docs/index.html
index be60350098b..64d5e2b5a26 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -50,7 +50,7 @@
diff --git a/docs/index.js.html b/docs/index.js.html
index 9ef84086172..a0556dbf5c5 100644
--- a/docs/index.js.html
+++ b/docs/index.js.html
@@ -96,7 +96,7 @@ Source: index.js
diff --git a/docs/init_index.js.html b/docs/init_index.js.html
index 242fe23d292..90111bf8301 100644
--- a/docs/init_index.js.html
+++ b/docs/init_index.js.html
@@ -101,7 +101,7 @@ Source: init/index.js
diff --git a/docs/init_transformations_context_context.js.html b/docs/init_transformations_context_context.js.html
index 9d7a15bfa48..9bd76af1df0 100644
--- a/docs/init_transformations_context_context.js.html
+++ b/docs/init_transformations_context_context.js.html
@@ -91,7 +91,7 @@ Source: init/transformations/context/context.js
diff --git a/docs/init_transformations_devServer_devServer.js.html b/docs/init_transformations_devServer_devServer.js.html
index 279c36e68f4..5db1f9cf070 100644
--- a/docs/init_transformations_devServer_devServer.js.html
+++ b/docs/init_transformations_devServer_devServer.js.html
@@ -125,7 +125,7 @@ Source: init/transformations/devServer/devServer.js
diff --git a/docs/init_transformations_devtool_devtool.js.html b/docs/init_transformations_devtool_devtool.js.html
index 626b2c27d0a..3383ac76faa 100644
--- a/docs/init_transformations_devtool_devtool.js.html
+++ b/docs/init_transformations_devtool_devtool.js.html
@@ -90,7 +90,7 @@ Source: init/transformations/devtool/devtool.js
diff --git a/docs/init_transformations_entry_entry.js.html b/docs/init_transformations_entry_entry.js.html
index 571603126bd..4065fcde5f6 100644
--- a/docs/init_transformations_entry_entry.js.html
+++ b/docs/init_transformations_entry_entry.js.html
@@ -121,7 +121,7 @@ Source: init/transformations/entry/entry.js
diff --git a/docs/init_transformations_externals_externals.js.html b/docs/init_transformations_externals_externals.js.html
index 32fb558f375..528e2d63e2c 100644
--- a/docs/init_transformations_externals_externals.js.html
+++ b/docs/init_transformations_externals_externals.js.html
@@ -145,7 +145,7 @@ Source: init/transformations/externals/externals.js
diff --git a/docs/init_transformations_index.js.html b/docs/init_transformations_index.js.html
index 89d13099a16..72a61810255 100644
--- a/docs/init_transformations_index.js.html
+++ b/docs/init_transformations_index.js.html
@@ -189,7 +189,7 @@ Source: init/transformations/index.js
diff --git a/docs/init_transformations_mode_mode.js.html b/docs/init_transformations_mode_mode.js.html
index 3e4ac7a43de..f76f27d16a1 100644
--- a/docs/init_transformations_mode_mode.js.html
+++ b/docs/init_transformations_mode_mode.js.html
@@ -91,7 +91,7 @@ Source: init/transformations/mode/mode.js
diff --git a/docs/init_transformations_module_module.js.html b/docs/init_transformations_module_module.js.html
index 164d014defc..9a21d984caa 100644
--- a/docs/init_transformations_module_module.js.html
+++ b/docs/init_transformations_module_module.js.html
@@ -109,7 +109,7 @@ Source: init/transformations/module/module.js
diff --git a/docs/init_transformations_node_node.js.html b/docs/init_transformations_node_node.js.html
index 65860428b00..038ae0734f9 100644
--- a/docs/init_transformations_node_node.js.html
+++ b/docs/init_transformations_node_node.js.html
@@ -80,7 +80,7 @@ Source: init/transformations/node/node.js
diff --git a/docs/init_transformations_other_amd.js.html b/docs/init_transformations_other_amd.js.html
index 87b1a532969..b3fe4e1b507 100644
--- a/docs/init_transformations_other_amd.js.html
+++ b/docs/init_transformations_other_amd.js.html
@@ -120,7 +120,7 @@ Source: init/transformations/other/amd.js
diff --git a/docs/init_transformations_other_bail.js.html b/docs/init_transformations_other_bail.js.html
index c212801ba9c..42d174dd28b 100644
--- a/docs/init_transformations_other_bail.js.html
+++ b/docs/init_transformations_other_bail.js.html
@@ -91,7 +91,7 @@ Source: init/transformations/other/bail.js
diff --git a/docs/init_transformations_other_cache.js.html b/docs/init_transformations_other_cache.js.html
index ca55c4b9ca7..2b04bf8605c 100644
--- a/docs/init_transformations_other_cache.js.html
+++ b/docs/init_transformations_other_cache.js.html
@@ -124,7 +124,7 @@ Source: init/transformations/other/cache.js
diff --git a/docs/init_transformations_other_merge.js.html b/docs/init_transformations_other_merge.js.html
index 865fae9190e..ef44f415e3e 100644
--- a/docs/init_transformations_other_merge.js.html
+++ b/docs/init_transformations_other_merge.js.html
@@ -83,7 +83,7 @@ Source: init/transformations/other/merge.js
diff --git a/docs/init_transformations_other_parallelism.js.html b/docs/init_transformations_other_parallelism.js.html
index e72e188e97b..f2539d5885b 100644
--- a/docs/init_transformations_other_parallelism.js.html
+++ b/docs/init_transformations_other_parallelism.js.html
@@ -96,7 +96,7 @@ Source: init/transformations/other/parallelism.js
diff --git a/docs/init_transformations_other_profile.js.html b/docs/init_transformations_other_profile.js.html
index c79e46d293a..291e9db503e 100644
--- a/docs/init_transformations_other_profile.js.html
+++ b/docs/init_transformations_other_profile.js.html
@@ -124,7 +124,7 @@ Source: init/transformations/other/profile.js
diff --git a/docs/init_transformations_other_recordsInputPath.js.html b/docs/init_transformations_other_recordsInputPath.js.html
index 6c665c9bade..ba40d06a684 100644
--- a/docs/init_transformations_other_recordsInputPath.js.html
+++ b/docs/init_transformations_other_recordsInputPath.js.html
@@ -136,7 +136,7 @@ Source: init/transformations/other/recordsInputPath.js
diff --git a/docs/init_transformations_other_recordsOutputPath.js.html b/docs/init_transformations_other_recordsOutputPath.js.html
index ee623dad603..b559c99c627 100644
--- a/docs/init_transformations_other_recordsOutputPath.js.html
+++ b/docs/init_transformations_other_recordsOutputPath.js.html
@@ -136,7 +136,7 @@ Source: init/transformations/other/recordsOutputPath.js
diff --git a/docs/init_transformations_other_recordsPath.js.html b/docs/init_transformations_other_recordsPath.js.html
index 75c9248efe4..5a03ef09f03 100644
--- a/docs/init_transformations_other_recordsPath.js.html
+++ b/docs/init_transformations_other_recordsPath.js.html
@@ -125,7 +125,7 @@ Source: init/transformations/other/recordsPath.js
diff --git a/docs/init_transformations_output_output.js.html b/docs/init_transformations_output_output.js.html
index 35238aef471..77b273c9864 100644
--- a/docs/init_transformations_output_output.js.html
+++ b/docs/init_transformations_output_output.js.html
@@ -120,7 +120,7 @@ Source: init/transformations/output/output.js
diff --git a/docs/init_transformations_performance_performance.js.html b/docs/init_transformations_performance_performance.js.html
index b9c0caa2fec..1c4be8478ae 100644
--- a/docs/init_transformations_performance_performance.js.html
+++ b/docs/init_transformations_performance_performance.js.html
@@ -128,7 +128,7 @@ Source: init/transformations/performance/performance.js
diff --git a/docs/init_transformations_plugins_plugins.js.html b/docs/init_transformations_plugins_plugins.js.html
index 3190a1bbe8a..f7e603f7359 100644
--- a/docs/init_transformations_plugins_plugins.js.html
+++ b/docs/init_transformations_plugins_plugins.js.html
@@ -92,7 +92,7 @@ Source: init/transformations/plugins/plugins.js
diff --git a/docs/init_transformations_resolveLoader_resolveLoader.js.html b/docs/init_transformations_resolveLoader_resolveLoader.js.html
index 30ebd4f51ab..ebc3a4e6973 100644
--- a/docs/init_transformations_resolveLoader_resolveLoader.js.html
+++ b/docs/init_transformations_resolveLoader_resolveLoader.js.html
@@ -121,7 +121,7 @@ Source: init/transformations/resolveLoader/resolveLoader.
diff --git a/docs/init_transformations_resolve_resolve.js.html b/docs/init_transformations_resolve_resolve.js.html
index 0b5a2a7db7f..8a23b566b4e 100644
--- a/docs/init_transformations_resolve_resolve.js.html
+++ b/docs/init_transformations_resolve_resolve.js.html
@@ -109,7 +109,7 @@ Source: init/transformations/resolve/resolve.js
diff --git a/docs/init_transformations_stats_stats.js.html b/docs/init_transformations_stats_stats.js.html
index 3b4a7f54677..f97b0f26332 100644
--- a/docs/init_transformations_stats_stats.js.html
+++ b/docs/init_transformations_stats_stats.js.html
@@ -120,7 +120,7 @@ Source: init/transformations/stats/stats.js
diff --git a/docs/init_transformations_target_target.js.html b/docs/init_transformations_target_target.js.html
index 5d1e4b5805a..c2bb0c3fc13 100644
--- a/docs/init_transformations_target_target.js.html
+++ b/docs/init_transformations_target_target.js.html
@@ -91,7 +91,7 @@ Source: init/transformations/target/target.js
diff --git a/docs/init_transformations_top-scope_top-scope.js.html b/docs/init_transformations_top-scope_top-scope.js.html
index 07214fd49a2..605cb856a26 100644
--- a/docs/init_transformations_top-scope_top-scope.js.html
+++ b/docs/init_transformations_top-scope_top-scope.js.html
@@ -65,7 +65,7 @@ Source: init/transformations/top-scope/top-scope.js
diff --git a/docs/init_transformations_watch_watch.js.html b/docs/init_transformations_watch_watch.js.html
index c59e4050906..af6a67792e5 100644
--- a/docs/init_transformations_watch_watch.js.html
+++ b/docs/init_transformations_watch_watch.js.html
@@ -121,7 +121,7 @@ Source: init/transformations/watch/watch.js
diff --git a/docs/init_transformations_watch_watchOptions.js.html b/docs/init_transformations_watch_watchOptions.js.html
index 272ea2f705d..57195403885 100644
--- a/docs/init_transformations_watch_watchOptions.js.html
+++ b/docs/init_transformations_watch_watchOptions.js.html
@@ -136,7 +136,7 @@ Source: init/transformations/watch/watchOptions.js
diff --git a/docs/migrate_bannerPlugin_bannerPlugin.js.html b/docs/migrate_bannerPlugin_bannerPlugin.js.html
index 46d19b14e4c..b4ce6f2193c 100644
--- a/docs/migrate_bannerPlugin_bannerPlugin.js.html
+++ b/docs/migrate_bannerPlugin_bannerPlugin.js.html
@@ -69,7 +69,7 @@ Source: migrate/bannerPlugin/bannerPlugin.js
diff --git a/docs/migrate_extractTextPlugin_extractTextPlugin.js.html b/docs/migrate_extractTextPlugin_extractTextPlugin.js.html
index 68963408ebc..3310f30ed26 100644
--- a/docs/migrate_extractTextPlugin_extractTextPlugin.js.html
+++ b/docs/migrate_extractTextPlugin_extractTextPlugin.js.html
@@ -94,7 +94,7 @@ Source: migrate/extractTextPlugin/extractTextPlugin.js
diff --git a/docs/migrate_index.js.html b/docs/migrate_index.js.html
index c5516d6820c..ed07cbb57a3 100644
--- a/docs/migrate_index.js.html
+++ b/docs/migrate_index.js.html
@@ -76,7 +76,7 @@ Source: migrate/index.js
*
* @param {String} source - source file contents
* @param {Function[]} [transforms] - List of transformation functions, defined in the
- * order to apply them in. By default, all defined transfomations.
+ * order to apply them in. By default, all defined transformations.
* @param {Object} [options] - recast formatting options
* @returns {String} source — transformed source code
*/
@@ -115,7 +115,7 @@ Source: migrate/index.js
diff --git a/docs/migrate_loaderOptionsPlugin_loaderOptionsPlugin.js.html b/docs/migrate_loaderOptionsPlugin_loaderOptionsPlugin.js.html
index 1a468ff247f..6368f2478b2 100644
--- a/docs/migrate_loaderOptionsPlugin_loaderOptionsPlugin.js.html
+++ b/docs/migrate_loaderOptionsPlugin_loaderOptionsPlugin.js.html
@@ -83,7 +83,7 @@ Source: migrate/loaderOptionsPlugin/loaderOptionsPlugin.j
diff --git a/docs/migrate_loaders_loaders.js.html b/docs/migrate_loaders_loaders.js.html
index 3271a43da40..4d8dbd1d04b 100644
--- a/docs/migrate_loaders_loaders.js.html
+++ b/docs/migrate_loaders_loaders.js.html
@@ -369,7 +369,7 @@ Source: migrate/loaders/loaders.js
diff --git a/docs/migrate_outputPath_outputPath.js.html b/docs/migrate_outputPath_outputPath.js.html
index 588886eabc6..b6d6f3c3565 100644
--- a/docs/migrate_outputPath_outputPath.js.html
+++ b/docs/migrate_outputPath_outputPath.js.html
@@ -55,7 +55,7 @@ Source: migrate/outputPath/outputPath.js
if (literalOutputPath) {
let pathVarName = "path";
let isPathPresent = false;
- const pathDecalaration = ast
+ const pathDeclaration = ast
.find(j.VariableDeclarator)
.filter(
p =>
@@ -70,9 +70,9 @@ Source: migrate/outputPath/outputPath.js
}, false)
);
- if (pathDecalaration) {
+ if (pathDeclaration) {
isPathPresent = true;
- pathDecalaration.forEach(p => {
+ pathDeclaration.forEach(p => {
pathVarName = utils.safeTraverse(p, ["value", "id", "name"]);
});
}
@@ -110,7 +110,7 @@ Source: migrate/outputPath/outputPath.js
diff --git a/docs/migrate_removeDeprecatedPlugins_removeDeprecatedPlugins.js.html b/docs/migrate_removeDeprecatedPlugins_removeDeprecatedPlugins.js.html
index c81ffd330b6..02d0c28c54c 100644
--- a/docs/migrate_removeDeprecatedPlugins_removeDeprecatedPlugins.js.html
+++ b/docs/migrate_removeDeprecatedPlugins_removeDeprecatedPlugins.js.html
@@ -80,7 +80,7 @@ Source: migrate/removeDeprecatedPlugins/removeDeprecatedP
diff --git a/docs/migrate_removeJsonLoader_removeJsonLoader.js.html b/docs/migrate_removeJsonLoader_removeJsonLoader.js.html
index 3a0606c9970..c5f145507f4 100644
--- a/docs/migrate_removeJsonLoader_removeJsonLoader.js.html
+++ b/docs/migrate_removeJsonLoader_removeJsonLoader.js.html
@@ -105,7 +105,7 @@ Source: migrate/removeJsonLoader/removeJsonLoader.js
diff --git a/docs/migrate_resolve_resolve.js.html b/docs/migrate_resolve_resolve.js.html
index 2881d0b5a00..fe7dc8f5da6 100644
--- a/docs/migrate_resolve_resolve.js.html
+++ b/docs/migrate_resolve_resolve.js.html
@@ -108,7 +108,7 @@ Source: migrate/resolve/resolve.js
diff --git a/docs/migrate_uglifyJsPlugin_uglifyJsPlugin.js.html b/docs/migrate_uglifyJsPlugin_uglifyJsPlugin.js.html
index 420e109cdc3..8c06b8d0f92 100644
--- a/docs/migrate_uglifyJsPlugin_uglifyJsPlugin.js.html
+++ b/docs/migrate_uglifyJsPlugin_uglifyJsPlugin.js.html
@@ -69,7 +69,7 @@ Source: migrate/uglifyJsPlugin/uglifyJsPlugin.js
diff --git a/docs/utils_ast-utils.js.html b/docs/utils_ast-utils.js.html
index 0862c8c19f0..21da0eb7e1e 100644
--- a/docs/utils_ast-utils.js.html
+++ b/docs/utils_ast-utils.js.html
@@ -186,8 +186,8 @@ Source: utils/ast-utils.js
/**
*
- * Findes or creates a node for a given plugin name string with options object
- * If plugin decalaration already exist, options are merged.
+ * Finds or creates a node for a given plugin name string with options object
+ * If plugin declaration already exist, options are merged.
*
* @param {any} j — jscodeshift API
* @param {Node} rootNodePath - `plugins: []` NodePath where plugin should be added. See https://github.com/facebook/jscodeshift/wiki/jscodeshift-Documentation#nodepaths
@@ -712,7 +712,7 @@ Source: utils/ast-utils.js
diff --git a/docs/utils_copy-utils.js.html b/docs/utils_copy-utils.js.html
index a23a7ebd3b7..1d7a9b59b19 100644
--- a/docs/utils_copy-utils.js.html
+++ b/docs/utils_copy-utils.js.html
@@ -93,7 +93,7 @@ Source: utils/copy-utils.js
diff --git a/docs/utils_defineTest.js.html b/docs/utils_defineTest.js.html
index fe6ea4cadbb..5c300175f05 100644
--- a/docs/utils_defineTest.js.html
+++ b/docs/utils_defineTest.js.html
@@ -55,7 +55,7 @@ Source: utils/defineTest.js
* @param {String} action init, update or remove, decides how to format the AST
* @return {Function} Function that fires of the transforms
*/
-function runSingleTansform(
+function runSingleTransform(
dirName,
transformName,
testFilePrefix,
@@ -119,7 +119,7 @@ Source: utils/defineTest.js
: "transforms correctly";
describe(transformName, () => {
it(testName, () => {
- const output = runSingleTansform(
+ const output = runSingleTransform(
dirName,
transformName,
testFilePrefix,
@@ -141,7 +141,7 @@ Source: utils/defineTest.js
diff --git a/docs/utils_hashtable.js.html b/docs/utils_hashtable.js.html
index d4dc88ad6e2..5ec89290485 100644
--- a/docs/utils_hashtable.js.html
+++ b/docs/utils_hashtable.js.html
@@ -56,7 +56,7 @@ Source: utils/hashtable.js
diff --git a/docs/utils_modify-config-helper.js.html b/docs/utils_modify-config-helper.js.html
index 2e8051d4928..bb10b103031 100644
--- a/docs/utils_modify-config-helper.js.html
+++ b/docs/utils_modify-config-helper.js.html
@@ -74,7 +74,7 @@ Source: utils/modify-config-helper.js
diff --git a/docs/utils_npm-exists.js.html b/docs/utils_npm-exists.js.html
index 2ced79bc25a..7d4c0a9f885 100644
--- a/docs/utils_npm-exists.js.html
+++ b/docs/utils_npm-exists.js.html
@@ -59,7 +59,7 @@ Source: utils/npm-exists.js
diff --git a/docs/utils_npm-packages-exists.js.html b/docs/utils_npm-packages-exists.js.html
index 5cb043ecf81..6db674942e0 100644
--- a/docs/utils_npm-packages-exists.js.html
+++ b/docs/utils_npm-packages-exists.js.html
@@ -82,7 +82,7 @@ Source: utils/npm-packages-exists.js
diff --git a/docs/utils_package-manager.js.html b/docs/utils_package-manager.js.html
index ed1a95f75ac..302474f6483 100644
--- a/docs/utils_package-manager.js.html
+++ b/docs/utils_package-manager.js.html
@@ -113,7 +113,7 @@ Source: utils/package-manager.js
diff --git a/docs/utils_prop-types.js.html b/docs/utils_prop-types.js.html
index 1527db9ba1a..f5ef30e6868 100644
--- a/docs/utils_prop-types.js.html
+++ b/docs/utils_prop-types.js.html
@@ -71,7 +71,7 @@ Source: utils/prop-types.js
diff --git a/docs/utils_resolve-packages.js.html b/docs/utils_resolve-packages.js.html
index d2811e47ba7..c9f3fc62705 100644
--- a/docs/utils_resolve-packages.js.html
+++ b/docs/utils_resolve-packages.js.html
@@ -83,7 +83,7 @@ Source: utils/resolve-packages.js
}
})
.catch(err => {
- console.log("Package Coudln't be installed, aborting..");
+ console.log("Package Couldn't be installed, aborting..");
console.log("\nReason: \n");
console.error(chalk.bold.red(err));
process.exitCode = 1;
@@ -109,7 +109,7 @@ Source: utils/resolve-packages.js
diff --git a/docs/utils_run-prettier.js.html b/docs/utils_run-prettier.js.html
index bb865ef72f3..f33289246dc 100644
--- a/docs/utils_run-prettier.js.html
+++ b/docs/utils_run-prettier.js.html
@@ -38,7 +38,7 @@ Source: utils/run-prettier.js
*
* @param {String} outputPath - Path to write the config to
* @param {Node} source - AST to write at the given path
- * @param {Function} cb - exectues a callback after execution if supplied
+ * @param {Function} cb - executes a callback after execution if supplied
* @returns {Function} Writes a file at given location and prints messages accordingly
*/
@@ -80,7 +80,7 @@ Source: utils/run-prettier.js
diff --git a/lib/generators/utils/tooltip.js b/lib/generators/utils/tooltip.js
index bb9cf982e39..49389a283b8 100644
--- a/lib/generators/utils/tooltip.js
+++ b/lib/generators/utils/tooltip.js
@@ -1,7 +1,7 @@
"use strict";
/**
*
- * Tooltip object that consits of tooltips for various of
+ * Tooltip object that consists of tooltips for various of
* features
*
* @returns {Object} An Object that consists of tooltip methods to be invoked
diff --git a/lib/init/transformations/other/__snapshots__/other.test.js.snap b/lib/init/transformations/other/__snapshots__/other.test.js.snap
index bc95b877294..2ebc9a1a35d 100644
--- a/lib/init/transformations/other/__snapshots__/other.test.js.snap
+++ b/lib/init/transformations/other/__snapshots__/other.test.js.snap
@@ -23,7 +23,7 @@ exports[`amd transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -54,7 +54,7 @@ exports[`bail transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -99,7 +99,7 @@ exports[`cache transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -118,7 +118,7 @@ exports[`cache transforms correctly using "other-1" data 2`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -147,7 +147,7 @@ exports[`merge transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -178,7 +178,7 @@ exports[`parallelism transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 20,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -210,7 +210,7 @@ exports[`profile transforms correctly using "other-1" data 1`] = `
profile: false,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
@@ -273,7 +273,7 @@ exports[`recordsOutputPath transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: path.join('src', theirs),
recordsPath: 'Brooklyn',
amd: {
@@ -304,7 +304,7 @@ exports[`recordsPath transforms correctly using "other-1" data 1`] = `
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: path.resolve(__dirname, 'gradle.json'),
amd: {
diff --git a/lib/init/transformations/other/__testfixtures__/other-1.input.js b/lib/init/transformations/other/__testfixtures__/other-1.input.js
index 8a7d76b779f..79a6b3eaa4b 100644
--- a/lib/init/transformations/other/__testfixtures__/other-1.input.js
+++ b/lib/init/transformations/other/__testfixtures__/other-1.input.js
@@ -4,7 +4,7 @@ module.exports = {
profile: true,
merge: 'NotMuch',
parallelism: 69,
- recordsInputPath: 'somethign',
+ recordsInputPath: 'something',
recordsOutputPath: 'else',
recordsPath: 'Brooklyn',
amd: {
diff --git a/lib/init/transformations/stats/__testfixtures__/stats-1.input.js b/lib/init/transformations/stats/__testfixtures__/stats-1.input.js
index c79e007fb4d..6746b50585e 100644
--- a/lib/init/transformations/stats/__testfixtures__/stats-1.input.js
+++ b/lib/init/transformations/stats/__testfixtures__/stats-1.input.js
@@ -5,7 +5,7 @@ module.exports = {
},
stats: {
assets: false,
- assetsSort: "'goald'",
+ assetsSort: "'gold'",
cached: true,
cachedAssets: true,
children: false,
diff --git a/lib/init/transformations/target/__testfixtures__/target-2.input.js b/lib/init/transformations/target/__testfixtures__/target-2.input.js
index 7660765ded4..6387985d19f 100644
--- a/lib/init/transformations/target/__testfixtures__/target-2.input.js
+++ b/lib/init/transformations/target/__testfixtures__/target-2.input.js
@@ -3,5 +3,5 @@ module.exports = {
output: {
filename: 'bundle.js'
},
- target: 'somethign'
+ target: 'something'
}
diff --git a/lib/migrate/index.js b/lib/migrate/index.js
index caac4b179ce..b093707753f 100644
--- a/lib/migrate/index.js
+++ b/lib/migrate/index.js
@@ -48,7 +48,7 @@ function transformSingleAST(ast, source, transformFunction) {
*
* @param {String} source - source file contents
* @param {Function[]} [transforms] - List of transformation functions, defined in the
- * order to apply them in. By default, all defined transfomations.
+ * order to apply them in. By default, all defined transformations.
* @param {Object} [options] - recast formatting options
* @returns {String} source — transformed source code
*/
diff --git a/lib/migrate/outputPath/outputPath.js b/lib/migrate/outputPath/outputPath.js
index bbbcc846f2f..eb668afc0a0 100644
--- a/lib/migrate/outputPath/outputPath.js
+++ b/lib/migrate/outputPath/outputPath.js
@@ -27,7 +27,7 @@ module.exports = function(j, ast) {
if (literalOutputPath) {
let pathVarName = "path";
let isPathPresent = false;
- const pathDecalaration = ast
+ const pathDeclaration = ast
.find(j.VariableDeclarator)
.filter(
p =>
@@ -42,9 +42,9 @@ module.exports = function(j, ast) {
}, false)
);
- if (pathDecalaration) {
+ if (pathDeclaration) {
isPathPresent = true;
- pathDecalaration.forEach(p => {
+ pathDeclaration.forEach(p => {
pathVarName = utils.safeTraverse(p, ["value", "id", "name"]);
});
}
diff --git a/lib/utils/ast-utils.js b/lib/utils/ast-utils.js
index 6c622699ff6..626ec1810e4 100644
--- a/lib/utils/ast-utils.js
+++ b/lib/utils/ast-utils.js
@@ -158,8 +158,8 @@ function createIdentifierOrLiteral(j, val) {
/**
*
- * Findes or creates a node for a given plugin name string with options object
- * If plugin decalaration already exist, options are merged.
+ * Finds or creates a node for a given plugin name string with options object
+ * If plugin declaration already exist, options are merged.
*
* @param {any} j — jscodeshift API
* @param {Node} rootNodePath - `plugins: []` NodePath where plugin should be added. See https://github.com/facebook/jscodeshift/wiki/jscodeshift-Documentation#nodepaths
diff --git a/lib/utils/defineTest.js b/lib/utils/defineTest.js
index 7a35efcbb48..fff0f15487a 100644
--- a/lib/utils/defineTest.js
+++ b/lib/utils/defineTest.js
@@ -27,7 +27,7 @@ const path = require("path");
* @param {String} action init, update or remove, decides how to format the AST
* @return {Function} Function that fires of the transforms
*/
-function runSingleTansform(
+function runSingleTransform(
dirName,
transformName,
testFilePrefix,
@@ -91,7 +91,7 @@ function defineTest(
: "transforms correctly";
describe(transformName, () => {
it(testName, () => {
- const output = runSingleTansform(
+ const output = runSingleTransform(
dirName,
transformName,
testFilePrefix,
diff --git a/lib/utils/npm-exists.spec.js b/lib/utils/npm-exists.spec.js
index 1ee26346139..5329b720ead 100644
--- a/lib/utils/npm-exists.spec.js
+++ b/lib/utils/npm-exists.spec.js
@@ -2,7 +2,7 @@
const exists = require("./npm-exists");
describe("npm-exists", () => {
- it("should sucessfully existence of a published module", () => {
+ it("should successfully existence of a published module", () => {
exists("webpack-addons-ylvis").then(status => {
expect(status).toBe(true);
});
diff --git a/lib/utils/resolve-packages.js b/lib/utils/resolve-packages.js
index 5f4f2308706..b937a4ee43b 100644
--- a/lib/utils/resolve-packages.js
+++ b/lib/utils/resolve-packages.js
@@ -55,7 +55,7 @@ function resolvePackages(pkg) {
}
})
.catch(err => {
- console.log("Package Coudln't be installed, aborting..");
+ console.log("Package Couldn't be installed, aborting..");
console.log("\nReason: \n");
console.error(chalk.bold.red(err));
process.exitCode = 1;
diff --git a/lib/utils/run-prettier.js b/lib/utils/run-prettier.js
index 3b9600cb875..99e64003ced 100644
--- a/lib/utils/run-prettier.js
+++ b/lib/utils/run-prettier.js
@@ -10,7 +10,7 @@ const chalk = require("chalk");
*
* @param {String} outputPath - Path to write the config to
* @param {Node} source - AST to write at the given path
- * @param {Function} cb - exectues a callback after execution if supplied
+ * @param {Function} cb - executes a callback after execution if supplied
* @returns {Function} Writes a file at given location and prints messages accordingly
*/
diff --git a/open-bot.yml b/open-bot.yml
index 35a5399eac2..f5403a58489 100644
--- a/open-bot.yml
+++ b/open-bot.yml
@@ -283,7 +283,7 @@ rules:
---
- This issue was moved from {{owner}}/{{repo}}#{{issue.number}} by @{{comment.actor.login}}. Orginal issue was by @{{issue.user.login}}.
+ This issue was moved from {{owner}}/{{repo}}#{{issue.number}} by @{{comment.actor.login}}. Original issue was by @{{issue.user.login}}.
{{{comment_match.[2]}}}
comment:
diff --git a/test/binCases/configFile/plugins-presedence/index.js b/test/binCases/configFile/plugins-precedence/index.js
similarity index 72%
rename from test/binCases/configFile/plugins-presedence/index.js
rename to test/binCases/configFile/plugins-precedence/index.js
index a61cae4d70d..c461c16b3b8 100644
--- a/test/binCases/configFile/plugins-presedence/index.js
+++ b/test/binCases/configFile/plugins-precedence/index.js
@@ -1,4 +1,4 @@
// We test that the CLI define for TEST will override the one defined in
-// webpack.config.js. If the presedence is correct the entry will require ok.js,
+// webpack.config.js. If the precedence is correct the entry will require ok.js,
// if not it will try to require fail.js and fail.
require("./" + TEST + ".js");
diff --git a/test/binCases/configFile/plugins-presedence/ok.js b/test/binCases/configFile/plugins-precedence/ok.js
similarity index 100%
rename from test/binCases/configFile/plugins-presedence/ok.js
rename to test/binCases/configFile/plugins-precedence/ok.js
diff --git a/test/binCases/configFile/plugins-presedence/stdin.js b/test/binCases/configFile/plugins-precedence/stdin.js
similarity index 100%
rename from test/binCases/configFile/plugins-presedence/stdin.js
rename to test/binCases/configFile/plugins-precedence/stdin.js
diff --git a/test/binCases/configFile/plugins-presedence/test.opts b/test/binCases/configFile/plugins-precedence/test.opts
similarity index 100%
rename from test/binCases/configFile/plugins-presedence/test.opts
rename to test/binCases/configFile/plugins-precedence/test.opts
diff --git a/test/binCases/configFile/plugins-presedence/webpack.config.js b/test/binCases/configFile/plugins-precedence/webpack.config.js
similarity index 100%
rename from test/binCases/configFile/plugins-presedence/webpack.config.js
rename to test/binCases/configFile/plugins-precedence/webpack.config.js