diff --git a/generators/app/constants.js b/generators/app/constants.js index 28bc95f6..eb82e79c 100644 --- a/generators/app/constants.js +++ b/generators/app/constants.js @@ -48,9 +48,7 @@ const UTILS_PATH = 'src/utils'; const SERVICES_PATH = 'src/services'; const CONSTANTS_PATH = 'src/constants'; -module.exports.REDUX_COMPONENTS = [ - `${COMPONENTS_PATH}/Field/index.js`, -] +module.exports.REDUX_COMPONENTS = [`${COMPONENTS_PATH}/Field/index.js`]; module.exports.TEMPLATE_FILES = [ 'config-overrides.js', diff --git a/generators/app/tasks/copyTemplateFiles.js b/generators/app/tasks/copyTemplateFiles.js index 2dd05377..28377231 100644 --- a/generators/app/tasks/copyTemplateFiles.js +++ b/generators/app/tasks/copyTemplateFiles.js @@ -1,6 +1,12 @@ const mkdirp = require('mkdirp'); -const { TEMPLATE_FILES, LINTER_PATH, LOCAL_STORAGE_FILE, FLOWCONFIG_PATH, REDUX_COMPONENTS } = require('../constants'); +const { + TEMPLATE_FILES, + LINTER_PATH, + LOCAL_STORAGE_FILE, + FLOWCONFIG_PATH, + REDUX_COMPONENTS +} = require('../constants'); const { copyTpl, copy } = require('./utils'); diff --git a/generators/app/templates/src/app/components/SearchBar/index.js b/generators/app/templates/src/app/components/SearchBar/index.js index ce3de19a..34a850ea 100644 --- a/generators/app/templates/src/app/components/SearchBar/index.js +++ b/generators/app/templates/src/app/components/SearchBar/index.js @@ -1,7 +1,14 @@ import React from 'react'; import PropTypes from 'prop-types'; -function SearchBarContainer({ textButtonSearch, className, formClassName, buttonClassName, handleSubmit, children }) { +function SearchBarContainer({ + textButtonSearch, + className, + formClassName, + buttonClassName, + handleSubmit, + children +}) { return (
diff --git a/package-lock.json b/package-lock.json index 0e9d5be1..3644433c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -601,7 +601,7 @@ "js-yaml": "3.12.0", "json-stable-stringify-without-jsonify": "1.0.1", "levn": "0.3.0", - "lodash": "4.17.4", + "lodash": "4.17.10", "minimatch": "3.0.4", "mkdirp": "0.5.1", "natural-compare": "1.4.0", @@ -700,7 +700,7 @@ "cli-width": "2.2.0", "external-editor": "2.2.0", "figures": "2.0.0", - "lodash": "4.17.4", + "lodash": "4.17.10", "mute-stream": "0.0.7", "run-async": "2.3.0", "rx-lite": "4.0.8", @@ -872,7 +872,7 @@ "eslint-import-resolver-node": "0.3.2", "eslint-module-utils": "2.2.0", "has": "1.0.3", - "lodash": "4.17.4", + "lodash": "4.17.10", "minimatch": "3.0.4", "read-pkg-up": "2.0.0", "resolve": "1.7.1" @@ -1207,7 +1207,7 @@ "resolved": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.3.tgz", "integrity": "sha1-wWfSpTGcWg4JZO9qJbfC34mWyFw=", "requires": { - "lodash": "4.17.4" + "lodash": "4.17.10" } }, "has": { @@ -1300,7 +1300,7 @@ "cli-width": "2.2.0", "external-editor": "1.1.1", "figures": "1.7.0", - "lodash": "4.17.4", + "lodash": "4.17.10", "mute-stream": "0.0.6", "pinkie-promise": "2.0.1", "run-async": "2.3.0", @@ -1532,9 +1532,9 @@ } }, "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" }, "lodash.merge": { "version": "4.6.1", @@ -2118,7 +2118,7 @@ "js-yaml": "3.12.0", "json-stable-stringify-without-jsonify": "1.0.1", "levn": "0.3.0", - "lodash": "4.17.4", + "lodash": "4.17.10", "minimatch": "3.0.4", "mkdirp": "0.5.1", "natural-compare": "1.4.0", @@ -2193,7 +2193,7 @@ "cli-width": "2.2.0", "external-editor": "2.2.0", "figures": "2.0.0", - "lodash": "4.17.4", + "lodash": "4.17.10", "mute-stream": "0.0.7", "run-async": "2.3.0", "rx-lite": "4.0.8", @@ -2277,7 +2277,7 @@ "ajv": "5.5.2", "ajv-keywords": "2.1.1", "chalk": "2.4.1", - "lodash": "4.17.4", + "lodash": "4.17.10", "slice-ansi": "1.0.0", "string-width": "2.1.1" } @@ -2690,7 +2690,7 @@ "ajv": "5.5.2", "ajv-keywords": "2.1.1", "chalk": "2.4.1", - "lodash": "4.17.4", + "lodash": "4.17.10", "slice-ansi": "1.0.0", "string-width": "2.1.1" }, @@ -2978,7 +2978,7 @@ "globby": "4.1.0", "grouped-queue": "0.3.3", "inquirer": "1.2.3", - "lodash": "4.17.4", + "lodash": "4.17.10", "log-symbols": "1.0.2", "mem-fs": "1.1.3", "text-table": "0.2.0", @@ -3031,7 +3031,7 @@ "github-username": "3.0.0", "glob": "7.1.2", "istextorbinary": "2.2.1", - "lodash": "4.17.4", + "lodash": "4.17.10", "mem-fs-editor": "3.0.2", "minimist": "1.2.0", "mkdirp": "0.5.1", diff --git a/package.json b/package.json index 8fa4de3f..8ccdf147 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "dependencies": { "eslint-config-wolox": "^1.0.0", "latest-semver": "^1.0.0", - "lodash": "^4.17.4", + "lodash": "^4.17.10", "mkdirp": "^0.5.1", "ora": "^2.1.0", "semver-regex": "^2.0.0",