Home
last modified time | relevance | path

Searched refs:readFile (Results 1 – 25 of 109) sorted by relevance

12345

/expo/packages/@expo/prebuild-config/src/plugins/__tests__/fixtures/
H A Dreact-native-project.ts63 function readFile(file: string) { function
68 readFile(`${file}/${f}`);
82 readFile(`ios/${file}`);
85 readFile(`android/${file}`);
/expo/packages/@expo/config-plugins/src/plugins/__tests__/fixtures/
H A Dreact-native-project.ts63 function readFile(file: string) { function
67 readFile(`${file}/${f}`);
81 readFile(`ios/${file}`);
84 readFile(`android/${file}`);
/expo/packages/expo-updates/cli/__tests__/
H A Dgenerate-test.ts42 fs.readFile(`${certificateDir}/certificate.pem`),
43 fs.readFile(`${keysDir}/private-key.pem`),
44 fs.readFile(`${keysDir}/public-key.pem`),
H A Dconfigure-test.ts90 fsReal.promises.readFile(path.join(__dirname, 'fixtures/invalid-certificate.pem'), 'utf8'),
91 fsReal.promises.readFile(path.join(__dirname, 'fixtures/invalid-private-key.pem'), 'utf8'),
92 fsReal.promises.readFile(path.join(__dirname, 'fixtures/invalid-public-key.pem'), 'utf8'),
/expo/packages/expo-updates/cli/
H A DconfigureCodeSigningAsync.ts23 fs.readFile(path.join(certificateInputDir, 'certificate.pem'), 'utf8'),
24 fs.readFile(path.join(keyInputDir, 'private-key.pem'), 'utf8'),
25 fs.readFile(path.join(keyInputDir, 'public-key.pem'), 'utf8'),
/expo/packages/@expo/cli/src/start/server/middleware/
H A DReactDevToolsPageMiddleware.ts1 import { readFile } from 'fs/promises';
21 const content = (await readFile(templatePath)).toString('utf-8');
H A DInterstitialPageMiddleware.ts3 import { readFile } from 'fs/promises';
49 let content = (await readFile(templatePath)).toString('utf-8');
H A DresolveAssets.ts29 const contents = await fs.readFile(
44 const contents = await fs.readFile(
/expo/packages/@expo/cli/src/start/doctor/typescript/__tests__/
H A DupdateTSConfig-test.ts22 expect(JSON.parse(await fs.readFile('/tsconfig.json', 'utf8'))).toStrictEqual({
37 expect(JSON.parse(await fs.readFile('/tsconfig.json', 'utf8'))).toStrictEqual({
/expo/packages/@expo/config-plugins/src/ios/__tests__/
H A DEntitlements-test.ts41 const data = plist.parse(await fs.promises.readFile(entitlementsPath!, 'utf8'));
63 const data = plist.parse(await fs.promises.readFile(entitlementsPath, 'utf8'));
84 const data = plist.parse(await fs.promises.readFile(entitlementsPath, 'utf8'));
/expo/packages/@expo/config-plugins/src/android/
H A DEasBuild.ts29 const buildGradleContent = await fs.promises.readFile(path.join(buildGradlePath), 'utf8');
47 const buildGradleContent = await fs.promises.readFile(path.join(buildGradlePath), 'utf8');
/expo/packages/expo-modules-autolinking/src/__tests__/
H A DReactImportsPatcher-test.ts18 mockFsReadFile = fs.readFile as jest.MockedFunction<typeof fs.readFile>;
/expo/tools/src/vendoring/
H A Dlegacy.ts71 const content = await fs.readFile(targetPath, 'utf8');
86 let content = await fs.readFile(targetPath, 'utf8');
108 const content = await fs.readFile(file, 'utf8');
151 let content = await fs.readFile(file, 'utf8');
204 let content = await fs.readFile(file, 'utf8');
226 let content = await fs.readFile(file, 'utf8');
243 let content = await fs.readFile(file, 'utf8');
260 let content = await fs.readFile(file, 'utf8');
278 let content = await fs.readFile(file, 'utf8');
754 const content = await fs.readFile(file, 'utf8');
[all …]
/expo/packages/@expo/cli/src/export/
H A DexportHermes.ts92 fs.readFile(tempHbcFile),
177 const props = parseGradleProperties(await fs.readFile(gradlePropertiesPath, 'utf8'));
196 const content = await fs.readFile(podfilePath, 'utf8');
248 return JSON.parse(await fs.readFile(podfilePropertiesPath, 'utf8'));
/expo/packages/@expo/cli/src/export/__tests__/
H A DexportHermes.test.ts171 const mockFsReadFile = fs.readFile as jest.MockedFunction<typeof fs.readFile>;
243 const mockFsReadFile = fs.readFile as jest.MockedFunction<typeof fs.readFile>;
/expo/packages/@expo/cli/scripts/
H A Dannotate-graphql-codegen.js6 const generatedCode = await fs.readFile(path, 'utf8');
/expo/tools/src/versioning/android/
H A Dlibraries.ts81 const packagesToRename = await fs.readFile(
/expo/packages/@expo/fingerprint/e2e/__tests__/
H A Dbare-test.ts57 let contents = await fs.readFile(filePath, 'utf8');
67 let contents = await fs.readFile(filePath, 'utf8');
/expo/tools/src/vendoring/config/
H A DexpoGoConfig.ts67 let buildGradle = await fs.readFile(buildGradlePath, 'utf-8');
93 let content = await fs.readFile(reaUtilsPath, 'utf-8');
467 const patchContent = await fs.readFile(patchFile, 'utf8');
500 const patchContent = await fs.readFile(patchFile, 'utf8');
523 const patchContent = await fs.readFile(patchFile, 'utf8');
/expo/packages/expo-updates/e2e/setup/
H A Dproject.js107 let appJsFileContents = await fs.readFile(appJsSourcePath, 'utf-8');
151 let detoxRCText = await fs.readFile(detoxRCPath, { encoding: 'utf-8' });
234 let packageJson = JSON.parse(await fs.readFile(path.join(projectRoot, 'package.json'), 'utf-8'));
315 const originalUpdatesPackageFileContents = await fs.readFile(updatesPackageFilePath, 'utf8');
337 const originalExpoModuleConfigJsonString = await fs.readFile(expoModuleConfigFilePath, 'utf-8');
482 let appJson = JSON.parse(await fs.readFile(path.join(projectRoot, 'app.json'), 'utf-8'));
523 let packageJsonString = await fs.readFile(packageJsonPath, 'utf-8');
/expo/packages/expo-test-runner/src/
H A DTemplateEvaluator.ts8 const fileContent = await fs.readFile(path, 'utf-8');
/expo/packages/@expo/config-plugins/src/plugins/
H A DwithIosBaseMods.ts19 const { readFile, writeFile } = promises; constant
87 return plist.parse(await readFile(filePath, 'utf8'));
170 const contents = await readFile(filePath, 'utf8');
225 const contents = await readFile(filePath, 'utf8');
/expo/packages/@expo/config-plugins/src/utils/
H A Dfs.ts6 const srcFile = await fs.promises.readFile(src);
/expo/apps/native-component-list/plugins/
H A DwithPodfileMinVersion.js13 let contents = await fs.readFile(filePath, 'utf-8');
/expo/packages/expo-updates/e2e/fixtures/project_files/scripts/
H A Dgenerate-test-update-bundles.js39 const originalAppJs = await fs.readFile(appJsPath, 'utf-8');
50 const manifestJsonString = await fs.readFile(

12345