UNPKG

@nrwl/workspace

Version:

The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.

16 lines (15 loc) 654 B
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>;