Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[6a3a178] | 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 | "format": "html-selector",
|
---|
| 13 | "$default": {
|
---|
| 14 | "$source": "argv",
|
---|
| 15 | "index": 0
|
---|
| 16 | }
|
---|
| 17 | },
|
---|
| 18 | "newProjectRoot": {
|
---|
| 19 | "description": "The path where new projects will be created.",
|
---|
| 20 | "type": "string",
|
---|
| 21 | "visible": "false"
|
---|
| 22 | },
|
---|
| 23 | "version": {
|
---|
| 24 | "type": "string",
|
---|
| 25 | "description": "The version of the Angular CLI to use.",
|
---|
| 26 | "visible": false,
|
---|
| 27 | "$default": {
|
---|
| 28 | "$source": "ng-cli-version"
|
---|
| 29 | }
|
---|
| 30 | },
|
---|
| 31 | "minimal": {
|
---|
| 32 | "description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)",
|
---|
| 33 | "type": "boolean",
|
---|
| 34 | "default": false,
|
---|
| 35 | "x-user-analytics": 14
|
---|
| 36 | },
|
---|
| 37 | "strict": {
|
---|
| 38 | "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",
|
---|
| 39 | "type": "boolean",
|
---|
| 40 | "default": true,
|
---|
| 41 | "x-user-analytics": 7
|
---|
| 42 | },
|
---|
| 43 | "packageManager": {
|
---|
| 44 | "description": "The package manager used to install dependencies.",
|
---|
| 45 | "type": "string",
|
---|
| 46 | "enum": ["npm", "yarn", "pnpm", "cnpm"]
|
---|
| 47 | }
|
---|
| 48 | },
|
---|
| 49 | "required": ["name", "version"]
|
---|
| 50 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.