Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions packages/create-react-native-library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,21 +150,24 @@ const EXAMPLE_CHOICES = (
title: 'Vanilla',
value: 'vanilla',
description: "provides access to app's native code",
disabled: false,
},
// The test app is disabled for now until proper
// Codegen spec shipping is implemented
process.env.CRNL_ENABLE_TEST_APP && {
{
title: 'Test app',
value: 'test-app',
description: "app's native code is abstracted away",
// The test app is disabled for now until proper
// Codegen spec shipping is implemented
disabled: !process.env.CRNL_ENABLE_TEST_APP,
},
{
title: 'Expo',
value: 'expo',
description: 'managed expo project with web support',
disabled: false,
},
] as const
).filter(Boolean);
).filter((choice) => !choice.disabled);

const NEWARCH_DESCRIPTION = 'requires new arch (experimental)';
const BACKCOMPAT_DESCRIPTION = 'supports new arch (experimental)';
Expand Down
Loading