Remove babel transforms for flipper-server

Summary: Flipper server itself requires no babel transforms. We applied extra transforms only for the bundled plugins. However, we pack and ship all plugins in the /static folder. They are always available on the FS. Therefore we could stop bundling any plugins into flipper-server's source code.

Reviewed By: lblasa

Differential Revision: D38910251

fbshipit-source-id: b3e9fe5ae2ab69ce5579b01b6793ebf7e88baf66
This commit is contained in:
Andrey Goncharov
2022-09-15 10:02:19 -07:00
committed by Facebook GitHub Bot
parent 218cb6abf2
commit a67a4e5d0f
15 changed files with 136 additions and 154 deletions

View File

@@ -27,7 +27,7 @@
"invariant": "^2.2.4",
"js-base64": "^3.7.2",
"lodash.memoize": "^4.1.2",
"node-fetch": "^3.2.4",
"node-fetch": "2",
"node-forge": "^0.10.0",
"open": "^8.3.0",
"openssl-wrapper": "^0.3.4",
@@ -46,12 +46,13 @@
"xdg-basedir": "^4.0.0"
},
"devDependencies": {
"@types/archiver": "^5.3.1",
"@types/express": "^4.17.13",
"@types/http-proxy": "^1.17.8",
"@types/archiver": "^5.3.1",
"@types/invariant": "^2.2.35",
"@types/memorystream": "^0.3.0",
"@types/node": "^17.0.31",
"@types/node-fetch": "2",
"@types/node-forge": "^0.10",
"@types/rimraf": "^3.0.2",
"@types/rsocket-core": "^0.0.7",
@@ -60,10 +61,10 @@
"@types/tmp": "^0.2.3",
"@types/which": "^2.0.1",
"@types/ws": "^8.5.3",
"memorystream": "^0.3.1",
"exit-hook": "^2.1.1",
"express": "^4.17.3",
"http-proxy": "^1.18.1",
"express": "^4.17.3"
"memorystream": "^0.3.1"
},
"peerDependencies": {},
"scripts": {

View File

@@ -8,6 +8,7 @@
*/
import {FlipperServer, MarketplacePluginDetails} from 'flipper-common';
import fetch from 'node-fetch';
export async function loadAvailablePlugins(
server: FlipperServer,