Skip to content

Commit 5de56c7

Browse files
committed
refactor: move config to root
1 parent e5dc504 commit 5de56c7

File tree

1 file changed

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

1 file changed

+1
-4
lines changed

packages/create-react-native-library/src/template/config.ts renamed to packages/create-react-native-library/src/config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Answers } from 'create-react-native-library';
1+
import type { Answers, ExampleApp, SupportedArchitecture } from './input';
22

33
// Please think at least 5 times before introducing a new config key
44
// You can just reuse the existing ones most of the time
@@ -31,9 +31,6 @@ export type TemplateConfiguration = {
3131
year: number;
3232
};
3333

34-
export type SupportedArchitecture = 'new' | 'mixed' | 'legacy';
35-
export type ExampleApp = 'none' | 'test-app' | 'expo' | 'vanilla';
36-
3734
export function generateTemplateConfiguration({
3835
bobVersion,
3936
basename,

0 commit comments

Comments
 (0)