2023-10-16 11:52:19 -04:00

33 lines
967 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;
host?: string;
port?: number;
setParserOptionsProject?: boolean;
skipPackageJson?: boolean;
addTailwind?: 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;
inlineStyle?: boolean;
inlineTemplate?: boolean;
viewEncapsulation?: 'Emulated' | 'Native' | 'None';
skipFormat?: boolean;
standalone?: boolean;
ssr?: boolean;
typescriptConfiguration?: boolean;
}