UNPKG

@nxrocks/common

Version:

Common library to share code among the `@nxrocks/*` plugins.

19 lines (18 loc) 621 B
export declare function getProjectRoot(project: { root: string; }): string; export declare function getProjectFilePath(project: { root: string; }, relativeFile: string): string; export declare function hasProjectFile(project: { root: string; }, relativeFile: string): boolean; export declare function getProjectFileContent(project: { root: string; }, relativeFile: string): string; export declare function getNameAndRoot(cwd: string): { name: string; root: string; }; export declare function getProjectRootFromFile(filePath: string): string; export declare function isNxCrystalEnabled(): boolean;