Skip to content

Commit 4a3d2a1

Browse files
authored
fix: every created example app is testing app (#684)
### Summary We aren't properly injecting the single-choice questions into our answers yet, and as a result the default example app was testing app. Addressed that problem ### Test plan 1. Create a new library 2. Make sure the example app is a vanilla testing app
1 parent ee6dd59 commit 4a3d2a1

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ async function create(_argv: yargs.Arguments<any>) {
588588
repoUrl,
589589
type = 'module-mixed',
590590
languages = type === 'library' ? 'js' : 'kotlin-objc',
591-
example = local ? 'none' : type === 'library' ? 'expo' : 'test-app',
591+
example = local ? 'none' : type === 'library' ? 'expo' : 'vanilla',
592592
reactNativeVersion,
593593
} = answers;
594594

0 commit comments

Comments
 (0)