Summary: This diff fixes several issues around loading plugin, such as: * make suresource maps work in the flipper-server production build * make sure default plugins are no symlinked, which wouldn't work anywhere else but on the the system where it was build * support release channel param for flipper-server Bundled flipper-server is now 42MB (with icons (see later diffs) and plugins ``` ll flipper-server-v0.0.0.tgz -rw-r--r-- 1 mweststrate staff 42M 23 Dec 15:29 flipper-server-v0.0.0.tgz ``` Reviewed By: nikoant Differential Revision: D33294677 fbshipit-source-id: 63538dc8127f883fee6a3608673ad11ce239b350
flipper-server (TBD)
Stand alone Flipper server as NodeJS process, that uses flipper-server-core for device communication and also provides a webserver to serve flipper-ui.
Flipper-server can be used as background process, for example on CI servers or to power IDE plugins.
Running flipper server
From NPM
TODO:
From source
cd <Flipper checkout>/desktop
yarn install
yarn flipper-server
Production build from source
cd <Flipper checkout>/desktop
yarn install
yarn build:flipper-server
Pass the --open flag to open Flipper server after building
Use --no-rebuild-plugins to speed up subsequent builds if default plugins have been build already
Test NPX build
cd <Flipper checkout>/desktop/
yarn build:flipper-server
cd flipper-server
yarn test:npx