@nova-ui/bits
Version:
SolarWinds Nova Framework
19 lines (18 loc) • 1.36 kB
TypeScript
import { Rule, SchematicContext } from "@angular-devkit/schematics";
import { Tree } from "@angular-devkit/schematics/src/tree/interface";
import { NodeDependency } from "@schematics/angular/utility/dependencies";
import { BrowserBuilderTarget } from "@schematics/angular/utility/workspace-models";
import ts from "typescript";
export declare function updateJsonFile(host: Tree, context: SchematicContext, filename: string, propertyChain: string[], itemToAdd: any, overrideValue?: boolean): Tree;
export declare function buildSelector(options: any, projectPrefix: string): string;
export declare function readIntoSourceFile(host: Tree, modulePath: string): ts.SourceFile;
export interface IModuleItem {
item: string;
path: string;
}
export declare function updateModuleChanges(host: Tree, options: any, moduleSource: ts.SourceFile, modules: IModuleItem[], providers?: IModuleItem[], declarations?: IModuleItem[]): void;
export declare function getBrowserProjectTargets(host: Tree, options: any): BrowserBuilderTarget;
export declare function addStylesToAngularJson(options: any, stylePaths: string[]): Rule;
export declare function installPackageJsonDependencies(): Rule;
export declare function assembleDependencies(dependencies: Record<string, string>): NodeDependency[];
export declare function omitUpperPeerDependencyVersion(version: string): string;