@nrwl/workspace
Version:
16 lines (15 loc) • 654 B
TypeScript
import { GeneratorCallback, Tree } from '@nrwl/devkit';
import { Schema } from './schema';
export interface NormalizedSchema extends Schema {
name: string;
fileName: string;
projectRoot: string;
projectDirectory: string;
libsDir: string;
parsedTags: string[];
importPath?: string;
}
export declare function addLint(tree: Tree, options: NormalizedSchema): Promise<GeneratorCallback>;
export declare function libraryGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
export default libraryGenerator;
export declare const librarySchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;