Clean up QPL integration

Summary:
Removed the Flipper QPL integration, see:
https://fb.workplace.com/groups/flippersupport/permalink/1200183003795689/

It complicates our build setup significantly, without actually being used anywhere for the past year. Apparently it doesn't solve a gap compared to the scuba logging we have already in place.

Reviewed By: passy

Differential Revision: D30911573

fbshipit-source-id: 836e2aba0c92c0eed9fed0dfb12bd8bdcb8c7d71
This commit is contained in:
Michel Weststrate
2021-09-14 02:54:03 -07:00
committed by Facebook GitHub Bot
parent b658d70311
commit 75b5783fd0
6 changed files with 4 additions and 105 deletions

View File

@@ -10,8 +10,7 @@
import fs from 'fs-extra';
import path from 'path';
import {getWatchFolders} from 'flipper-pkg-lib';
import {appDir, publicPluginsDir, fbPluginsDir, jsSharedDir} from './paths';
import isFB from './isFB';
import {appDir, publicPluginsDir, fbPluginsDir} from './paths';
/**
* Flipper references code from below plugins directly. Such directly referenced plugins
@@ -30,9 +29,6 @@ export default async function getAppWatchFolders() {
),
);
const watchFolders = ([] as string[]).concat(...getWatchFoldersResults);
if (isFB) {
watchFolders.push(jsSharedDir);
}
return watchFolders
.filter((value, index, self) => self.indexOf(value) === index)
.filter(async (f) => fs.pathExists(f));