2022-11-23 10:00:29 -05:00

31 lines
746 B
TypeScript

import { Linter } from '@nrwl/linter';
import { SupportedStyles } from '../../../typings';
export interface Schema {
name: string;
style: SupportedStyles;
skipFormat: boolean;
directory?: string;
tags?: string;
unitTestRunner: 'jest' | 'vitest' | 'none';
e2eTestRunner: 'cypress' | 'none';
linter: Linter;
pascalCaseFiles?: boolean;
classComponent?: boolean;
skipWorkspaceJson?: boolean;
js?: boolean;
globalCss?: boolean;
strict?: boolean;
setParserOptionsProject?: boolean;
standaloneConfig?: boolean;
compiler?: 'babel' | 'swc';
devServerPort?: number;
remotes?: string[];
}
export interface NormalizedSchema extends Schema {
projectName: string;
appProjectRoot: string;
e2eProjectName: string;
}