diff --git a/.flowconfig b/.flowconfig index cd3dd707a72..aea40865318 100644 --- a/.flowconfig +++ b/.flowconfig @@ -69,4 +69,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [version] -^0.70.0 +^0.71.0 diff --git a/local-cli/core/index.js b/local-cli/core/index.js index f3059be0a62..3bb0481421b 100644 --- a/local-cli/core/index.js +++ b/local-cli/core/index.js @@ -77,9 +77,7 @@ const defaultRNConfig = { const name = pathToCommands.split(path.sep)[0]; return attachPackage( - // $FlowFixMe non-literal require require(path.join(appRoot, 'node_modules', pathToCommands)), - // $FlowFixMe non-literal require require(path.join(appRoot, 'node_modules', name, 'package.json')) ); }); diff --git a/local-cli/templates/HelloWorld/_flowconfig b/local-cli/templates/HelloWorld/_flowconfig index 4f75b3cb140..187b25e4815 100644 --- a/local-cli/templates/HelloWorld/_flowconfig +++ b/local-cli/templates/HelloWorld/_flowconfig @@ -51,4 +51,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [version] -^0.70.0 +^0.71.0 diff --git a/package.json b/package.json index 62b09618c92..37b3feb4ca0 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "eslint-plugin-jest": "21.8.0", "eslint-plugin-prettier": "2.6.0", "eslint-plugin-react": "7.6.1", - "flow-bin": "^0.70.0", + "flow-bin": "^0.71.0", "jest": "23.0.0-beta.2", "jest-junit": "3.7.0", "prettier": "1.12.1",