File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/@ionic/cli/src/commands Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,12 @@ Use the ${input('--type')} option to start projects using older versions of Ioni
9898 name : 'cordova' ,
9999 summary : 'Include Cordova integration' ,
100100 type : Boolean ,
101+ groups : [ MetadataGroup . DEPRECATED ]
101102 } ,
102103 {
103104 name : 'capacitor' ,
104105 summary : 'Include Capacitor integration' ,
105106 type : Boolean ,
106- groups : [ MetadataGroup . EXPERIMENTAL ] ,
107107 } ,
108108 {
109109 name : 'deps' ,
@@ -541,7 +541,11 @@ Use the ${input('--type')} option to start projects using older versions of Ioni
541541 if ( ! this . schema . cloned ) {
542542 if ( this . schema . type === 'react' || this . schema . type === 'vue' ) {
543543 options [ 'capacitor' ] = true ;
544- }
544+ }
545+
546+ if ( this . schema . type === 'angular' && options [ 'cordova' ] === null ) {
547+ options [ 'capacitor' ] = true ;
548+ }
545549
546550
547551 if ( options [ 'cordova' ] ) {
You can’t perform that action at this time.
0 commit comments