dooboo-cli
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -168,6 +168,13 @@ #!/usr/bin/env node | ||
childProcess.execSync( | ||
`cd ${nameOfApp} && yarn && cd ios && pod install`, | ||
{ stdio: 'inherit' }, | ||
); | ||
if (os.type() === 'Darwin') { | ||
childProcess.execSync( | ||
`cd ${nameOfApp} && yarn && cd ios && pod install`, | ||
{ stdio: 'inherit' }, | ||
); | ||
} else { | ||
childProcess.execSync(`cd ${nameOfApp} && yarn`, { | ||
stdio: 'inherit', | ||
}); | ||
} | ||
spinner.stop(); | ||
@@ -174,0 +181,0 @@ |
@@ -5,2 +5,6 @@ ## Changelogs | ||
- Compatible with RN >= 0.60. | ||
- Run pod installation after installation in rn. | ||
- Check pod installation when it is macos. | ||
- Run `pod install` when it is macos. | ||
- Update packages. | ||
@@ -7,0 +11,0 @@ **[1.9.+]** |
@@ -98,3 +98,10 @@ #!/usr/bin/env node | ||
shell.rm('-rf', `${nameOfApp}/${nameOfApp}`); | ||
childProcess.execSync(`cd ${nameOfApp} && yarn && cd ios && pod install`, { stdio: 'inherit' }); | ||
if (os.type() === 'Darwin') { | ||
childProcess.execSync(`cd ${nameOfApp} && yarn && cd ios && pod install`, { stdio: 'inherit' }); | ||
} | ||
else { | ||
childProcess.execSync(`cd ${nameOfApp} && yarn`, { | ||
stdio: 'inherit', | ||
}); | ||
} | ||
spinner.stop(); | ||
@@ -101,0 +108,0 @@ shell.echo(chalk_1.default.greenBright(`Created ${nameOfApp} successfully.`)); |
{ | ||
"name": "dooboo-cli", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "starting react express app with me!", | ||
@@ -5,0 +5,0 @@ "bin": { |
{ | ||
"name": "dooboo-cli", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "starting react express app with me!", | ||
@@ -5,0 +5,0 @@ "bin": { |
70877
1654