UNPKG

715 BTypeScriptView Raw
1import { PackageManager, Tree } from '@nrwl/devkit';
2import { Linter } from '../../utils/lint';
3interface Schema {
4 directory: string;
5 name: string;
6 appName?: string;
7 npmScope?: string;
8 skipInstall?: boolean;
9 style?: string;
10 nxCloud?: boolean;
11 preset: string;
12 defaultBase: string;
13 framework?: string;
14 docker?: boolean;
15 linter?: Linter;
16 bundler?: 'vite' | 'webpack';
17 standaloneApi?: boolean;
18 routing?: boolean;
19 packageManager?: PackageManager;
20}
21export interface NormalizedSchema extends Schema {
22 presetVersion?: string;
23}
24export declare function newGenerator(host: Tree, options: Schema): Promise<() => Promise<void>>;
25export default newGenerator;