Use the same create-plugin tutorial for FB and non-FB users

Summary: Per title

Reviewed By: passy

Differential Revision: D25558871

fbshipit-source-id: 85fbc73143a5ca172115169d08f8cdce502eb833
This commit is contained in:
Michel Weststrate
2020-12-15 12:32:42 -08:00
committed by Facebook GitHub Bot
parent c14bab3677
commit f9c8826090
7 changed files with 84 additions and 2 deletions

View File

@@ -4,6 +4,16 @@ title: Publishing your Plugin
sidebar_label: Publishing
---
import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
<FbInternalOnly>
The process of releasing plugins is largely automated at Facebook, and described in detail <Link to={useBaseUrl('/docs/extending/fb/desktop-plugin-releases')}>here</Link>.
</FbInternalOnly>
<OssOnly>
Once you're happy with your plugin and want the world to see it,
you can publish it to npm. Ensure that your plugin follows these
@@ -64,3 +74,5 @@ This may be Maven Central, JCenter or GitHub Packages for Android,
CocoaPods for iOS and npm or GitHub Packages for React Native.
Make sure to leave setup instructions in the README of your
npm package.
</OssOnly>