From 48d1c1540100c8eaa97914ad090407cb83b2cebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles=20Assun=C3=A7=C3=A3o?= Date: Tue, 10 Sep 2019 16:36:33 +0200 Subject: [PATCH 1/2] chore: convert gracefulifyFs to Typescript --- packages/cli/package.json | 1 + packages/cli/src/tools/{gracefulifyFs.js => gracefulifyFs.ts} | 0 2 files changed, 1 insertion(+) rename packages/cli/src/tools/{gracefulifyFs.js => gracefulifyFs.ts} (100%) diff --git a/packages/cli/package.json b/packages/cli/package.json index f6a50d965..27775be15 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -66,6 +66,7 @@ "react-native": "^0.60.0" }, "devDependencies": { + "@types/graceful-fs": "^4.1.3", "@types/semver": "^6.0.2", "slash": "^3.0.0", "snapshot-diff": "^0.5.0" diff --git a/packages/cli/src/tools/gracefulifyFs.js b/packages/cli/src/tools/gracefulifyFs.ts similarity index 100% rename from packages/cli/src/tools/gracefulifyFs.js rename to packages/cli/src/tools/gracefulifyFs.ts From 9bb531b04aaa361e9bacb4d3653dd688d99c7e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles=20Assun=C3=A7=C3=A3o?= Date: Tue, 10 Sep 2019 16:55:30 +0200 Subject: [PATCH 2/2] chore: add FlowFixMe temporarily for files converted to TS --- packages/cli/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cli/src/index.js b/packages/cli/src/index.js index 58a6737e7..0c4e0fc2a 100644 --- a/packages/cli/src/index.js +++ b/packages/cli/src/index.js @@ -8,6 +8,7 @@ */ // gracefulify() has to be called before anything else runs +// $FlowFixMe - converted to TS import './tools/gracefulifyFs'; import cli from './cliEntry';