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.

15 lines (14 loc) 540 B
import { Tree } from '@nx/devkit'; import type { LinterType } from '@nx/eslint'; import { CreatePackageSchema } from '../schema'; export interface NormalizedSchema extends CreatePackageSchema { bundler: 'swc' | 'tsc'; projectName: string; projectRoot: string; unitTestRunner: 'jest' | 'vitest' | 'none'; linter: LinterType; useProjectJson: boolean; addPlugin: boolean; isTsSolutionSetup: boolean; } export declare function normalizeSchema(host: Tree, schema: CreatePackageSchema): Promise<NormalizedSchema>;