UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

8 lines (7 loc) 713 B
import { GeneratorCallback, Tree } from '@nx/devkit'; import type { LibraryGeneratorSchema, NormalizedLibraryGeneratorOptions } from './schema'; export declare function libraryGenerator(tree: Tree, schema: LibraryGeneratorSchema): Promise<GeneratorCallback>; export declare function libraryGeneratorInternal(tree: Tree, schema: LibraryGeneratorSchema): Promise<GeneratorCallback>; export type AddLintOptions = Pick<NormalizedLibraryGeneratorOptions, 'name' | 'linter' | 'projectRoot' | 'unitTestRunner' | 'js' | 'setParserOptionsProject' | 'rootProject' | 'bundler' | 'addPlugin'>; export declare function addLint(tree: Tree, options: AddLintOptions): Promise<GeneratorCallback>; export default libraryGenerator;