Skip to content

Commit 63e90ef

Browse files
committed
feat: ignore the local key
1 parent d58bced commit 63e90ef

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ type Answers = {
119119
type?: ProjectType;
120120
example?: boolean;
121121
reactNativeVersion?: string;
122+
local?: boolean;
122123
};
123124

124125
const LANGUAGE_CHOICES: {
@@ -501,6 +502,7 @@ async function create(_argv: yargs.Arguments<any>) {
501502

502503
const answers = {
503504
...argv,
505+
local,
504506
...(await prompts(
505507
Object.entries(questions)
506508
.filter(([k, v]) => {
@@ -805,6 +807,7 @@ async function create(_argv: yargs.Arguments<any>) {
805807
'repoUrl',
806808
'example',
807809
'reactNativeVersion',
810+
'local',
808811
];
809812

810813
type AnswerEntries<T extends keyof Answers = keyof Answers> = [

0 commit comments

Comments
 (0)