File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ export const EXPO_48_BRANCH = 'release/48';
22export const EXPO_49_BRANCH = 'release/49' ;
33export const EXPO_50_BRANCH = 'release/50' ;
44export const EXPO_51_BRANCH = 'release/51' ;
5+ export const EXPO_52_BRANCH = 'release/52' ;
56export const LATEST = 'main' ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ import {
3030 EXPO_48_BRANCH ,
3131 EXPO_49_BRANCH ,
3232 EXPO_50_BRANCH ,
33+ EXPO_51_BRANCH ,
34+ EXPO_52_BRANCH ,
3335 LATEST ,
3436} from './const.js' ;
3537
@@ -46,6 +48,7 @@ export enum TYPE_OF_APP {
4648 EXPO_49 = 2 ,
4749 EXPO_50 = 3 ,
4850 EXPO_51 = 4 ,
51+ EXPO_52 = 5 ,
4952}
5053
5154export enum TYPE_OF_RN_NAVIGATION {
@@ -112,6 +115,7 @@ program
112115
113116 list
114117 . option ( ' Latest ' , 0 )
118+ . option ( ' Expo SDK 52 ' , TYPE_OF_APP . EXPO_52 )
115119 . option ( ' Expo SDK 51 ' , TYPE_OF_APP . EXPO_51 )
116120 . option ( ' Expo SDK 50 ' , TYPE_OF_APP . EXPO_50 )
117121 . option ( ' Expo SDK 49 ' , TYPE_OF_APP . EXPO_49 )
@@ -150,6 +154,14 @@ program
150154 case TYPE_OF_APP . EXPO_50 :
151155 template = `-b ${ EXPO_50_BRANCH } https://github.com/hyochan/expo-router-starter.git` ;
152156
157+ break ;
158+ case TYPE_OF_APP . EXPO_51 :
159+ template = `-b ${ EXPO_51_BRANCH } https://github.com/hyochan/expo-router-starter.git` ;
160+
161+ break ;
162+ case TYPE_OF_APP . EXPO_52 :
163+ template = `-b ${ EXPO_52_BRANCH } https://github.com/hyochan/expo-router-starter.git` ;
164+
153165 break ;
154166 default :
155167 template = `-b ${ LATEST } https://github.com/hyochan/expo-router-starter.git` ;
You can’t perform that action at this time.
0 commit comments