UNPKG

@capgo/cli

Version:
18 lines (17 loc) 1.2 kB
export declare const notifyAppReadyDocsUrl = "https://capgo.app/docs/plugins/updater/notify-app-ready/"; export declare function findBuildEntryJsPath(webDir: string): string | undefined; export declare function resolveCapacitorUpdaterIdentifier(content: string): string | undefined; export declare function hasCallableCapacitorUpdaterBinding(content: string): boolean; export declare function injectNotifyAppReadyIntoJs(filePath: string, content: string): string; export declare function injectNotifyAppReadyIntoBuildJs(content: string): string | undefined; export declare function patchNotifyAppReadyInBuildFolder(webDir: string): string | undefined; export declare function patchNotifyAppReadyInSourceAsync(projectRoot?: string): Promise<string | undefined>; export type NotifyAppReadyRecoveryResult = 'present' | 'recovered' | 'skipped'; export interface EnsureNotifyAppReadyOptions { webDir: string; interactive?: boolean; json?: boolean; allowSkip?: boolean; } export declare function buildCiNotifyAppReadyMessage(webDir: string): string; export declare function ensureNotifyAppReadyInBuildFolder(options: EnsureNotifyAppReadyOptions): Promise<NotifyAppReadyRecoveryResult>;