Skip to content

Commit f7294af

Browse files
committed
Remove chalk.blue usage since it's sometimes too dark.
1 parent 6923eea commit f7294af

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

react-native-scripts/src/scripts/android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ packager.run(startAndroidAndPrintInfo);
1919
// print a nicely formatted message with setup information
2020
async function startAndroidAndPrintInfo() {
2121
const address = await UrlUtils.constructManifestUrlAsync(process.cwd());
22-
console.log(chalk.blue('Starting Android...'));
22+
console.log('Starting Android...');
2323

2424
const { success, error } = await Android.openProjectAsync(process.cwd());
2525

react-native-scripts/src/scripts/eject.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Ejecting is permanent! Please be careful with your selection.
112112
appJson.name = enteredName;
113113
appJson.displayName = enteredDisplayname;
114114

115-
console.log(chalk.blue('Writing your selections to app.json...'));
115+
console.log('Writing your selections to app.json...');
116116
// write the updated app.json file
117117
await fsp.writeFile(path.resolve('app.json'), JSON.stringify(appJson, null, 2));
118118
console.log(chalk.green('Wrote to app.json, please update it manually in the future.'));
@@ -187,14 +187,14 @@ If you have a .babelrc in your project, make sure to change the preset to \`reac
187187
// no longer relevant to an ejected project (maybe build is?)
188188
delete pkgJson.scripts.eject;
189189

190-
console.log(chalk.blue(`Updating your ${npmOrYarn} scripts in package.json...`));
190+
console.log(`Updating your ${npmOrYarn} scripts in package.json...`);
191191

192192
await fsp.writeFile(path.resolve('package.json'), JSON.stringify(pkgJson, null, 2));
193193

194194
console.log(chalk.green('Your package.json is up to date!'));
195195

196196
// FIXME now we need to provide platform-specific entry points until upstream uses a single one
197-
console.log(chalk.blue(`Adding platform-specific entry points...`));
197+
console.log(`Adding platform-specific entry points...`);
198198

199199
const lolThatsSomeComplexCode = `import { AppRegistry } from 'react-native';
200200
import App from './App';

react-native-scripts/src/scripts/ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function startSimulatorAndPrintInfo() {
3737
hostType: 'localhost',
3838
});
3939

40-
console.log(chalk.blue('Starting simulator...'));
40+
console.log('Starting simulator...');
4141
const { success, msg } = await Simulator.openUrlInSimulatorSafeAsync(localAddress);
4242

4343
if (success) {

react-native-scripts/src/util/packager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function installExitHooks(projectDir) {
2525
}
2626

2727
process.on('SIGINT', () => {
28-
console.log(chalk.blue('\nStopping packager...'));
28+
console.log('\nStopping packager...');
2929
cleanUpPackager(projectDir).then(() => {
3030
console.log(chalk.green('Packager stopped.'));
3131
process.exit();
@@ -108,7 +108,7 @@ function run(onReady: () => ?any, options: Object = {}) {
108108
});
109109

110110
installExitHooks(projectDir);
111-
console.log(chalk.blue('Starting packager...'));
111+
console.log('Starting packager...');
112112

113113
Project.startAsync(projectDir, options).then(
114114
() => {},

0 commit comments

Comments
 (0)