From 00ed8cf7bf40d1ecf39c16dba4bc0b8ad06fb343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Gu=CC=88ner?= Date: Fri, 24 May 2024 23:02:36 +0300 Subject: [PATCH] feat(crnl): pass --template blank to create-expo-app while creating a js only library --- .../src/utils/generateExampleApp.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/create-react-native-library/src/utils/generateExampleApp.ts b/packages/create-react-native-library/src/utils/generateExampleApp.ts index 91588b2fd..0021a6e2f 100644 --- a/packages/create-react-native-library/src/utils/generateExampleApp.ts +++ b/packages/create-react-native-library/src/utils/generateExampleApp.ts @@ -77,8 +77,14 @@ export default async function generateExampleApp({ '--skip-install', '--npm', ] - : // `npx create-expo-app example --no-install` - ['create-expo-app@latest', directory, '--no-install']; + : // `npx create-expo-app example --no-install --template blank` + [ + 'create-expo-app@latest', + directory, + '--no-install', + '--template', + 'blank', + ]; await spawn('npx', args, { cwd: dest,