2023-11-02 17:08:39 +02:00

27 lines
748 B
TypeScript

import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
import type { Linter } from '@nx/eslint';
export interface Schema {
name: string;
directory?: string;
projectNameAndRootFormat?: ProjectNameAndRootFormat;
linter?: Linter;
skipFormat?: boolean;
unitTestRunner?: 'vitest' | 'none';
e2eTestRunner?: 'cypress' | 'playwright' | 'none';
tags?: string;
js?: boolean;
skipPackageJson?: boolean;
rootProject?: boolean;
setParserOptionsProject?: boolean;
style?: 'css' | 'scss' | 'less' | 'none';
}
export interface NormalizedSchema extends Schema {
projectName: string;
appProjectRoot: string;
e2eProjectName: string;
e2eProjectRoot: string;
parsedTags: string[];
}