Split package "flipper-pkg" into two: lib and cli

Summary: "flipper-pkg" added ~2MB to Flipper disttributive size, because of heavy dependencies which are only required for CLI functionality. See size warning in diff D21068373 in this stack where I added pkg as dependency to flipper. Here I'm splitting it into library and CLI packages, so Flipper app will only reference the library.

Reviewed By: passy

Differential Revision: D21087336

fbshipit-source-id: d9d62f1e75a835d1c0fa78ff1addb0d9a761a9c7
This commit is contained in:
Anton Nikolaev
2020-04-17 09:58:24 -07:00
committed by Facebook GitHub Bot
parent 4395b19140
commit 21b79af5f2
21 changed files with 131 additions and 14 deletions

View File

@@ -20,10 +20,8 @@
"@types/node": "^13.7.5",
"cli-ux": "^5.4.5",
"fs-extra": "^8.1.0",
"flipper-babel-transformer": "0.37.0",
"inquirer": "^7.0.5",
"metro": "^0.59.0",
"tslib": "^1"
"flipper-pkg-lib": "0.37.0",
"inquirer": "^7.0.5"
},
"devDependencies": {
"@oclif/dev-cli": "^1",