1 | import { BuildContext, TaskInfo } from './interfaces';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare function generateContext(context?: BuildContext): BuildContext;
|
17 | export declare function getUserConfigFile(context: BuildContext, task: TaskInfo, userConfigFile: string): string;
|
18 | export declare function fillConfigDefaults(userConfigFile: string, defaultConfigFile: string): any;
|
19 | export declare function bundlerStrategy(context: BuildContext): string;
|
20 | export declare function getConfigValue(context: BuildContext, argFullName: string, argShortName: string, envVarName: string, packageConfigProp: string, defaultValue: string): any;
|
21 | export declare function hasConfigValue(context: BuildContext, argFullName: string, argShortName: string, envVarName: string, defaultValue: boolean): boolean;
|
22 | export declare function hasArg(fullName: string, shortName?: string): boolean;
|
23 | export declare function replacePathVars(context: BuildContext, filePath: string | string[] | {
|
24 | [key: string]: any;
|
25 | }): any;
|
26 | export declare function getNodeBinExecutable(context: BuildContext, cmd: string): string;
|
27 | export declare function isDebugMode(): boolean;
|
28 | export declare function setProcessArgs(argv: string[]): void;
|
29 | export declare function addArgv(value: string): void;
|
30 | export declare function setProcessEnv(env: any): void;
|
31 | export declare function setProcessEnvVar(key: string, value: any): void;
|
32 | export declare function getProcessEnvVar(key: string): any;
|
33 | export declare function setCwd(cwd: string): void;
|
34 | export declare function getPackageJsonConfig(context: BuildContext, key: string): any;
|
35 | export declare function setAppPackageJsonData(data: any): void;
|