UNPKG

@o3r/schematics

Version:

Schematics module of the Otter framework

14 lines 576 B
import { Tree } from '@angular-devkit/schematics'; /** * Return the version of the given package json path * @param packageJsonPath */ export declare function getPackageVersion(packageJsonPath: string): string | undefined; /** * Find the closest package.json file in parent folders * Note: It is using file system if no tree provided * @param currentPath current path to inspect * @param tree current path to inspect */ export declare const findClosestPackageJson: (currentPath: string, tree?: Tree) => string | undefined; //# sourceMappingURL=package-version.d.ts.map