1 | import { PackageManager, Tree } from '@nrwl/devkit';
|
2 | import { Linter } from '../../utils/lint';
|
3 | interface 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 | }
|
21 | export interface NormalizedSchema extends Schema {
|
22 | presetVersion?: string;
|
23 | }
|
24 | export declare function newGenerator(host: Tree, options: Schema): Promise<() => Promise<void>>;
|
25 | export default newGenerator;
|