UNPKG

@electron-forge/core

Version:

A complete tool for building modern Electron applications

35 lines 1.31 kB
export interface ImportOptions { /** * The path to the app to be imported */ dir?: string; /** * Whether to use sensible defaults or prompt the user visually */ interactive?: boolean; /** * An async function that returns true or false in order to confirm the start * of importing */ confirmImport?: () => Promise<boolean>; /** * An async function that returns whether the import should continue if it * looks like a forge project already */ shouldContinueOnExisting?: () => Promise<boolean>; /** * An async function that returns whether the given dependency should be removed */ shouldRemoveDependency?: (dependency: string, explanation: string) => Promise<boolean>; /** * An async function that returns whether the given script should be overridden with a forge one */ shouldUpdateScript?: (scriptName: string, newValue: string) => Promise<boolean>; /** * The path to the directory containing generated distributables */ outDir?: string; } declare const _default: ({ dir, interactive, confirmImport, shouldContinueOnExisting, shouldRemoveDependency, shouldUpdateScript, outDir, }: ImportOptions) => Promise<void>; export default _default; //# sourceMappingURL=import.d.ts.map