| /expo/packages/expo-router/build/ |
| H A D | LocationProvider.js | 5 function getRouteInfoFromState(getPathFromState, state, basePath) { argument 11 pathname: (0, getStateFromPath_1.stripBasePath)(path, basePath).split('?')['0'], 12 ...getNormalizedStatePath(qualified, basePath), 17 function getNormalizedStatePath({ path: statePath, params, }, basePath) { argument 21 …segments: (0, getStateFromPath_1.stripBasePath)(pathname, basePath).split('/').filter(Boolean).map…
|
| H A D | LocationProvider.d.ts | 12 }, state: State, basePath?: string): UrlObject; 16 }, basePath?: string): Pick<UrlObject, 'segments' | 'params'>;
|
| H A D | LocationProvider.js.map | 1 …basePath?: string\n): UrlObject {\n const { path } = getPathFromState(state, false);\n const qua…
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | persistMetroAssets.ts | 12 basePath, 16 basePath?: string; 27 const dest = path.join(outputDirectory, getAssetLocalPath(asset, { scale, basePath })); 104 { basePath, scale }: { basePath?: string; scale: number } 109 const adjustedHttpServerLocation = stripAssetPrefix(asset.httpServerLocation, basePath); 119 export function stripAssetPrefix(path: string, basePath?: string) { 123 if (basePath) { 126 `^${basePath
|
| H A D | exportApp.ts | 62 const basePath = (exp.experiments?.basePath?.replace(/\/+$/, '') ?? '').trim(); constant 65 if (basePath) { 67 Log.log(chalk.gray`Using (experimental) base path: ${basePath}`); 69 if (!basePath.startsWith('/')) { 140 basePath, 150 basePath, 153 scripts: [`${basePath}/bundles/${fileNames.web}`], 159 basePath, 176 basePath,
|
| H A D | exportStaticAsync.ts | 32 basePath: string; 107 { outputDir, basePath, exportServer, minify, includeMaps }: Options 112 const injectFaviconTag = await getVirtualFaviconAssetsAsync(projectRoot, { outputDir, basePath }); 139 basePath, 222 function traverseScreens(screens: string | { screens: any; path: string }, basePath = '') { 225 let filePath = basePath + value; 228 basePath === '' 230 : basePath.endsWith('/') 231 ? basePath + 'index' 232 : basePath.slice(0, -1); [all …]
|
| H A D | favicon.ts | 17 { basePath, outputDir }: { outputDir: string; basePath: string } 45 `<link rel="shortcut icon" href="${basePath}/favicon.ico" /></head>`
|
| H A D | exportAssets.ts | 111 basePath, 115 basePath: string; 131 return assets.map((v) => basePath + '/' + v.filename);
|
| /expo/docs/scripts/ |
| H A D | generate-static-resources.js | 9 const basePath = path.join(dirname, '../', 'public', 'static', 'constants'); constant 14 fs.writeFileSync(path.join(basePath, filename), JSON.stringify(data), { flag: 'wx' }); 16 fs.mkdirSync(basePath);
|
| /expo/packages/expo-router/src/ |
| H A D | LocationProvider.tsx | 16 basePath?: string 24 pathname: stripBasePath(path, basePath).split('?')['0'], 25 ...getNormalizedStatePath(qualified, basePath), 38 basePath?: string 43 segments: stripBasePath(pathname, basePath).split('/').filter(Boolean).map(decodeURIComponent),
|
| /expo/packages/@expo/cli/src/start/server/metro/ |
| H A D | MetroBundlerDevServer.ts | 122 basePath, 128 basePath: string; 138 basePath, 257 basePath, 261 basePath: string; 297 basePath, 423 basePath: '', 566 basePath, 571 basePath: string; 585 `<link rel="stylesheet" href="${basePath}/${filename}">`, [all …]
|
| H A D | instantiateMetro.ts | 88 (exp.experiments?.basePath ?? '') + '/assets' 95 if (isExporting && exp.experiments?.basePath) { 98 config.transformer.publicPath = exp.experiments?.basePath;
|
| /expo/packages/expo-updates/scripts/ |
| H A D | createManifest.js | 152 let basePath = asset.httpServerLocation; 153 if (basePath[0] === '/') { 154 basePath = basePath.substr(1); 156 return basePath;
|
| /expo/packages/expo-router/build/fork/ |
| H A D | getStateFromPath.d.ts | 16 export declare function getUrlWithReactNavigationConcessions(path: string, basePath?: string | unde… 57 export declare function stripBasePath(path: string, basePath?: string | undefined): string;
|
| H A D | getStateFromPath.js | 37 …etUrlWithReactNavigationConcessions(path, basePath = expo_constants_1.default.expoConfig?.experime… argument 43 …nonstandardPathname: stripBasePath(pathname, basePath).replace(/^\/+/g, '').replace(/\/+$/g, '') +… 45 inputPathnameWithoutHash: stripBasePath(path, basePath).replace(/#.*$/, ''), 537 function getBasePathRegex(basePath) { argument 538 if (basePathCache.has(basePath)) { 539 return basePathCache.get(basePath); 541 const regex = new RegExp(`^\\/?${(0, escape_string_regexp_1.default)(basePath)}`, 'g'); 542 basePathCache.set(basePath, regex); 545 function stripBasePath(path, basePath = expo_constants_1.default.expoConfig?.experiments?.basePath)… argument 547 if (basePath) { [all …]
|
| /expo/packages/expo-router/src/fork/__tests__/ |
| H A D | getStateFromPath.test.node.ts | 37 ].forEach(([path, basePath, result]) => { 39 expect(stripBasePath(path, basePath)).toBe(result); 49 basePath: '/expo/prefix', 68 basePath: '/expo',
|
| /expo/packages/expo-router/src/fork/ |
| H A D | getStateFromPath.ts | 50 basePath: string | undefined = Constants.expoConfig?.experiments?.basePath 59 stripBasePath(pathname, basePath).replace(/^\/+/g, '').replace(/\/+$/g, '') + '/', 62 inputPathnameWithoutHash: stripBasePath(path, basePath).replace(/#.*$/, ''), 746 function getBasePathRegex(basePath: string) { 747 if (basePathCache.has(basePath)) { 748 return basePathCache.get(basePath)!; 750 const regex = new RegExp(`^\\/?${escape(basePath)}`, 'g'); 751 basePathCache.set(basePath, regex); 757 basePath: string | undefined = Constants.expoConfig?.experiments?.basePath 760 if (basePath) { [all …]
|
| /expo/packages/@expo/cli/e2e/__tests__/export/ |
| H A D | base-path.test.ts | 19 const basePath = '/one/two'; constant 20 process.env.EXPO_E2E_BASE_PATH = basePath; 25 EXPO_E2E_BASE_PATH: basePath,
|
| /expo/android/vendored/unversioned/@react-native-async-storage/async-storage/android/ |
| H A D | build.gradle | 4 def basePath = rootDir.toPath().normalize() 8 while (basePath) { 9 def candidatePath = Paths.get(basePath.toString(), 'node_modules', packageName) 14 basePath = basePath.getParent()
|
| /expo/tools/src/commands/ |
| H A D | GenerateDocsAPIData.ts | 124 const basePath = path.join(PACKAGES_DIR, packageName); constant 125 const entriesPath = path.join(basePath, 'src'); 126 const tsConfigPath = path.join(basePath, 'tsconfig.json');
|
| /expo/android/vendored/sdk48/@react-native-async-storage/async-storage/android/ |
| H A D | build.gradle | 4 def basePath = rootDir.toPath().normalize() 8 while (basePath) { 9 def candidatePath = Paths.get(basePath.toString(), 'node_modules', packageName) 14 basePath = basePath.getParent()
|
| /expo/android/vendored/sdk49/@react-native-async-storage/async-storage/android/ |
| H A D | build.gradle | 4 def basePath = rootDir.toPath().normalize() 8 while (basePath) { 9 def candidatePath = Paths.get(basePath.toString(), 'node_modules', packageName) 14 basePath = basePath.getParent()
|
| /expo/apps/router-e2e/ |
| H A D | app.config.js | 26 basePath: process.env.EXPO_E2E_BASE_PATH || undefined, property
|
| /expo/android/vendored/sdk47/@shopify/react-native-skia/android/ |
| H A D | build.gradle | 32 def basePath = baseDir.toPath().normalize() 35 while (basePath) { 36 def nodeModulesPath = Paths.get(basePath.toString(), "node_modules") 41 basePath = basePath.getParent()
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/android/ |
| H A D | build.gradle | 32 def basePath = baseDir.toPath().normalize() 35 while (basePath) { 36 def nodeModulesPath = Paths.get(basePath.toString(), "node_modules") 41 basePath = basePath.getParent()
|