UNPKG

@o3r/schematics

Version:

Schematics module of the Otter framework

18 lines 1.1 kB
import { logging } from '@angular-devkit/core'; import { NodeDependency, NodeDependencyType } from '@schematics/angular/utility/dependencies'; /** * Method to extract the provided package version range from a package.json file * @param packageNames list of package we want to retrieve the version * @param packageJsonPath Path to the package.json to refer to * @param logger logger * @returns The version range value retrieved from the provided package.json file */ export declare function getExternalDependenciesVersionRange<T extends string>(packageNames: T[], packageJsonPath: string, logger: logging.LoggerApi): Record<T, string>; /** * Method used to build the list of node dependencies to be installed * @param dependenciesVersions map of dependency and its associated required version * @param type node type of the dependency * @returns the list of node dependencies to be installed */ export declare function getNodeDependencyList<T extends string>(dependenciesVersions: Record<T, string>, type: NodeDependencyType): NodeDependency[]; //# sourceMappingURL=dependencies.d.ts.map