Move Tail to flipper-server-core

Summary: Tail is a server-side logging utility. We cannot add it to flipper-frontend-core as it is going to be included into the browser bundle then and break the build.

Reviewed By: antonk52

Differential Revision: D36771864

fbshipit-source-id: 169cdb88543f1e47f39e8c0976c3a3f45c0439d5
This commit is contained in:
Andrey Goncharov
2022-05-31 02:58:21 -07:00
committed by Facebook GitHub Bot
parent 0a8577e948
commit 976399b950
4 changed files with 4 additions and 5 deletions

View File

@@ -13,12 +13,11 @@
"eventemitter3": "^4.0.7",
"flipper-common": "0.0.0",
"flipper-plugin": "0.0.0",
"fs-extra": "^10.1.0",
"immer": "^9.0.12",
"js-base64": "^3.7.2",
"p-map": "^5.3.0",
"semver": "^7.3.7",
"reconnecting-websocket": "^4.4.0"
"reconnecting-websocket": "^4.4.0",
"semver": "^7.3.7"
},
"devDependencies": {
"flipper-test-utils": "0.0.0"

View File

@@ -15,4 +15,3 @@ export * from './globalObject';
export * from './plugins';
export * from './flipperLibImplementation';
export * from './client/FlipperServerClient';
export * from './utils/tail';

View File

@@ -12,6 +12,7 @@ export {loadSettings} from './utils/settings';
export {loadLauncherSettings} from './utils/launcherSettings';
export {loadProcessConfig} from './utils/processConfig';
export {getEnvironmentInfo} from './utils/environmentInfo';
export * from './utils/tail';
import GKImplementation from './fb-stubs/GK';
export {setupPrefetcher} from './fb-stubs/Prefetcher';

View File

@@ -7,7 +7,7 @@
* @format
*/
import EventEmitter from 'eventemitter3';
import EventEmitter from 'events';
import fs, {FSWatcher} from 'fs-extra';
import path from 'path';