With the introduction of standalone components in our CLI the ng-schematics need to be able to resolve the type of the project when calling ng new. So far, we've only had one project library for angular - igx-ts, though now we have two - igx-ts & igx-ts-legacy. This creates the need to add the --type flag which will default to igx-ts and when calling ng new this will allow our schematics to not initiate a prompt session.
coverage: 66.055% (-0.07%) from 66.127%
when pulling 7247f4d340d6255ab95fad52f42860087f7630b0 on bpenkov/ng-proj-resolve
into 22f31e1f3d7408741edf8b57178bd6801c6edf24 on master.
With the introduction of standalone components in our CLI the ng-schematics need to be able to resolve the type of the project when calling
ng new
. So far, we've only had one project library for angular -igx-ts
, though now we have two -igx-ts
&igx-ts-legacy
. This creates the need to add the--type
flag which will default toigx-ts
and when callingng new
this will allow our schematics to not initiate a prompt session.