sardines-compile-time-tools
Version:
sardines.compile-time-tools.js is part of the sardines.io project
17 lines • 868 B
TypeScript
import { Sardines } from 'sardines-core';
export declare namespace Source {
const execCmd: (cmd: string) => Promise<string>;
const npmCmd: (command: string, args: string[]) => Promise<unknown>;
const requirePackage: (packName: string) => Promise<any>;
const getPackageFromNpm: (packName: string, locationType: Sardines.LocationType, verbose?: boolean) => Promise<any>;
const getMainFilePathOfPackage: (packageName: string, nodeModulesDir: string, targetDir: string) => string;
const getSourceFromGit: (gitUrl: string, baseDir: string, options?: {
application?: string | undefined;
branch?: string | undefined;
tag?: string | undefined;
version?: string | undefined;
initWorkDir?: boolean | undefined;
verbose?: boolean | undefined;
}) => Promise<string>;
}
//# sourceMappingURL=index.d.ts.map