| /expo/packages/@expo/cli/src/start/server/metro/ |
| H A D | bundleApiRoutes.ts | 27 filepath: string, 30 if (pendingRouteOperations.has(filepath)) { 31 return pendingRouteOperations.get(filepath); 38 debug('Check API route:', options.appDir, filepath); 40 const middleware = await requireFileContentsWithMetro(projectRoot, devServerUrl, filepath, { 63 pendingRouteOperations.set(filepath, route); 69 filepath: string, 72 pendingRouteOperations.delete(filepath); 73 return bundleApiRoute(projectRoot, filepath, options); 80 getApiRoutesForDirectory(options.appDir).map(async (filepath) => { [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/codegen/__tests__/ |
| H A D | generate-artifacts-executor-test.js | 286 statSync: filepath => { argument 296 rmSync: filepath => { argument 300 rmdirSync: filepath => { argument 320 statSync: filepath => { argument 330 rmSync: filepath => { argument 354 statSync: filepath => { argument 363 rmSync: filepath => { argument 403 statSync: filepath => { argument 413 rmSync: filepath => { argument 453 statSync: filepath => { argument [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/codegen/__tests__/ |
| H A D | generate-artifacts-executor-test.js | 286 statSync: filepath => { argument 296 rmSync: filepath => { argument 300 rmdirSync: filepath => { argument 320 statSync: filepath => { argument 330 rmSync: filepath => { argument 354 statSync: filepath => { argument 363 rmSync: filepath => { argument 403 statSync: filepath => { argument 413 rmSync: filepath => { argument 453 statSync: filepath => { argument [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/codegen/__tests__/ |
| H A D | generate-artifacts-executor-test.js | 286 statSync: filepath => { argument 296 rmSync: filepath => { argument 300 rmdirSync: filepath => { argument 320 statSync: filepath => { argument 330 rmSync: filepath => { argument 354 statSync: filepath => { argument 363 rmSync: filepath => { argument 403 statSync: filepath => { argument 413 rmSync: filepath => { argument 453 statSync: filepath => { argument [all …]
|
| /expo/packages/@expo/cli/src/start/server/type-generation/__tests__/ |
| H A D | routes.test.ts | 105 it.each(filepaths)('is within the app root: %s', (filepath, expected) => { 106 expect(isRouteFile(filepath)).toEqual(expected); 119 it.each(filepaths)('normalizes a filepath: %s', (filepath, route) => { 120 expect(filePathToRoute(filepath)).toEqual(route); 137 it.each(filepaths)('normalizes a windows filepath: %s', (filepath, route) => { 138 expect(windowsUtils.filePathToRoute(filepath)).toEqual(route); 213 addFilePath(filepath); 216 const actualRoutes = staticRoutes.get(filePathToRoute(filepath)); 222 expect(staticRoutes.get(filePathToRoute(filepath))).toBeUndefined(); 226 const actualRoutes = dynamicRoutes.get(filePathToRoute(filepath)); [all …]
|
| /expo/packages/@expo/config-plugins/src/android/ |
| H A D | Package.ts | 125 filesToUpdate.forEach((filepath: string) => { 127 if (fs.lstatSync(filepath).isFile() && ['.h', '.cpp'].includes(path.extname(filepath))) { 128 let contents = fs.readFileSync(filepath).toString(); 133 fs.writeFileSync(filepath, contents); 136 debug(`Error updating "${filepath}" for type "${type}"`); 176 if (fs.lstatSync(filepath).isFile()) { 179 fs.mkdirSync(filepath, { recursive: true }); 205 filesToUpdate.forEach((filepath: string) => { 207 if (fs.lstatSync(filepath).isFile()) { 208 let contents = fs.readFileSync(filepath).toString(); [all …]
|
| /expo/packages/@expo/config-plugins/build/ios/utils/ |
| H A D | Xcodeproj.d.ts | 17 export declare function addResourceFileToGroup({ filepath, groupName, isBuildFile, project, verbose… 18 filepath: string; 29 export declare function addBuildSourceFileToGroup({ filepath, groupName, project, verbose, targetUu… 30 filepath: string; 36 export declare function addFileToGroupAndLink({ filepath, groupName, project, verbose, addFileToPro… 37 filepath: string; 65 export declare function ensureGroupRecursively(project: XcodeProject, filepath: string): PBXGroup |…
|
| H A D | Xcodeproj.js | 125 filepath, field 128 const file = new (_pbxFile().default)(filepath); 143 filepath, field 152 filepath, field 175 filepath, field 182 filepath, field 202 filepath, field 211 filepath, field 218 …).addWarningIOS)('ios-xcode-project', `Skipped adding duplicate file "${filepath}" to PBXGroup nam… 306 function ensureGroupRecursively(project, filepath) { argument [all …]
|
| /expo/packages/@expo/config-plugins/build/android/ |
| H A D | Package.js | 166 filesToUpdate.forEach(filepath => { 168 …if (_fs().default.lstatSync(filepath).isFile() && ['.h', '.cpp'].includes(_path().default.extname(… 169 let contents = _fs().default.readFileSync(filepath).toString(); 171 _fs().default.writeFileSync(filepath, contents); 174 debug(`Error updating "${filepath}" for type "${type}"`); 211 if (_fs().default.lstatSync(filepath).isFile()) { 214 _fs().default.mkdirSync(filepath, { 244 filesToUpdate.forEach(filepath => { 246 if (_fs().default.lstatSync(filepath).isFile()) { 252 _fs().default.writeFileSync(filepath, contents); [all …]
|
| /expo/packages/@expo/config-plugins/src/ios/utils/ |
| H A D | Xcodeproj.ts | 80 function createProjectFileForGroup({ filepath, group }: { filepath: string; group: PBXGroup }) { 81 const file = new pbxFile(filepath); 97 filepath, 105 filepath: string; 113 filepath, 133 filepath, 139 filepath: string; 146 filepath, 163 filepath, 170 filepath: string; [all …]
|
| /expo/packages/@expo/metro-config/src/serializer/ |
| H A D | getCssDeps.ts | 83 filepath: originFilename, 115 export function fileNameFromContents({ filepath, src }: { filepath: string; src: string }): string { 117 const decoded = decodeURIComponent(filepath).replace(/\\/g, '/');
|
| /expo/packages/@expo/config-types/scripts/ |
| H A D | generate.ts | 78 const filepath = `src/ExpoConfig.ts`; constant 79 fs.ensureDirSync(path.dirname(filepath)); 80 await fs.writeFile(filepath, ts, 'utf8');
|
| /expo/packages/@expo/metro-config/build/serializer/ |
| H A D | getCssDeps.d.ts | 26 export declare function fileNameFromContents({ filepath, src }: { 27 filepath: string;
|
| H A D | getCssDeps.js | 72 filepath: originFilename, property 100 filepath, field 104 const decoded = decodeURIComponent(filepath).replace(/\\/g, '/');
|
| /expo/packages/@expo/cli/src/utils/tsconfig/__tests__/ |
| H A D | loadTsConfigPaths.test.ts | 6 evaluateTsConfig: jest.fn((ts, filepath) => { 7 return (require('@expo/json-file') as typeof import('@expo/json-file')).default.read(filepath, {
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/cocoapods/__tests__/test_utils/ |
| H A D | FileMock.rb | 97 def self.read(filepath) argument 98 return @@files_to_read[filepath]
|
| /expo/packages/@expo/metro-config/src/serializer/__tests__/ |
| H A D | getCssDeps.test.ts | 5 expect(fileNameFromContents({ filepath: '/', src: 'foo' })).toMatchInlineSnapshot( 11 fileNameFromContents({ filepath: 'node_modules%5Cexpo-router%5Centry.js', src: 'foo' })
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/cocoapods/__tests__/test_utils/ |
| H A D | FileMock.rb | 113 def self.read(filepath) argument 114 return @@files_to_read[filepath]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/cocoapods/__tests__/test_utils/ |
| H A D | FileMock.rb | 113 def self.read(filepath) argument 114 return @@files_to_read[filepath]
|
| /expo/packages/@expo/cli/src/utils/tsconfig/ |
| H A D | loadTsConfigPaths.ts | 27 const [filepath, config] = options; constant 34 debug(`No baseUrl found in ${filepath}`);
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/codegen/ |
| H A D | generate-artifacts-executor.js | 455 function cleanupEmptyFilesAndFolders(filepath) { argument 456 const stats = fs.statSync(filepath); 459 fs.rmSync(filepath); 465 const dirContent = fs.readdirSync(filepath); 467 cleanupEmptyFilesAndFolders(path.join(filepath, contentPath)), 473 const newContent = fs.readdirSync(filepath); 475 fs.rmdirSync(filepath);
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/codegen/ |
| H A D | generate-artifacts-executor.js | 482 function cleanupEmptyFilesAndFolders(filepath) { argument 483 const stats = fs.statSync(filepath); 486 fs.rmSync(filepath); 492 const dirContent = fs.readdirSync(filepath); 494 cleanupEmptyFilesAndFolders(path.join(filepath, contentPath)), 500 const newContent = fs.readdirSync(filepath); 502 fs.rmdirSync(filepath);
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/codegen/ |
| H A D | generate-artifacts-executor.js | 455 function cleanupEmptyFilesAndFolders(filepath) { argument 456 const stats = fs.statSync(filepath); 459 fs.rmSync(filepath); 465 const dirContent = fs.readdirSync(filepath); 467 cleanupEmptyFilesAndFolders(path.join(filepath, contentPath)), 473 const newContent = fs.readdirSync(filepath); 475 fs.rmdirSync(filepath);
|
| /expo/tools/src/dynamic-macros/ |
| H A D | AndroidMacrosGenerator.ts | 44 async function readExistingSourceAsync(filepath) { 46 return await fs.readFile(filepath, 'utf8');
|
| /expo/packages/@expo/prebuild-config/src/plugins/unversioned/expo-splash-screen/ |
| H A D | withIosSplashXcodeProject.ts | 38 filepath: storyboardFilePath,
|