Skip to content

Commit 69da65e

Browse files
committed
feat: expo sdk 50 proj
1 parent d60333f commit 69da65e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

bin/const.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export const EXPO_48_BRANCH = 'release/48';
22
export const EXPO_49_BRANCH = 'release/49';
3+
export const EXPO_50_BRANCH = 'release/50';
34
export const LATEST = 'main';

bin/root.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const welcome = `
3939
export enum TYPE_OF_APP {
4040
EXPO_48 = 1,
4141
EXPO_49 = 2,
42+
EXPO_50 = 3,
4243
}
4344

4445
export enum TYPE_OF_RN_NAVIGATION {
@@ -104,7 +105,8 @@ program
104105
// const stream = process.stdin;
105106

106107
list
107-
.option(' Current (49) ', 0)
108+
.option(' Latest ', 0)
109+
.option(' Expo SDK 50 ', TYPE_OF_APP.EXPO_50)
108110
.option(' Expo SDK 49 ', TYPE_OF_APP.EXPO_49)
109111
.option(' Expo SDK 48 ', TYPE_OF_APP.EXPO_48)
110112
.list();
@@ -188,7 +190,11 @@ program
188190
shell.exit(1);
189191
}
190192

191-
if (options[0].value === TYPE_OF_APP.EXPO_48 || TYPE_OF_APP.EXPO_49) {
193+
if (
194+
options[0].value === TYPE_OF_APP.EXPO_48 ||
195+
TYPE_OF_APP.EXPO_49 ||
196+
TYPE_OF_APP.EXPO_50
197+
) {
192198
cbResultExpo(template, nameOfApp, answer, options, spinner);
193199
}
194200
});

0 commit comments

Comments
 (0)