Install plugin from package file
Summary: Adding a way to install plugins directly from package files. This is required for testing after packaging format changes. Stage 3: Implemented installation of plugins directly from package file. Reviewed By: jknoxville Differential Revision: D19765619 fbshipit-source-id: 57f36c87d3cf5d4e1c9a1f8f9f9f32b14a18bc8b
This commit is contained in:
committed by
Facebook Github Bot
parent
984cdbfb67
commit
b9e7f5d6d1
12
types/decompress-targz.d.tsx
Normal file
12
types/decompress-targz.d.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
declare module 'decompress-targz' {
|
||||
export default function(): any;
|
||||
}
|
||||
@@ -13,6 +13,13 @@ export declare class PluginManager {
|
||||
name: string,
|
||||
version?: string,
|
||||
): Promise<LivePluginManager.IPluginInfo>;
|
||||
installFromPath(
|
||||
location: string,
|
||||
options?: {
|
||||
force: boolean;
|
||||
},
|
||||
): Promise<LivePluginManager.IPluginInfo>;
|
||||
|
||||
readonly options: LivePluginManager.PluginManagerOptions;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user