UNPKG

@progress/kendo-angular-schematics

Version:

Kendo UI Schematics for Angular

31 lines (30 loc) 2.05 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /// <reference types="node" /> import { ChildProcess } from "child_process"; import { Browser } from "@progress/kendo-e2e"; export declare const tempDir: string; export declare const schematicsPath: string; export declare const schematicsPackageName = "progress-kendo-angular-schematics-0.0.0-PLACEHOLDER.tgz"; export declare const schematicsPackagePath: string; export declare function packSchematics(): Promise<void>; export declare function cleanFolder(dir: string): void; export declare function copyFolder(sourceFolder: string, targetFolder: string): void; export declare function copyFile(sourceFilePath: string, targetFilePath: string): void; export declare function deleteFileIfExists(fileName: string, filePath: string): Promise<void>; export declare function replaceStringInFile(filePath: string, oldString: string, newString: string): void; export declare function replaceAllStringInFile(filePath: string, oldString: string, newString: string): void; export declare function checkStringInFile(filePath: string, searchString: string): boolean; export declare function printSpecificKeys(filePath: string, specificKey: string): void; export declare function exec(cmd: string, wd: string): Promise<{ stdout: string; stderr: string; }>; export declare function execAsync(cmd: string, wd: string): ChildProcess; export declare function kill(process: ChildProcess): void; export declare function loadUrl(browser: Browser, url: string): Promise<void>; export declare function waitToLoadApp(browser: Browser, appName: string): Promise<boolean>; export declare function getNGVersion(appPath: string): number; export declare function patchModules(appPath: string, kendoPackage: string): void;