Files
flipper/desktop/plugins/navigation/package.json
Chaiwat Ekkaewnumchai 8e7089fb4c Move Static Fields to package.json: navigation
Summary:
Flipper reads metadata to show on the sidebar from `package.json` and static fields (`id`, `title`, and `icon`) from `FlipperPlugin` class. If there are fields declared in both file, `FlipperPlugin` class takes precedences.

With Sandy (new Flipper plugin API), there is no static field available. In order to prevent unexpected scenario happening when migrating to Sandy, this codemod-ish is applied to plugins that contain static field.

The static fields are merged into `package.json` to get the same result. In addition, the static fields are also removed.

Reviewed By: mweststrate

Differential Revision: D22411856

fbshipit-source-id: 491d93fbe6393a7e9eded91208fdd71990402bb9
2020-07-08 03:14:17 -07:00

18 lines
381 B
JSON

{
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-navigation",
"id": "Navigation",
"version": "0.49.0",
"main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT",
"keywords": [
"flipper-plugin"
],
"title": "Navigation",
"icon": "directions",
"bugs": {
"email": "beneloca@fb.com"
}
}