From 861e9f8b3453ca9dfc2b8f9abda86b248cdf80a5 Mon Sep 17 00:00:00 2001 From: James George Date: Wed, 5 Feb 2020 22:12:19 +0530 Subject: [PATCH] docs: Updated information regarding migrate command and a typo fix (#1187) * docs: update info about migrate command * fix: typo Co-authored-by: Rishabh Chawla --- .github/CONTRIBUTING.md | 4 +--- packages/utils/npm-packages-exists.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 9fe2bc4fa62..c48406c16a6 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -262,10 +262,8 @@ For more information about what each part of the template mean, head up to the d ## Migrate with the CLI -This is a new feature in development for the CLI. - ```sh -webpack --migrate +webpack migrate ``` The expected result of the above command is to take the mentioned `webpack` configuration and create a new configuration file which is compatible with webpack 2. diff --git a/packages/utils/npm-packages-exists.ts b/packages/utils/npm-packages-exists.ts index 521788a85e7..6ef302b6140 100644 --- a/packages/utils/npm-packages-exists.ts +++ b/packages/utils/npm-packages-exists.ts @@ -13,7 +13,7 @@ const WEBPACK_SCAFFOLD_PREFIX = "webpack-scaffold"; * on npm and throws an error if it is not. * * @param {String[]} pkg - Array of packages to check existence of - * @returns {Array} resolvePackages - Returns an process to install the packages + * @returns {Array} resolvePackages - Returns a process to install the packages */ export default function npmPackagesExists(pkg: string[]): void {