From 8a84ec2081e6e6193cbd1c724f020b83a3d0df5c Mon Sep 17 00:00:00 2001 From: Nicholas Hyatt Date: Thu, 5 Aug 2021 10:58:45 -0500 Subject: [PATCH] chore: Cap is no longer experimental and is default for Angular --- packages/@ionic/cli/src/commands/start.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/@ionic/cli/src/commands/start.ts b/packages/@ionic/cli/src/commands/start.ts index cee0e92312..399e898ac0 100644 --- a/packages/@ionic/cli/src/commands/start.ts +++ b/packages/@ionic/cli/src/commands/start.ts @@ -98,12 +98,12 @@ Use the ${input('--type')} option to start projects using older versions of Ioni name: 'cordova', summary: 'Include Cordova integration', type: Boolean, + groups: [MetadataGroup.DEPRECATED] }, { name: 'capacitor', summary: 'Include Capacitor integration', type: Boolean, - groups: [MetadataGroup.EXPERIMENTAL], }, { name: 'deps', @@ -541,7 +541,11 @@ Use the ${input('--type')} option to start projects using older versions of Ioni if (!this.schema.cloned) { if (this.schema.type === 'react' || this.schema.type === 'vue') { options['capacitor'] = true; - } + } + + if (this.schema.type === 'angular' && options['cordova'] === null) { + options['capacitor'] = true; + } if (options['cordova']) {