Skip to content

Commit cc509bb

Browse files
authored
feat: make the vanilla example app the first option (#654)
### Summary This makes the vanilla example app the first option when the CLI asks for the type of the example app. ![Screenshot 2024-10-18 at 18 12 00](https://github.com/user-attachments/assets/63943479-cab2-4a54-b8e7-6d5a6355799d) We were seeing some RNTA specific bugs such as #639 With that being said, this is in no way an attempt to fix the bugs that are caused by create-react-native-library when we integrate with the React Native Testing App. Such bugs should still be fixed by the team. ### Test plan 1. Run creact-react-native-library 2. Pick a native library template 3. Make sure when the example type is asked, vanilla example is the first option.
1 parent 86fab42 commit cc509bb

File tree

1 file changed

+5
-5
lines changed
  • packages/create-react-native-library/src

1 file changed

+5
-5
lines changed

packages/create-react-native-library/src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,16 @@ const LANGUAGE_CHOICES: {
144144
];
145145

146146
const EXAMPLE_CHOICES = [
147-
{
148-
title: 'Test app',
149-
value: 'test-app',
150-
description: "app's native code is abstracted away",
151-
},
152147
{
153148
title: 'Vanilla',
154149
value: 'vanilla',
155150
description: "provides access to app's native code",
156151
},
152+
{
153+
title: 'Test app',
154+
value: 'test-app',
155+
description: "app's native code is abstracted away",
156+
},
157157
{
158158
title: 'Expo',
159159
value: 'expo',

0 commit comments

Comments
 (0)