Home
last modified time | relevance | path

Searched refs:configPath (Results 1 – 25 of 29) sorted by relevance

12

/expo/packages/@expo/cli/src/utils/tsconfig/
H A DloadTsConfigPaths.ts44 const configPath = path.join(projectRoot, 'jsconfig.json'); constant
45 if (await fileExistsAsync(configPath)) {
46 const config = await JsonFile.readAsync(configPath, { json5: true });
48 return [configPath, config];
56 const configPath = path.join(projectRoot, 'tsconfig.json'); constant
57 if (await fileExistsAsync(configPath)) {
61 return [configPath, evaluateTsConfig(ts, configPath)];
/expo/packages/@expo/config/src/
H A DgetConfig.ts25 export function getDynamicConfig(configPath: string, request: ConfigContext): DynamicConfigResults {
26 const config = readConfigFile(configPath, request);
33 throw new ConfigError(`Failed to read config at: ${configPath}`, 'INVALID_CONFIG');
36 export function getStaticConfig(configPath: string): AppJSONConfig | ExpoConfig {
37 const config = JsonFile.read(configPath, { json5: true });
41 throw new ConfigError(`Failed to read config at: ${configPath}`, 'INVALID_CONFIG');
H A DConfig.ts213 const configPath = path.join(projectRoot, fileName); constant
214 if (fs.existsSync(configPath)) {
215 return configPath;
223 const configPath = path.join(projectRoot, fileName); constant
224 if (fs.existsSync(configPath)) {
225 return configPath;
/expo/packages/@expo/config/build/
H A DgetConfig.js53 function getDynamicConfig(configPath, request) { argument
54 const config = readConfigFile(configPath, request);
61 throw new (_Errors().ConfigError)(`Failed to read config at: ${configPath}`, 'INVALID_CONFIG');
63 function getStaticConfig(configPath) { argument
64 const config = _jsonFile().default.read(configPath, {
70 throw new (_Errors().ConfigError)(`Failed to read config at: ${configPath}`, 'INVALID_CONFIG');
H A DgetConfig.d.ts3 export declare function getDynamicConfig(configPath: string, request: ConfigContext): DynamicConfig…
4 export declare function getStaticConfig(configPath: string): AppJSONConfig | ExpoConfig;
H A DgetConfig.js.map1configPath","request","config","ConfigError","getStaticConfig","JsonFile","read","json5"],"sources…
H A DConfig.js296 const configPath = _path().default.join(projectRoot, fileName);
297 if (_fs().default.existsSync(configPath)) {
298 return configPath;
305 const configPath = _path().default.join(projectRoot, fileName);
306 if (_fs().default.existsSync(configPath)) {
307 return configPath;
/expo/packages/@expo/cli/src/utils/
H A DFileNotifier.ts48 const configPath = this.resolveFilePath(); constant
49 if (configPath) {
50 debug(`Observing ${configPath}`);
51 return this.watchFile(configPath, callback);
53 return configPath;
H A Dscheme.ts40 const configPath = path.join(projectRoot, 'ios', infoPlistBuildProperty); constant
41 const rawPlist = fs.readFileSync(configPath, 'utf8');
57 const configPath = await AndroidConfig.Paths.getAndroidManifestAsync(projectRoot); constant
58 const manifest = await AndroidConfig.Manifest.readAndroidManifestAsync(configPath);
/expo/packages/@expo/config/src/__tests__/
H A DgetConfig-e2e-test.ts27 const configPath = join(projectRoot, 'app.config.ts'); constant
29 const { config } = getDynamicConfig(configPath, mockConfigContext);
33 getDynamicConfig(configPath, {
/expo/packages/@expo/cli/src/start/doctor/ngrok/
H A DNgrokResolver.ts20 configPath?: string; property
41 configPath: string;
/expo/packages/@expo/fingerprint/e2e/__tests__/
H A Dmanaged-test.ts73 const configPath = path.join(projectRoot, 'app.json'); constant
74 const config = JSON.parse(await fs.readFile(configPath, 'utf8'));
76 await fs.writeFile(configPath, JSON.stringify(config, null, 2));
/expo/packages/expo-modules-autolinking/build/autolinking/
H A DfindModules.js132 return Object.values(paths.reduce((acc, configPath) => {
133 const dirname = path_1.default.dirname(configPath);
134 if (!acc[dirname] || configPriority(configPath) > configPriority(acc[dirname])) {
135 acc[dirname] = configPath;
/expo/packages/expo-modules-autolinking/src/autolinking/
H A DfindModules.ts163 paths.reduce<Record<string, string>>((acc, configPath) => {
164 const dirname = path.dirname(configPath);
166 if (!acc[dirname] || configPriority(configPath) > configPriority(acc[dirname])) {
167 acc[dirname] = configPath;
/expo/packages/@expo/cli/src/start/server/
H A DAsyncNgrok.ts160 const configPath = path.join(UserSettings.getDirectory(), 'ngrok.yml'); constant
161 debug('Global config path:', configPath);
168 configPath,
/expo/packages/jest-expo/src/preset/
H A DwithTypescriptMapping.js55 const configPath = path.resolve(configFile);
56 const config = readJsonFile(configPath, { json5: true });
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/ReactDelegateHandler/
H A DExpoUpdatesReactDelegateHandler.swift25 …let configPath = Bundle.main.path(forResource: ABI48_0_0EXUpdatesConfigPlistName, ofType: "plist"), variable
26 let config = NSDictionary(contentsOfFile: configPath)
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/ReactDelegateHandler/
H A DExpoUpdatesReactDelegateHandler.swift25 …let configPath = Bundle.main.path(forResource: ABI47_0_0EXUpdatesConfigPlistName, ofType: "plist"), variable
26 let config = NSDictionary(contentsOfFile: configPath)
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/ReactDelegateHandler/
H A DExpoUpdatesReactDelegateHandler.swift25 let configPath = Bundle.main.path(forResource: UpdatesConfig.PlistName, ofType: "plist"), variable
26 let config = NSDictionary(contentsOfFile: configPath)
/expo/packages/expo-updates/ios/EXUpdates/ReactDelegateHandler/
H A DExpoUpdatesReactDelegateHandler.swift25 let configPath = Bundle.main.path(forResource: UpdatesConfig.PlistName, ofType: "plist"), variable
26 let config = NSDictionary(contentsOfFile: configPath)
/expo/ios/ExponentIntegrationTests/
H A DExponentIntegrationTests.m81 …NSString *configPath = [[NSBundle bundleForClass:[self class]] pathForResource:@"EXTestEnvironment…
82 …NSDictionary *testConfig = (configPath) ? [NSDictionary dictionaryWithContentsOfFile:configPath] :…
/expo/ios/Exponent/Kernel/Environment/
H A DEXEnvironment.m63 NSString *configPath = [[NSBundle mainBundle] pathForResource:@"EXShell" ofType:@"plist"];
64 …NSDictionary *shellConfig = (configPath) ? [NSDictionary dictionaryWithContentsOfFile:configPath] …
/expo/packages/expo-updates/ios/EXUpdates/
H A DUpdatesConfig.swift127 guard let configPath = Bundle.main.path(forResource: PlistName, ofType: "plist") else { in configWithExpoPlist() variable
130 …return try configWithExpoPlist(configPlistPath: configPath, mergingOtherDictionary: mergingOtherDi… in configWithExpoPlist()
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/
H A DUpdatesConfig.swift127 guard let configPath = Bundle.main.path(forResource: PlistName, ofType: "plist") else { in configWithExpoPlist() variable
130 …return try configWithExpoPlist(configPlistPath: configPath, mergingOtherDictionary: mergingOtherDi… in configWithExpoPlist()
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/
H A DABI48_0_0EXUpdatesConfig.m93 …NSString *configPath = [[NSBundle mainBundle] pathForResource:ABI48_0_0EXUpdatesConfigPlistName of…
94 if (!configPath) {
99 return [[self class] configWithDictionary:[NSDictionary dictionaryWithContentsOfFile:configPath]];

12