@sap/generator-adaptation-project
Version:
Adaptation project allows you to create an app variant for an existing SAP Fiori elements-based or SAPUI5 freestyle application, without changing the original application.
10 lines (9 loc) • 468 B
TypeScript
import { Log, LogFn } from "@sap/adp-common";
export declare function createDirectoryIfNotExist(directory: string): void;
export declare function installDependencies(projectPath: string): Promise<void>;
export declare function findUniqueDirName(basePath: string, dirName: string): string;
export declare function getPackageJSONInfo(logger: Log<LogFn>): {
name: string;
version: string;
};
export declare function writeResult(id: string, result: string): void;