@nx/plugin
Version:
15 lines (14 loc) • 540 B
TypeScript
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>;