Lines Matching refs:path

3 import path from 'path';
87 path: string; property in Package
93 this.path = rootPath;
94 this.packageJson = packageJson || require(path.join(rootPath, 'package.json'));
99 return fs.pathExistsSync(path.join(this.path, 'plugin'));
125 cwd: this.path,
146 return path.basename(podspecPath, '.podspec');
162 path.join(this.path, this.androidSubdirectory, 'build.gradle'),
174 path.join(this.path, this.androidSubdirectory, 'build.gradle'),
182 return path.join(this.path, 'CHANGELOG.md');
191 ...fs.readdirSync(this.path),
192 ...fs.readdirSync(path.join(this.path, this.iosSubdirectory)),
193 ].some((path) => path.endsWith('.podspec'));
197 if (this.expoModuleConfig && !fs.existsSync(path.join(this.path, 'react-native.config.js'))) {
201 return fs.existsSync(path.join(this.path, this.androidSubdirectory, 'build.gradle'));
204 fs.existsSync(path.join(this.path, this.iosSubdirectory)) && this.containsPodspecFile()
216 fs.pathExistsSync(path.join(IOS_DIR, 'Pods', 'Headers', 'Public', podspecName))
220 const settingsGradle = fs.readFileSync(path.join(ANDROID_DIR, 'settings.gradle'), 'utf8');
294 const podspecPath = path.join(this.path, 'ios/Pods/Local Podspecs', `${podName}.podspec.json`);
309 const dirs = ['ios', 'android', 'cpp'].map((dir) => path.join(this.path, dir));
324 fs.pathExists(path.join(this.path, this.androidSubdirectory, 'src/test')) ||
325 fs.pathExists(path.join(this.path, this.androidSubdirectory, 'src/androidTest'))
332 fs.readFileSync(path.join(this.path, this.podspecPath), 'utf8').includes('test_spec')
344 return fs.pathExists(path.join(this.path, this.androidSubdirectory, 'src/androidTest'));
357 const podspecPath = path.join(this.path, this.podspecPath);
369 return new Package(path.dirname(packageJsonPath), packageJson);
386 const fullPackageJsonPath = path.join(PACKAGES_DIR, packageJsonPath);
387 const packagePath = path.dirname(fullPackageJsonPath);
398 const expoModuleConfigJsonPath = path.join(dir, 'expo-module.config.json');
400 const unimoduleJsonPath = path.join(dir, 'unimodule.json');
409 return path.join(PACKAGES_DIR, packageName, 'package.json');