File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
packages/angular/cli/lib/config Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 327
327
"additionalProperties" : {
328
328
"$ref" : " #/definitions/project/definitions/target"
329
329
}
330
+ },
331
+ "targets" : {
332
+ "type" : " object" ,
333
+ "additionalProperties" : {
334
+ "$ref" : " #/definitions/project/definitions/target"
335
+ }
330
336
}
331
337
},
332
338
"required" : [
333
339
" root" ,
334
340
" projectType"
335
341
],
342
+ "anyOf" : [
343
+ {
344
+ "required" : [" architect" ],
345
+ "not" : {
346
+ "required" : [" targets" ]
347
+ }
348
+ },
349
+ {
350
+ "required" : [" targets" ],
351
+ "not" : {
352
+ "required" : [" architect" ]
353
+ }
354
+ },
355
+ {
356
+ "not" : {
357
+ "required" : [
358
+ " targets" ,
359
+ " architect"
360
+ ]
361
+ }
362
+ }
363
+ ],
336
364
"additionalProperties" : false ,
337
365
"patternProperties" : {
338
366
"^[a-z]{1,3}-.*" : {}
You can’t perform that action at this time.
0 commit comments