Docs on how to include fb-only parts into open-sourced plugins
Summary: Added docs on how to include fb-only parts into open-sourced plugins Reviewed By: mweststrate Differential Revision: D27678276 fbshipit-source-id: e0c3de8ed57a7d25f291e8e6ac15ed32812a0cbc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6bd3eee0ee
commit
5b0f7e8757
@@ -4,6 +4,7 @@ title: Plugin structure
|
|||||||
---
|
---
|
||||||
|
|
||||||
import FbNpmDeps from '../fb/adding-npm-dependencies-0.mdx'
|
import FbNpmDeps from '../fb/adding-npm-dependencies-0.mdx'
|
||||||
|
import FbOnlyParts from '../fb/fb-only-parts-in-os-plugins.mdx'
|
||||||
|
|
||||||
Flipper Desktop plugins have a rigid structure. We recommend to scaffold any new plugin using our scaffolding tooling.
|
Flipper Desktop plugins have a rigid structure. We recommend to scaffold any new plugin using our scaffolding tooling.
|
||||||
|
|
||||||
@@ -244,3 +245,11 @@ The main difference of version 2 is that plugins are transpiled and bundled befo
|
|||||||
The easiest way for migration is using of command `flipper-pkg migrate`. It will automatically migrate your plugin definition to the latest version.
|
The easiest way for migration is using of command `flipper-pkg migrate`. It will automatically migrate your plugin definition to the latest version.
|
||||||
|
|
||||||
</OssOnly>
|
</OssOnly>
|
||||||
|
|
||||||
|
<FbInternalOnly>
|
||||||
|
|
||||||
|
## Adding fb-only code to open-sourced plugins
|
||||||
|
|
||||||
|
<FbOnlyParts />
|
||||||
|
|
||||||
|
</FbInternalOnly>
|
||||||
|
|||||||
Reference in New Issue
Block a user