@nx/plugin
Version:
20 lines (19 loc) • 641 B
TypeScript
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>;