UNPKG

@nx/plugin

Version:

This plugin is used to create Nx plugins! It contains generators for generating common plugin features like generators, executors, migrations and more.

20 lines (19 loc) 641 B
import { type Tree } from '@nx/devkit'; import type { LinterType } from '@nx/eslint'; import type { Schema } from '../schema'; export interface NormalizedSchema extends Schema { projectName: string; fileName: string; projectRoot: string; projectDirectory: string; parsedTags: string[]; importPath: string; bundler: 'swc' | 'tsc'; publishable: boolean; unitTestRunner: 'jest' | 'vitest' | 'none'; linter: LinterType; useProjectJson: boolean; addPlugin: boolean; isTsSolutionSetup: boolean; } export declare function normalizeOptions(host: Tree, options: Schema): Promise<NormalizedSchema>;