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 327327 "additionalProperties" : {
328328 "$ref" : " #/definitions/project/definitions/target"
329329 }
330+ },
331+ "targets" : {
332+ "type" : " object" ,
333+ "additionalProperties" : {
334+ "$ref" : " #/definitions/project/definitions/target"
335+ }
330336 }
331337 },
332338 "required" : [
333339 " root" ,
334340 " projectType"
335341 ],
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+ ],
336364 "additionalProperties" : false ,
337365 "patternProperties" : {
338366 "^[a-z]{1,3}-.*" : {}
You can’t perform that action at this time.
0 commit comments