|
67 | 67 | "description": "Show a warning when the global version is newer than the local one.",
|
68 | 68 | "type": "boolean"
|
69 | 69 | }
|
70 |
| - } |
| 70 | + }, |
| 71 | + "additionalProperties": false |
71 | 72 | },
|
72 | 73 | "analytics": {
|
73 | 74 | "type": ["boolean", "string"],
|
|
86 | 87 | "type": "string",
|
87 | 88 | "format": "uuid"
|
88 | 89 | }
|
89 |
| - } |
| 90 | + }, |
| 91 | + "additionalProperties": false |
90 | 92 | },
|
91 | 93 | "cache": {
|
92 | 94 | "description": "Control disk cache.",
|
|
105 | 107 | "description": "Cache base path.",
|
106 | 108 | "type": "string"
|
107 | 109 | }
|
| 110 | + }, |
| 111 | + "additionalProperties": false |
| 112 | + } |
| 113 | + }, |
| 114 | + "additionalProperties": false |
| 115 | + }, |
| 116 | + "cliGlobalOptions": { |
| 117 | + "type": "object", |
| 118 | + "properties": { |
| 119 | + "defaultCollection": { |
| 120 | + "description": "The default schematics collection to use.", |
| 121 | + "type": "string", |
| 122 | + "x-deprecated": "Use 'schematicCollections' instead." |
| 123 | + }, |
| 124 | + "schematicCollections": { |
| 125 | + "type": "array", |
| 126 | + "description": "The list of schematic collections to use.", |
| 127 | + "items": { |
| 128 | + "type": "string", |
| 129 | + "uniqueItems": true |
108 | 130 | }
|
| 131 | + }, |
| 132 | + "packageManager": { |
| 133 | + "description": "Specify which package manager tool to use.", |
| 134 | + "type": "string", |
| 135 | + "enum": ["npm", "cnpm", "yarn", "pnpm"] |
| 136 | + }, |
| 137 | + "warnings": { |
| 138 | + "description": "Control CLI specific console warnings", |
| 139 | + "type": "object", |
| 140 | + "properties": { |
| 141 | + "versionMismatch": { |
| 142 | + "description": "Show a warning when the global version is newer than the local one.", |
| 143 | + "type": "boolean" |
| 144 | + } |
| 145 | + }, |
| 146 | + "additionalProperties": false |
| 147 | + }, |
| 148 | + "analytics": { |
| 149 | + "type": ["boolean", "string"], |
| 150 | + "description": "Share anonymous usage data with the Angular Team at Google." |
| 151 | + }, |
| 152 | + "analyticsSharing": { |
| 153 | + "type": "object", |
| 154 | + "properties": { |
| 155 | + "tracking": { |
| 156 | + "description": "Analytics sharing info tracking ID.", |
| 157 | + "type": "string", |
| 158 | + "pattern": "^(GA|UA)?-\\d+-\\d+$" |
| 159 | + }, |
| 160 | + "uuid": { |
| 161 | + "description": "Analytics sharing info universally unique identifier.", |
| 162 | + "type": "string", |
| 163 | + "format": "uuid" |
| 164 | + } |
| 165 | + }, |
| 166 | + "additionalProperties": false |
| 167 | + }, |
| 168 | + "completion": { |
| 169 | + "type": "object", |
| 170 | + "description": "Angular CLI completion settings.", |
| 171 | + "properties": { |
| 172 | + "prompted": { |
| 173 | + "type": "boolean", |
| 174 | + "description": "Whether the user has been prompted to add completion command prompt." |
| 175 | + } |
| 176 | + }, |
| 177 | + "additionalProperties": false |
109 | 178 | }
|
110 | 179 | },
|
111 | 180 | "additionalProperties": false
|
|
575 | 644 | "type": "object",
|
576 | 645 | "properties": {
|
577 | 646 | "$schema": {
|
578 |
| - "type": "string", |
579 |
| - "format": "uri" |
| 647 | + "type": "string" |
580 | 648 | },
|
581 | 649 | "version": {
|
582 | 650 | "$ref": "#/definitions/fileVersion"
|
583 | 651 | },
|
584 | 652 | "cli": {
|
585 |
| - "$ref": "#/definitions/cliOptions" |
| 653 | + "$ref": "#/definitions/cliGlobalOptions" |
586 | 654 | },
|
587 | 655 | "schematics": {
|
588 | 656 | "$ref": "#/definitions/schematicOptions"
|
|
0 commit comments