microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
src/extension/appcenter/lib/codepush-node-sdk/dist/react-native/react-native-utils.d.ts
26lines · modecode
| 1 | export declare var spawn: any; |
| 2 | export interface VersionSearchParams { |
| 3 | os: string; |
| 4 | plistFile: string; |
| 5 | plistFilePrefix: string; |
| 6 | gradleFile: string; |
| 7 | } |
| 8 | export declare function getAndroidAppVersion(projectRoot?: string, gradleFile?: string): Promise<string>; |
| 9 | export declare function getiOSAppVersion(projectRoot?: string, plistFilePrefix?: string, plistFile?: string): Promise<string>; |
| 10 | export declare function getWindowsAppVersion(projectRoot?: string): Promise<string>; |
| 11 | export declare function runReactNativeBundleCommand(projectRootPath: string, bundleName: string, development: boolean, entryFile: string, outputFolder: string, platform: string, sourcemapOutput: string): Promise<void>; |
| 12 | export declare function isValidOS(os: string): boolean; |
| 13 | export declare function isValidPlatform(platform: string): boolean; |
| 14 | export declare function isReactNativeProject(): boolean; |
| 15 | export declare function getDefaultBundleName(os: string): string; |
| 16 | export declare function getDefautEntryFilePath(os: string, projectDir?: string): string; |
| 17 | export declare class BundleConfig { |
| 18 | os: string; |
| 19 | projectRootPath: string; |
| 20 | outputDir?: string; |
| 21 | entryFilePath?: string; |
| 22 | bundleName?: string; |
| 23 | development?: boolean; |
| 24 | sourcemapOutput?: string; |
| 25 | } |
| 26 | export declare function makeUpdateContents(bundleConfig: BundleConfig): Promise<string>; |
| 27 | |