Remove fs and os usage from Mobile Builds plugin
Summary: Changelog: Expose env info and FS rm command to flipper plugins. Reviewed By: mweststrate Differential Revision: D32988478 fbshipit-source-id: 3d0233f9eb34d3478b07e39b9401c0e30ca95135
This commit is contained in:
committed by
Facebook GitHub Bot
parent
adb2573a1f
commit
c96558a524
@@ -69,6 +69,19 @@ export type ProcessConfig = {
|
||||
launcherEnabled: boolean;
|
||||
};
|
||||
|
||||
export type Platform =
|
||||
| 'aix'
|
||||
| 'android'
|
||||
| 'darwin'
|
||||
| 'freebsd'
|
||||
| 'haiku'
|
||||
| 'linux'
|
||||
| 'openbsd'
|
||||
| 'sunos'
|
||||
| 'win32'
|
||||
| 'cygwin'
|
||||
| 'netbsd';
|
||||
|
||||
export type EnvironmentInfo = {
|
||||
processId: number;
|
||||
isProduction: boolean;
|
||||
@@ -77,7 +90,7 @@ export type EnvironmentInfo = {
|
||||
appVersion: string;
|
||||
os: {
|
||||
arch: string;
|
||||
platform: NodeJS.Platform;
|
||||
platform: Platform;
|
||||
unixname: string;
|
||||
};
|
||||
versions: {
|
||||
|
||||
Reference in New Issue
Block a user