| /expo/packages/@expo/cli/src/start/ |
| H A D | index.ts | 2 import chalk from 'chalk'; 50 chalk`npx expo start {dim <dir>}`, 52 …chalk`<dir> Directory of the Expo project. {dim Default: Current working… 57 chalk`-d, --dev-client Launch in a custom native app`, 58 chalk`-g, --go Launch in Expo Go`, 65 chalk`-m, --host <string> Dev server hosting type. {dim Default: lan}`, 66 chalk` {bold lan}: Use the local network`, 67 … chalk` {bold tunnel}: Use any network by tunnel through ngrok`, 68 … chalk` {bold localhost}: Connect to the dev server over localhost`, 76 …chalk`-p, --port <number> Port to start the dev server on (does not apply to web or tu… [all …]
|
| /expo/packages/@expo/cli/src/install/ |
| H A D | index.ts | 2 import chalk from 'chalk'; 29 … chalk`--npm Use npm to install dependencies. {dim Default when package-lock.json exists}`, 30 chalk`--yarn Use Yarn to install dependencies. {dim Default when yarn.lock exists}`, 31 chalk`--bun Use bun to install dependencies. {dim Default when bun.lockb exists}`, 32 … chalk`--pnpm Use pnpm to install dependencies. {dim Default when pnpm-lock.yaml exists}`, 37 … chalk` Additional options can be passed to the underlying install command by using {bold --}`, 38 chalk` {dim $} npx expo install react -- --verbose`, 39 chalk` {dim >} yarn add react --verbose`,
|
| /expo/packages/@expo/cli/src/prebuild/ |
| H A D | index.ts | 2 import chalk from 'chalk'; 32 chalk`npx expo prebuild {dim <dir>}`, 34 …chalk`<dir> Directory of the Expo project. {dim Default: Curren… 37 …chalk`--npm Use npm to install dependencies. {dim Default when … 38 …chalk`--yarn Use Yarn to install dependencies. {dim Default when… 39 …chalk`--bun Use bun to install dependencies. {dim Default when … 40 …chalk`--pnpm Use pnpm to install dependencies. {dim Default when… 42 …chalk`-p, --platform <all|android|ios> Platforms to sync: ios, android, all. {dim Default:…
|
| /expo/tools/src/commands/ |
| H A D | CherryPickCommand.ts | 2 import chalk from 'chalk'; 73 `\nLooking for commits to cherry-pick from ${chalk.bold(chalk.blue(source))} to ${chalk.bold( 74 chalk.blue(destination) 130 logger.log(chalk.bold(chalk.red('Ignoring the following commits from before the start date:'))); 135 ` ❌ ${chalk.red(commit.hash.slice(0, 10))} ${commit.authorDate} ${chalk.magenta( 153 message: `Choose which commits to cherry-pick from ${chalk.blue(source)} to ${chalk.blue( 155 )}\n ${chalk.green('●')} selected ○ unselected\n`, 159 name: `${chalk.yellow(commit.hash.slice(0, 10))} ${commit.authorDate} ${chalk.magenta( 172 logger.log(chalk.bold(chalk.yellow(`git checkout ${destination}`))); 174 logger.info(`Checking out ${chalk.bold(chalk.blue(destination))} branch...`); [all …]
|
| H A D | GenerateSDKDocs.ts | 3 import chalk from 'chalk'; 37 console.log(`Updating ${chalk.cyan('react-native-website')} submodule...`); 64 chalk.magenta(versionDirectory), 69 `Copying ${chalk.yellow('unversioned')} docs to ${chalk.yellow( 93 chalk.magenta(versionDirectory), 98 `Copying ${chalk.yellow('unversioned')} static examples to ${chalk.yellow( 108 chalk.magenta(versionDirectory), 113 `Copying ${chalk.yellow('unversioned')} generated API files to ${chalk.yellow( 122 `\nDocs version ${chalk.red( 125 `\nWhen the new version is ready to deploy, set version to ${chalk.red( [all …]
|
| H A D | UpdateProjectTemplates.ts | 4 import chalk from 'chalk'; 53 console.log(`Updating ${chalk.bold.green(template.name)}...`); 75 chalk.yellow('>'), 76 `Current version ${chalk.cyan(targetVersion)} of ${chalk.blue( 82 chalk.yellow('>'), 83 `Updating ${chalk.blue(dependencyName)} from ${chalk.cyan( 85 )} to ${chalk.cyan(targetVersion)}...` 101 console.log(chalk.yellow('>'), 'Yarning...'); 123 `Cannot infer current SDK version - please use ${chalk.gray('--sdkVersion')} flag.` 139 console.log(chalk.yellow('>'), chalk.green('Success!'), '\n');
|
| H A D | PromoteVersionsToProduction.ts | 3 import chalk from 'chalk'; 23 console.log(chalk.yellow('There are no changes to apply in the configuration.')); 27 console.log(`Here is the diff from ${chalk.green('staging')} -> ${chalk.green('production')}:`); 34 message: `Does this look correct? Type \`y\` to update ${chalk.green('production')} config.`, 44 chalk.green('\nSuccessfully updated production config. You can check it out on'), 45 chalk.blue(`https://${PRODUCTION_API_HOST}/--/api/v2/versions`) 48 console.log(chalk.yellow('Canceled'));
|
| H A D | PublishDevExpoHomeCommand.ts | 3 import chalk from 'chalk'; 97 console.log(`Publishing ${chalk.green(slug)}...`); 109 `Done publishing ${chalk.green(slug)}. Update Group ID is: ${chalk.blue( 157 console.log(`Creating backup of ${chalk.magenta('app.json')} file...`); 165 console.log(`Modifying home's slug to ${chalk.green(slug)}...`); 174 console.log(`Logging out from ${chalk.green(cliUsername)} account...`); 195 console.log(`Updating ${chalk.magenta('app.json')} file...`); 202 chalk.yellow( 203 `Finished publishing. Remember to commit changes of ${chalk.magenta( 205 )} and ${chalk.magenta('dev-home-config.json')}.` [all …]
|
| H A D | UpdateVersionsEndpoint.ts | 3 import chalk from 'chalk'; 54 console.log(`Deleting ${chalk.yellow(key)} config key ...`); 57 console.log(`Changing ${chalk.yellow(key)} config key ...`); 84 chalk.green('\nSuccessfully updated staging config. You can check it out on'), 85 chalk.blue(`https://${STAGING_API_HOST}/--/api/v2/versions`) 88 console.log(chalk.yellow('Canceled')); 132 console.error(chalk.red(`Provided SDK version ${chalk.cyan(sdkVersion)} is invalid.`)); 140 message: `Configuration for SDK ${chalk.cyan( 147 console.log(chalk.yellow('Canceled')); 155 console.log(`\nUsing ${chalk.blue(STAGING_API_HOST)} host ...`); [all …]
|
| H A D | ClientInstall.ts | 4 import chalk from 'chalk'; 18 console.error(chalk.red('iOS simulator is not installed!')); 30 console.log(`Installing Expo client from ${chalk.blue(clientUrl)} on iOS simulator...`); 40 console.log(`Launching Expo client with identifier ${chalk.blue(appIdentifier)}...`); 72 `Installing Expo client from ${chalk.blue(clientUrl)} on Android ${device.type}...` 87 console.error(chalk.red(`Unable to install Expo client: ${error.message}`)); 98 throw new Error(`Unable to find SDK version. Try to use ${chalk.yellow('--sdkVersion')} flag.`); 108 throw new Error(`Versions configuration for SDK ${chalk.cyan(sdkVersion)} not found!`); 115 throw new Error(`Client url not found at ${chalk.yellow(tarballKey)} key of versions config!`); 131 console.log(chalk.green('Successfully installed and launched staging version of the client '));
|
| H A D | UpdateReactNative.ts | 3 import chalk from 'chalk'; 15 `Running ${chalk.blue('ReactAndroidCodeTransformer')} with ${chalk.yellow( 36 `Updating ${chalk.green('ReactAndroid')} for SDK ${chalk.cyan(androidSdkVersion)} ...`
|
| H A D | AddSDKVersion.ts | 2 import chalk from 'chalk'; 26 `${chalk.red('`--sdkVersion`')} not provided - defaulting to ${chalk.cyan(defaultSdkVersion)}` 39 return `Invalid version: ${chalk.cyan(value)}`; 100 ${chalk.gray('>')} ${chalk.italic.cyan('et add-sdk-version --platform ios')} 103 ${chalk.gray('>')} ${chalk.italic.cyan( 109 …Specifies a platform for which the SDK code should be generated. Supported platforms: ${chalk.cyan(
|
| /expo/packages/@expo/cli/src/start/server/metro/ |
| H A D | MetroTerminalReporter.ts | 1 import chalk from 'chalk'; 41 const color = phase === 'done' ? chalk.green : chalk.red; constant 56 ? chalk.green.bgGreen(DARK_BLOCK_CHAR.repeat(filledBar)) + 59 chalk.dim( 68 chalk.reset.dim(`${path.dirname(localPath)}/`) + 69 chalk.bold(path.basename(localPath)) + 102 chalk.red( 155 `The package at "${chalk.bold( 167 )}" from "${chalk.bold(relativePath)}".`, 221 return `${chalk.bold(formatted)} `; [all …]
|
| /expo/tools/src/packages-graph/ |
| H A D | PackagesGraphUtils.ts | 1 import chalk from 'chalk'; 29 process.stdout.write(chalk.dim(`${name} ...`) + EOL); 85 console.log(`${chalk.bold(node.name)} has no dependents`); 92 console.log(`- ${chalk.bold(node.name)}`); 100 isCyclic ? chalk.red('∞') : '', constant 103 return chalk.gray(rawPointer); 112 return chalk.bold(name); 116 return chalk.green(name); 118 return chalk.yellow(name); 120 return chalk.magenta(name); [all …]
|
| /expo/apps/bare-expo/e2e/utils/ |
| H A D | report.js | 1 import chalk from 'chalk'; 8 .replace(/---/g, chalk.cyan('---')) 10 .join(chalk.red('+++')) 12 .join(chalk.magenta.bold(` ${testName} `)) 13 .replace(/toBe:\s/g, chalk.bold.green('toBe: ')); 15 console.log(`\n${chalk.bgMagenta.bold.black(` RESULTS `)}\n\n${formatResults(results)}`); 18 console.log(`\n${chalk.bgRed.bold.black(` FAILED `)}\n\n${formatResults(failures)}`);
|
| /expo/packages/expo-modules-autolinking/src/autolinking/ |
| H A D | verifySearchResults.ts | 1 import chalk from 'chalk'; 18 console.warn(`⚠️ Found multiple revisions of ${chalk.green(moduleName)}`); 19 console.log(` - ${chalk.magenta(relativePath(revision))} (${chalk.cyan(revision.version)})`); 22 console.log(` - ${chalk.gray(relativePath(duplicate))} (${chalk.gray(duplicate.version)})`);
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | index.ts | 2 import chalk from 'chalk'; 42 chalk`npx expo export {dim <dir>}`, 44 …chalk`<dir> Directory of the Expo project. {dim Default: Current working dire… 46 …chalk`--output-dir <dir> The directory to export the static files to. {dim Default: dist}`, 50 chalk`-p, --platform <platform> Options: android, ios, web, all. {dim Default: all}`,
|
| H A D | printBundleSizes.ts | 2 import chalk from 'chalk'; 19 files.push([chalk.bold(`index.${platform}.hbc`), bundleOutput.hermesBytecodeBundle]); 21 files.push([chalk.bold(`index.${platform}.js`), bundleOutput.code]); 24 files.push([chalk.dim(`index.${platform}.hbc.map`), bundleOutput.hermesSourcemap]); 26 files.push([chalk.dim(`index.${platform}.js.map`), bundleOutput.map]); 34 chalk` JavaScript bundle sizes affect startup time. {dim ${learnMore( 50 return table([['Bundle', 'Size'].map((v) => chalk.underline(v)), ...tableData], {
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/monorepo/bump-all-updated-packages/ |
| H A D | index.js | 10 const chalk = require('chalk'); constant 37 echo(`\u23ED Skipping private package ${chalk.dim(packageName)}`); 49 `\u2705 Successfully bumped ${chalk.green( 51 )} to ${chalk.green(updatedVersion)}`, 69 `\uD83D\uDD0E No changes for package ${chalk.green( 77 echo(`\uD83D\uDCA1 Found changes for ${chalk.yellow(packageName)}:`); 118 `\u2705 Successfully bumped ${chalk.green( 120 )} to ${chalk.green(updatedVersion)}`, 139 chalk.red( 175 echo(chalk.green('Successfully finished the process of bumping packages'));
|
| /expo/packages/expo-updates/cli/utils/ |
| H A D | modifyConfigAsync.ts | 2 import chalk from 'chalk'; 24 chalk.yellow( 25 …`No Expo config was found. Please create an Expo config (${chalk.bold`app.json`} or ${chalk.bold`a… 34 Log.log(chalk.yellow(message)); 44 Log.log(chalk.cyan(`Please add the following to your Expo config`));
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | modifyConfigAsync.ts | 2 import chalk from 'chalk'; 25 chalk.yellow( 26 …`No Expo config was found. Please create an Expo config (${chalk.bold`app.json`} or ${chalk.bold`a… 35 Log.log(chalk.yellow(message)); 45 Log.log(chalk.cyan(`Please add the following to your Expo config`));
|
| H A D | git.ts | 2 import chalk from 'chalk'; 52 Log.log(`Your git working tree is ${chalk.green('clean')}`); 57 Log.log(`${chalk.bold('Warning!')} Your git working tree is ${chalk.red('dirty')}.`); 59 `It's recommended to ${chalk.bold(
|
| /expo/packages/@expo/cli/src/run/ |
| H A D | hints.ts | 1 import chalk from 'chalk'; 8 Log.log(chalk.dim`› Using --device ${id}`); 13 chalk`\n› Logs for your project will appear below.${ 14 isInteractive() ? chalk.dim(` Press Ctrl+C to exit.`) : ''
|
| /expo/tools/src/utils/ |
| H A D | askForSDKVersionAsync.ts | 1 import chalk from 'chalk'; 16 `${chalk.red('`--sdkVersion`')} not provided - defaulting to ${chalk.cyan( 23 `${chalk.red('`--sdkVersion`')} not provided and unable to obtain default value.` 40 return `Invalid version: ${chalk.cyan(value)}`;
|
| /expo/tools/src/ |
| H A D | Logger.ts | 1 import chalk, { Chalk } from 'chalk'; 19 this.resolver('debug', chalk.dim, args); 23 this.resolver('debug', chalk.gray, args); 31 this.resolver('log', chalk.green, args); 35 this.resolver('info', chalk.cyan, args); 39 this.resolver('warn', chalk.yellow.bold, args); 43 this.resolver('error', chalk.red.bold, args);
|