2023-11-07 15:45:42 -05:00

35 lines
1015 B
TypeScript

import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
import type { Linter } from '@nx/eslint';
import type { E2eTestRunner, UnitTestRunner } from '../../utils/test-runners';
import type { Styles } from '../utils/types';
export interface Schema {
name: string;
addTailwind?: boolean;
skipFormat?: boolean;
inlineStyle?: boolean;
inlineTemplate?: boolean;
viewEncapsulation?: 'Emulated' | 'Native' | 'None';
routing?: boolean;
prefix?: string;
style?: Styles;
skipTests?: boolean;
directory?: string;
projectNameAndRootFormat?: ProjectNameAndRootFormat;
tags?: string;
linter?: Linter;
unitTestRunner?: UnitTestRunner;
e2eTestRunner?: E2eTestRunner;
backendProject?: string;
strict?: boolean;
standaloneConfig?: boolean;
port?: number;
setParserOptionsProject?: boolean;
skipPackageJson?: boolean;
standalone?: boolean;
rootProject?: boolean;
minimal?: boolean;
bundler?: 'webpack' | 'esbuild';
ssr?: boolean;
}