UNPKG

1.06 kBTypeScriptView Raw
1/**
2 * Initializes an empty workspace and adds the necessary dependencies required by an Angular
3 * application.
4 */
5export interface Schema {
6 /**
7 * Create a workspace without any testing frameworks. (Use for learning purposes only.)
8 */
9 minimal?: boolean;
10 /**
11 * The name of the workspace.
12 */
13 name: string;
14 /**
15 * The path where new projects will be created.
16 */
17 newProjectRoot?: string;
18 /**
19 * The package manager used to install dependencies.
20 */
21 packageManager?: PackageManager;
22 /**
23 * Create a workspace with stricter type checking options. This setting helps improve
24 * maintainability and catch bugs ahead of time. For more information, see
25 * https://angular.io/strict
26 */
27 strict?: boolean;
28 /**
29 * The version of the Angular CLI to use.
30 */
31 version: string;
32}
33/**
34 * The package manager used to install dependencies.
35 */
36export declare enum PackageManager {
37 Bun = "bun",
38 Cnpm = "cnpm",
39 Npm = "npm",
40 Pnpm = "pnpm",
41 Yarn = "yarn"
42}