Home
last modified time | relevance | path

Searched +refs:log +refs:key (Results 1 – 25 of 179) sorted by relevance

12345678

/expo/tools/src/commands/
H A DUpdateVersionsEndpoint.ts19 key?: string;
54 console.log(`Deleting ${chalk.yellow(key)} config key ...`);
55 unset(config, key);
57 console.log(`Changing ${chalk.yellow(key)} config key ...`);
58 set(config, key, value);
68 console.log(
83 console.log(
88 console.log(chalk.yellow('Canceled'));
113 if (options.key) {
147 console.log(chalk.yellow('Canceled'));
[all …]
H A DPublishProdExpoHomeCommand.ts70 console.log(`Publishing ${chalk.green(slug)}...`);
77 console.log(
89 key: string;
95 type Extensions = { assetRequestHeaders: { [key: string]: AssetRequestHeaders } };
144 extensions?.assetRequestHeaders[manifest.launchAsset.key]
165 console.log('Getting expo-cli state of the current session...');
195 console.log(`Modifying home's slug to ${chalk.green(slug)}...`);
198 console.log(`Modifying home's owner to ${chalk.green(owner)}...`);
214 console.log(`Restoring ${chalk.magenta('app.json')} file...`);
217 console.log(`Downloading published manifests and bundles...`);
[all …]
H A DGenerateDocsAPIData.ts164 ({ key, node }) =>
165 ['id', 'groups', 'target', 'kindString', 'originalName'].includes(key) ||
166 (key === 'flags' && !Object.keys(node).length)
183 .filter(([key, value]) => key === packageName || value.includes(packageName))
184 .map(([key, value]) => taskQueue.add(() => executeCommand(key, sdk, ...value)));
187 logger.log(
194 const packagesEntries = Object.entries(PACKAGES_MAPPING).map(([key, value]) =>
195 taskQueue.add(() => executeCommand(key, sdk, ...value))
198 logger.log(
/expo/packages/@expo/cli/src/start/interface/
H A DcommandsTable.ts25 qrcode.generate(url, { small: true }, (code) => Log.log(code));
47 Log.log();
48 Log.log(printItem(chalk`Using {cyan ${target}}`));
52 { key: 's', msg: switchMsg },
60 { key: 'r', msg: 'reload app' },
65 { key: 'c', msg: 'show project QR' },
70 { key: 's', msg: switchMsg },
76 { key: 'j', msg: 'open debugger' },
77 { key: 'r', msg: 'reload app' },
88 Log.log(
[all …]
H A DstartInterface.ts15 const debug = require('debug')('expo:start:interface:startInterface') as typeof console.log;
27 key: 'android',
32 key: 'ios',
53 const onPressAsync = async (key: string) => {
55 switch (key) {
97 switch (key) {
107 if (['i', 'a'].includes(key.toLowerCase())) {
118 Log.log(`${BLT} Opening on ${settings.name}...`);
138 switch (key) {
174 Log.log(`${BLT} Open in the web browser...`);
[all …]
H A DKeyPressHandler.ts6 const debug = require('debug')('expo:start:interface:keyPressHandler') as typeof console.log;
13 constructor(public onPress: (key: string) => Promise<any>) {}
35 private handleKeypress = async (key: string) => {
37 if (this.isHandlingKeyPress && key !== CTRL_C) {
42 debug(`Key pressed: ${key}`);
43 await this.onPress(key);
/expo/packages/create-expo/src/
H A DTemplate.ts18 const debug = require('debug')('expo:init:template') as typeof console.log;
42 Object.keys(source).forEach((key) => {
43 if (typeof source[key] === 'object' && source[key] !== null) {
44 target[key] = deepMerge(target[key], source[key]);
46 target[key] = source[key];
161 console.log(chalk.bold(`✅ Your project is ready!`));
162 console.log();
166 console.log(
169 console.log();
170 console.log(`- ${chalk.bold('cd ' + cdPath)}`);
[all …]
/expo/packages/expo-gl/build/
H A DGLUtils.js22 Object.entries(gl).forEach(([key, value]) => {
24 delete gl[key];
31 Object.entries(Object.getPrototypeOf(gl)).forEach(([key, originalValue]) => {
32 if (typeof originalValue !== 'function' || key === '__expoSetLogging') {
35 gl[key] = (...args) => {
59 console.log(`ExpoGL: ${key}(${params.join(', ')})`);
63 console.log(`ExpoGL: = ${result}`);
65 if (loggingOption & GLLoggingOption.GET_ERRORS && key !== 'getError') {
71 console.log(`\x1b[31mExpoGL: Error ${GLErrors[error]}\x1b[0m`);
74 gl[key].__logWrapper = true;
/expo/packages/expo-gl/src/
H A DGLUtils.ts26 Object.entries(gl).forEach(([key, value]) => {
28 delete gl[key];
36 Object.entries(Object.getPrototypeOf(gl)).forEach(([key, originalValue]) => {
37 if (typeof originalValue !== 'function' || key === '__expoSetLogging') {
41 gl[key] = (...args) => {
67 console.log(`ExpoGL: ${key}(${params.join(', ')})`);
73 console.log(`ExpoGL: = ${result}`);
75 if (loggingOption & GLLoggingOption.GET_ERRORS && key !== 'getError') {
82 console.log(`\x1b[31mExpoGL: Error ${GLErrors[error]}\x1b[0m`);
85 gl[key].__logWrapper = true;
/expo/packages/@expo/cli/src/start/doctor/typescript/
H A DupdateTSConfig.ts48 Log.log();
51 Log.log(chalk`{bold TypeScript}: A {cyan tsconfig.json} has been auto-generated`);
53 Log.log(
58 Log.log();
62 Log.log();
64 Log.log(chalk`\u203A {bold Required} modifications made to the {cyan tsconfig.json}:`);
66 Log.log();
71 Log.log();
77 for (const [key, value] of items) { constant
78 Log.log(tableFormat(key, value));
/expo/packages/@expo/metro-config/build/
H A DExpoMetroConfig.js142key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc …
202 console.log();
203 console.log(`Expo Metro config:`);
207 console.log(`- Extensions: ${sourceExts.join(', ')}`);
208 console.log(`- React Native: ${reactNativePath}`);
209 console.log(`- Watch Folders: ${watchFolders.join(', ')}`);
211 console.log(`- Exotic: ${isExotic}`);
212 console.log(`- Env Files: ${envFiles}`);
213 console.log(`- Sass: ${sassVersion}`);
214 console.log(`- Reanimated: ${reanimatedVersion}`);
[all …]
/expo/packages/@expo/package-manager/build/node/
H A DBasePackageManager.js13 log; field in BasePackageManager
15 constructor({ silent, log, env = process.env, ...options } = {}) {
17 this.log = log ?? (!silent ? console.log : undefined);
40 this.log?.(`> ${this.name} ${command.join(' ')}`);
46 async getConfigAsync(key) { argument
47 return await this.runAsync(['config', 'get', key]).then(({ stdout }) => stdout.trim());
/expo/ios/versioned/sdk49/ExpoInsights/
H A DInsightsModule.swift31 log.warn("Insights: Unable to read the manifest") in dispatchLaunchEvent()
35 log.warn("Insights: Unable to get the project ID") in dispatchLaunchEvent()
50 log.warn("Insights: The URL for the HTTP endpoint is invalid: \(endpointUrl)") in dispatchEvent()
55 for (key, value) in data { in dispatchEvent()
57 URLQueryItem(name: key, value: value) in dispatchEvent()
64 log.warn("Insights: Cannot create an URL instance from the given query: \(urlComponents.query)") in dispatchEvent()
74 log.warn("Insights: Unexpectedly the response is not of HTTPURLResponse type") in dispatchEvent()
78log.warn("Insights: Server responded with status code \(response.statusCode) for event \(eventName… in dispatchEvent()
/expo/packages/expo-insights/ios/
H A DInsightsModule.swift31 log.warn("Insights: Unable to read the manifest") in dispatchLaunchEvent()
35 log.warn("Insights: Unable to get the project ID") in dispatchLaunchEvent()
50 log.warn("Insights: The URL for the HTTP endpoint is invalid: \(endpointUrl)") in dispatchEvent()
55 for (key, value) in data { in dispatchEvent()
57 URLQueryItem(name: key, value: value) in dispatchEvent()
64 log.warn("Insights: Cannot create an URL instance from the given query: \(urlComponents.query)") in dispatchEvent()
74 log.warn("Insights: Unexpectedly the response is not of HTTPURLResponse type") in dispatchEvent()
78log.warn("Insights: Server responded with status code \(response.statusCode) for event \(eventName… in dispatchEvent()
/expo/templates/expo-template-tabs/
H A D.npmignore2 *.key
12 yarn-error.log
13 yarn-debug.log*
14 npm-debug.log*
/expo/templates/expo-template-blank-typescript/
H A D.npmignore2 *.key
12 yarn-error.log
13 yarn-debug.log*
14 npm-debug.log*
/expo/templates/expo-template-blank/
H A D.npmignore2 *.key
12 yarn-error.log
13 yarn-debug.log*
14 npm-debug.log*
/expo/packages/@expo/cli/src/export/
H A DexportApp.ts66 Log.log();
67 Log.log(chalk.gray`Using (experimental) base path: ${basePath}`);
70 Log.log(
108 bundleEntries.map(([key, value]) => {
111 key,
120 return [key, value];
133 Log.log('Finished saving JS Bundles');
145 Log.log('Finished saving static files');
191 Log.log('Dumping asset map');
196 Log.log('Dumping source maps');
[all …]
H A DsaveAssets.ts8 const debug = require('debug')('expo:export:saveAssets') as typeof console.log;
18 Log.log(`${action} ${relativePath}`);
42 keys.map(([key, pathName]) => {
45 return copyAsync(pathName, path.join(outputDir, 'assets', key));
49 Log.log('Files successfully saved.');
/expo/packages/@expo/package-manager/src/node/
H A DBasePackageManager.ts11 readonly log?: (...args: any) => void;
14 constructor({ silent, log, env = process.env, ...options }: PackageManagerOptions = {}) {
16 this.log = log ?? (!silent ? console.log : undefined);
71 this.log?.(`> ${this.name} ${command.join(' ')}`);
79 async getConfigAsync(key: string) {
80 return await this.runAsync(['config', 'get', key]).then(({ stdout }) => stdout.trim());
/expo/packages/expo-modules-core/ios/Swift/Views/
H A DComponentData.swift48 log.warn("Given view is not an UIView") in setProps()
52 log.warn("View manager '\(self.name)' not found") in setProps()
56 log.warn("App context has been lost") in setProps()
62 for (key, prop) in propsDict { in setProps()
63 if props.index(forKey: key) == nil { in setProps()
67 let newValue = props[key] as Any in setProps()
72 remainingProps.removeValue(forKey: key) in setProps()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Views/
H A DComponentData.swift48 log.warn("Given view is not an UIView") in setProps()
52 log.warn("View manager '\(self.name)' not found") in setProps()
56 log.warn("App context has been lost") in setProps()
62 for (key, prop) in propsDict { in setProps()
63 if props.index(forKey: key) == nil { in setProps()
67 let newValue = props[key] as Any in setProps()
72 remainingProps.removeValue(forKey: key) in setProps()
/expo/templates/expo-template-tv/
H A D.npmignore2 *.key
12 yarn-error.log
13 npm-debug.log*
14 yarn-debug.log*
/expo/templates/expo-template-bare-minimum/
H A D.npmignore2 *.key
12 yarn-error.log
13 npm-debug.log*
14 yarn-debug.log*
/expo/packages/@expo/env/src/
H A Denv.ts19 const debug = require('debug')('expo:env') as typeof console.log;
73 for (const key of Object.keys(results.parsed || {})) { constant
75 typeof parsed[key] === 'undefined' &&
78 typeof userDefinedEnvironment?.[key] === 'undefined'
80 parsed[key] = results.parsed[key];
132 console.log(
135 console.log(chalk.gray('env: export', keys.join(' ')));

12345678