We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
local
1 parent d58bced commit 63e90efCopy full SHA for 63e90ef
packages/create-react-native-library/src/index.ts
@@ -119,6 +119,7 @@ type Answers = {
119
type?: ProjectType;
120
example?: boolean;
121
reactNativeVersion?: string;
122
+ local?: boolean;
123
};
124
125
const LANGUAGE_CHOICES: {
@@ -501,6 +502,7 @@ async function create(_argv: yargs.Arguments<any>) {
501
502
503
const answers = {
504
...argv,
505
+ local,
506
...(await prompts(
507
Object.entries(questions)
508
.filter(([k, v]) => {
@@ -805,6 +807,7 @@ async function create(_argv: yargs.Arguments<any>) {
805
807
'repoUrl',
806
808
'example',
809
'reactNativeVersion',
810
+ 'local',
811
];
812
813
type AnswerEntries<T extends keyof Answers = keyof Answers> = [
0 commit comments