@ts-dev-tools/core
Version:
TS dev tools Core
14 lines (13 loc) • 817 B
TypeScript
export declare const testProjectDir: string;
export declare function createTestProjectDir(filename: string): string;
export declare function createTestProjectDirWithFixtures(filename: string): string;
export declare function getCorePackageRootPath(filename: string): string;
export declare function restorePackageJson(filename: string): void;
export declare function removeTestProjectDir(filename: string): void;
export declare const createTestMonorepoProjectDir: (projectDir: string, createProject: (projectDir: string) => Promise<void>) => Promise<void>;
/**
* Create a full file structure for testing ts-dev-tools packages installation
* @param projectDir path where to prepare packages
* @returns packages directory path
*/
export declare const createTestPackagesDir: (projectDir: string) => Promise<string>;