From b6cd5dbd96a3fe17246f712edaad144bd05240b4 Mon Sep 17 00:00:00 2001 From: Denis Andrasec Date: Mon, 9 Dec 2024 14:39:23 +0100 Subject: [PATCH] order flutter behind reactNative --- lib/Constants.ts | 10 +++++----- src/run.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Constants.ts b/lib/Constants.ts index c20b8db6..7dae00fa 100644 --- a/lib/Constants.ts +++ b/lib/Constants.ts @@ -1,7 +1,7 @@ /** Key value should be the same here */ export enum Integration { - flutter = 'flutter', reactNative = 'reactNative', + flutter = 'flutter', ios = 'ios', android = 'android', cordova = 'cordova', @@ -38,12 +38,12 @@ export function getPlatformDescription(type: string): string { export function getIntegrationDescription(type: string): string { switch (type) { - case Integration.flutter: - return 'Flutter'; case Integration.android: return 'Android'; case Integration.reactNative: return 'React Native'; + case Integration.flutter: + return 'Flutter'; case Integration.cordova: return 'Cordova'; case Integration.electron: @@ -65,12 +65,12 @@ export function getIntegrationDescription(type: string): string { export function mapIntegrationToPlatform(type: string): string | undefined { switch (type) { - case Integration.flutter: - return 'flutter'; case Integration.android: return 'android'; case Integration.reactNative: return 'react-native'; + case Integration.flutter: + return 'flutter'; case Integration.cordova: return 'cordova'; case Integration.electron: diff --git a/src/run.ts b/src/run.ts index 23683fb2..4778129a 100644 --- a/src/run.ts +++ b/src/run.ts @@ -101,8 +101,8 @@ export async function run(argv: Args) { clack.select({ message: 'What do you want to set up?', options: [ - { value: 'flutter', label: 'Flutter' }, { value: 'reactNative', label: 'React Native' }, + { value: 'flutter', label: 'Flutter' }, { value: 'ios', label: 'iOS' }, { value: 'android', label: 'Android' }, { value: 'cordova', label: 'Cordova' },