UNPKG

1.53 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularWorkspace",
4 "title": "Angular Workspace Options Schema",
5 "description": "Initializes an empty workspace and adds the necessary dependencies required by an Angular application.",
6 "type": "object",
7 "additionalProperties": false,
8 "properties": {
9 "name": {
10 "description": "The name of the workspace.",
11 "type": "string",
12 "$default": {
13 "$source": "argv",
14 "index": 0
15 }
16 },
17 "newProjectRoot": {
18 "description": "The path where new projects will be created.",
19 "type": "string",
20 "visible": "false"
21 },
22 "version": {
23 "type": "string",
24 "description": "The version of the Angular CLI to use.",
25 "visible": false,
26 "$default": {
27 "$source": "ng-cli-version"
28 }
29 },
30 "minimal": {
31 "description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)",
32 "type": "boolean",
33 "default": false
34 },
35 "strict": {
36 "description": "Create a workspace with stricter type checking options. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/strict",
37 "type": "boolean",
38 "default": true
39 },
40 "packageManager": {
41 "description": "The package manager used to install dependencies.",
42 "type": "string",
43 "enum": ["npm", "yarn", "pnpm", "cnpm", "bun"]
44 }
45 },
46 "required": ["name", "version"]
47}