thedesk/app/node_modules/app-builder-lib/out/util/yarn.d.ts
2019-09-12 23:38:13 +09:00

19 lines
808 B
TypeScript

/// <reference types="node" />
import { Lazy } from "lazy-val";
import { Configuration } from "../configuration";
import { NodeModuleDirInfo } from "./packageDependencies";
export declare function installOrRebuild(config: Configuration, appDir: string, options: RebuildOptions, forceInstall?: boolean): Promise<void>;
export interface DesktopFrameworkInfo {
version: string;
useCustomDist: boolean;
}
export declare function getGypEnv(frameworkInfo: DesktopFrameworkInfo, platform: NodeJS.Platform, arch: string, buildFromSource: boolean): any;
export interface RebuildOptions {
frameworkInfo: DesktopFrameworkInfo;
productionDeps?: Lazy<Array<NodeModuleDirInfo>>;
platform?: NodeJS.Platform;
arch?: string;
buildFromSource?: boolean;
additionalArgs?: Array<string> | null;
}