Skip to content

Commit f8f45f3

Browse files
committed
feat: re-enable microsoft test app
1 parent ad7ea90 commit f8f45f3

1 file changed

Lines changed: 19 additions & 24 deletions

File tree

  • packages/create-react-native-library/src

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

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -74,30 +74,25 @@ const LANGUAGE_CHOICES: {
7474
},
7575
];
7676

77-
const EXAMPLE_CHOICES = (
78-
[
79-
{
80-
title: 'App with Community CLI',
81-
value: 'vanilla',
82-
description: "Provides access to app's native code",
83-
disabled: false,
84-
},
85-
{
86-
title: 'Test App by Microsoft',
87-
value: 'test-app',
88-
description: "App's native code is abstracted away",
89-
// Test App currently doesn't work with React Native 0.79.2
90-
// due to missing `Gemfile` in the template
91-
disabled: !process.env.CRNL_ENABLE_TEST_APP,
92-
},
93-
{
94-
title: 'App with Expo CLI',
95-
value: 'expo',
96-
description: 'Managed expo app with web support',
97-
disabled: false,
98-
},
99-
] as const
100-
).filter((choice) => !choice.disabled);
77+
const EXAMPLE_CHOICES = [
78+
{
79+
title: 'App with Community CLI',
80+
value: 'vanilla',
81+
description: "Provides access to app's native code",
82+
disabled: false,
83+
},
84+
{
85+
title: 'Test App by Microsoft',
86+
value: 'test-app',
87+
description: "App's native code is abstracted away",
88+
},
89+
{
90+
title: 'App with Expo CLI',
91+
value: 'expo',
92+
description: 'Managed expo app with web support',
93+
disabled: false,
94+
},
95+
] as const;
10196

10297
const validateDirectory = (input: string) => {
10398
if (!input) {

0 commit comments

Comments
 (0)