File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
packages/create-react-native-library/src Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ import path from 'path';
33import https from 'https' ;
44import { spawn } from '../utils/spawn' ;
55import sortObjectKeys from '../utils/sortObjectKeys' ;
6-
7- export type ExampleType = 'vanilla' | 'test-app' | 'expo' | 'none' ;
6+ import type { ExampleApp } from '../input' ;
87
98const FILES_TO_DELETE = [
109 '__tests__' ,
@@ -50,7 +49,7 @@ export default async function generateExampleApp({
5049 bobVersion,
5150 reactNativeVersion = 'latest' ,
5251} : {
53- type : ExampleType ;
52+ type : ExampleApp ;
5453 dest : string ;
5554 arch : 'new' | 'mixed' | 'legacy' ;
5655 project : {
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import validateNpmPackage from 'validate-npm-package-name';
22import githubUsername from 'github-username' ;
33import type yargs from 'yargs' ;
44import type { PromptObject } from './utils/prompts' ;
5- import type { ExampleType } from './exampleApp/generateExampleApp' ;
65import { spawn } from './utils/spawn' ;
76
87export type ArgName =
@@ -202,7 +201,7 @@ export type Answers = {
202201 repoUrl : string ;
203202 languages : ProjectLanguages ;
204203 type ?: ProjectType ;
205- example ?: ExampleType ;
204+ example ?: ExampleApp ;
206205 reactNativeVersion ?: string ;
207206 local ?: boolean ;
208207} ;
You can’t perform that action at this time.
0 commit comments