Skip to content

Commit dd2fd86

Browse files
committed
fix(capacitor): save Capacitor CLI in dev deps
fixes #3848
1 parent 286917f commit dd2fd86

File tree

1 file changed

+1
-1
lines changed
  • packages/ionic/src/lib/integrations/capacitor

1 file changed

+1
-1
lines changed

packages/ionic/src/lib/integrations/capacitor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class Integration extends BaseIntegration<ProjectIntegration> {
6060
}
6161

6262
async installCapacitorCLI() {
63-
const [ manager, ...managerArgs ] = await pkgManagerArgs(this.e.config.get('npmClient'), { command: 'install', pkg: '@capacitor/cli' });
63+
const [ manager, ...managerArgs ] = await pkgManagerArgs(this.e.config.get('npmClient'), { command: 'install', pkg: '@capacitor/cli', saveDev: true });
6464
await this.e.shell.run(manager, managerArgs, { cwd: this.e.project.directory });
6565
}
6666

0 commit comments

Comments
 (0)