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.
1 parent e232d5a commit 8c0cbaeCopy full SHA for 8c0cbae
packages/react-native-builder-bob/src/index.ts
@@ -327,6 +327,10 @@ yargs
327
}
328
329
330
+ const packageManager = (await fs.pathExists(path.join(root, 'yarn.lock')))
331
+ ? 'yarn'
332
+ : 'npm';
333
+
334
console.log(
335
dedent(`
336
Project ${kleur.yellow(pkg.name)} configured successfully!
@@ -335,7 +339,7 @@ yargs
339
`${kleur.bold('Perform last steps')} by running`
340
)}${kleur.gray(':')}
337
341
338
- ${kleur.gray(':')} yarn
342
+ ${kleur.gray('$')} ${packageManager} install
343
344
${kleur.yellow('Good luck!')}
345
`)
0 commit comments