From 5b0f7e875787a39c9b2262b000154b33d5f7116c Mon Sep 17 00:00:00 2001 From: Anton Nikolaev Date: Fri, 9 Apr 2021 08:55:51 -0700 Subject: [PATCH] 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 --- docs/extending/desktop-plugin-structure.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/extending/desktop-plugin-structure.mdx b/docs/extending/desktop-plugin-structure.mdx index 802b84d7e..a4524f61b 100644 --- a/docs/extending/desktop-plugin-structure.mdx +++ b/docs/extending/desktop-plugin-structure.mdx @@ -4,6 +4,7 @@ title: Plugin structure --- 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. @@ -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. + + + +## Adding fb-only code to open-sourced plugins + + + +