Skip to content

Commit d81e08b

Browse files
authored
feat: Cap is no longer experimental and is default for Angular (#4745)
1 parent 75e635b commit d81e08b

File tree

1 file changed

+6
-2
lines changed
  • packages/@ionic/cli/src/commands

1 file changed

+6
-2
lines changed

packages/@ionic/cli/src/commands/start.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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']) {

0 commit comments

Comments
 (0)