Home
last modified time | relevance | path

Searched refs:modulePath (Results 1 – 16 of 16) sorted by relevance

/expo/packages/@expo/config/src/paths/
H A Dpaths.ts111 const modulePath = resolveFrom.silent(fromDirectory, `${moduleId}.${extension}`); constant
112 if (modulePath && modulePath.endsWith(extension)) {
113 return modulePath;
126 const modulePath = path.join(fromDirectory, moduleId); constant
127 if (fs.existsSync(modulePath)) {
128 return modulePath;
131 const modulePath = path.join(fromDirectory, `${moduleId}.${extension}`); constant
132 if (fs.existsSync(modulePath)) {
133 return modulePath;
/expo/packages/@expo/config/build/paths/
H A Dpaths.js131 const modulePath = _resolveFrom().default.silent(fromDirectory, `${moduleId}.${extension}`);
132 if (modulePath && modulePath.endsWith(extension)) {
133 return modulePath;
142 const modulePath = _path().default.join(fromDirectory, moduleId);
143 if (_fs().default.existsSync(modulePath)) {
144 return modulePath;
147 const modulePath = _path().default.join(fromDirectory, `${moduleId}.${extension}`);
148 if (_fs().default.existsSync(modulePath)) {
149 return modulePath;
H A Dpaths.js.map1modulePath","silent","path","join","existsSync"],"sources":["../../src/paths/paths.ts"],"sourcesCo…
/expo/packages/@expo/metro-config/src/traveling/
H A Dmetro-config.ts9 const modulePath = resolveFrom.silent(projectRoot, 'metro-config'); constant
11 if (!modulePath) {
14 return require(modulePath);
/expo/packages/@expo/fingerprint/src/sourcer/
H A DExpoConfigLoader.ts29 .filter((modulePath) => !loadedModulesBefore.has(modulePath))
30 .map((modulePath) => path.relative(projectRoot, modulePath));
34 (modulePath) => !isIgnoredPath(modulePath, ignoredPaths)
H A DExpo.ts94 const configPluginModules: HashSource[] = loadedModules.map((modulePath) => ({
96 filePath: modulePath,
/expo/packages/@expo/metro-config/build/traveling/
H A Dmetro-config.js19 const modulePath = _resolveFrom().default.silent(projectRoot, 'metro-config');
20 if (!modulePath) {
23 return require(modulePath);
H A Dmetro-config.js.map1modulePath","resolveFrom","silent"],"sources":["../../src/traveling/metro-config.ts"],"sourcesCont…
/expo/packages/@expo/fingerprint/build/sourcer/
H A DExpoConfigLoader.js29 .filter((modulePath) => !loadedModulesBefore.has(modulePath))
30 .map((modulePath) => path_1.default.relative(projectRoot, modulePath));
32 …nst filteredLoadedModules = loadedModules.filter((modulePath) => !(0, Path_1.isIgnoredPath)(module…
H A DExpo.js76 const configPluginModules = loadedModules.map((modulePath) => ({
78 filePath: modulePath,
/expo/tools/src/generate-module/
H A DconfigureModule.ts129 modulePath: string,
132 const iosPath = path.join(modulePath, 'ios');
226 modulePath: string,
229 const androidPath = path.join(modulePath, 'android');
315 modulePath: string,
320 const tsPath = path.join(modulePath, 'src');
366 modulePath: string,
371 await replaceContent(path.join(modulePath, 'package.json'), (singleFileContent) =>
378 await replaceContent(path.join(modulePath, 'README.md'), (readmeContent) =>
/expo/packages/@expo/config-plugins/src/utils/
H A Dplugin-resolver.ts19 export function resolvePluginForModule(projectRoot: string, modulePath: string) {
20 const resolved = resolveFrom.silent(projectRoot, modulePath);
23 `Failed to resolve plugin for module "${modulePath}" relative to "${projectRoot}"`,
29 if (moduleNameIsDirectFileReference(modulePath)) {
/expo/packages/@expo/config-plugins/build/utils/
H A Dplugin-resolver.js69 function resolvePluginForModule(projectRoot, modulePath) { argument
70 const resolved = _resolveFrom().default.silent(projectRoot, modulePath);
72 …throw new (_errors().PluginError)(`Failed to resolve plugin for module "${modulePath}" relative to…
76 if (moduleNameIsDirectFileReference(modulePath)) {
H A Dplugin-resolver.d.ts3 export declare function resolvePluginForModule(projectRoot: string, modulePath: string): {
H A Dplugin-resolver.js.map1modulePath","resolved","resolveFrom","silent","PluginError","moduleNameIsDirectFileReference","isP…
/expo/packages/@expo/cli/src/start/doctor/ngrok/
H A DExternalModule.ts180 const modulePath = resolver(this.pkg.name); constant
181 const requiredModule = this._require(modulePath);