| /expo/tools/src/ |
| H A D | Directories.ts | 6 return process.env.EXPO_ROOT_DIR || path.join(__dirname, '..', '..'); 10 return path.join(getExpoRepositoryRootDir(), 'home'); 14 return path.join(getExpoRepositoryRootDir(), 'tools'); 18 return path.join(getExpotoolsDir(), 'bin'); 22 return path.join(getExpoRepositoryRootDir(), 'packages'); 26 return path.join(getExpoRepositoryRootDir(), 'ios'); 30 return path.join(getExpoRepositoryRootDir(), 'android'); 34 return path.join(getExpoRepositoryRootDir(), 'templates'); 38 return path.join(getExpoRepositoryRootDir(), 'react-native-lab', 'react-native'); 42 return path.join(getIosDir(), 'versioned-react-native'); [all …]
|
| H A D | Packages.ts | 94 this.packageJson = packageJson || require(path.join(rootPath, 'package.json')); 99 return fs.pathExistsSync(path.join(this.path, 'plugin')); 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'); 192 ...fs.readdirSync(path.join(this.path, this.iosSubdirectory)), 357 const podspecPath = path.join(this.path, this.podspecPath); 386 const fullPackageJsonPath = path.join(PACKAGES_DIR, packageJsonPath); 398 const expoModuleConfigJsonPath = path.join(dir, 'expo-module.config.json'); 400 const unimoduleJsonPath = path.join(dir, 'unimodule.json'); [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/__tests__/ |
| H A D | hermes-utils-test.js | 30 const ROOT_DIR = path.normalize(path.join(__dirname, '..', '..')); 31 const SDKS_DIR = path.join(ROOT_DIR, 'sdks'); 55 fs.mkdirSync(path.join(SDKS_DIR, 'hermes', 'utils'), { 66 fs.mkdirSync(path.join(SDKS_DIR, 'hermes-engine', 'utils'), { 70 path.join( 80 path.join( 90 path.join( 142 fs.readFileSync(path.join(SDKS_DIR, '.hermesversion'), { 263 fs.mkdirSync(path.join(SDKS_DIR, 'hermesc', 'osx-bin'), { 267 path.join(SDKS_DIR, 'hermesc', 'osx-bin', 'hermesc'), [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/hermes/__tests__/ |
| H A D | hermes-utils-test.js | 37 const SDKS_DIR = path.join(ROOT_DIR, 'sdks'); 87 fs.mkdirSync(path.join(options.cwd, destination), { 115 path.join(SDKS_DIR, 'hermes-engine/hermes-utils.rb'), 122 const frameworksDir = path.join( 214 path.join( 375 const tarballFilename = path.join( 380 path.join(SDKS_DIR, 'hermes/destroot'), 404 path.join(os.tmpdir(), 'hermes-prebuilts-'), 412 path.join(SDKS_DIR, 'hermes'), 425 path.join(os.tmpdir(), 'hermes-prebuilts-'), [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/hermes/__tests__/ |
| H A D | hermes-utils-test.js | 37 const SDKS_DIR = path.join(ROOT_DIR, 'sdks'); 87 fs.mkdirSync(path.join(options.cwd, destination), { 115 path.join(SDKS_DIR, 'hermes-engine/hermes-utils.rb'), 122 const frameworksDir = path.join( 214 path.join( 375 const tarballFilename = path.join( 380 path.join(SDKS_DIR, 'hermes/destroot'), 404 path.join(os.tmpdir(), 'hermes-prebuilts-'), 412 path.join(SDKS_DIR, 'hermes'), 425 path.join(os.tmpdir(), 'hermes-prebuilts-'), [all …]
|
| /expo/tools/src/versioning/ios/ |
| H A D | versionHermes.ts | 125 path.join(hermesRoot, file) 131 const versionedJsiDir = path.join(hermesRoot, VERSIONED_JSI_DIR); 134 path.join(versionedJsiDir, 'jsi'), 135 path.join(versionedJsiDir, `${versionName}jsi`) 155 const dir = path.join(hermesRoot, 'API', 'hermes'); 156 return fs.move(path.join(dir, `${file}.h`), path.join(dir, `${versionName}${file}.h`)); 161 const dir = path.join(hermesRoot, 'public', 'hermes', 'Public'); 162 return fs.move(path.join(dir, `${file}.h`), path.join(dir, `${versionName}${file}.h`)); 172 const versionedJsiDir = path.join(hermesRoot, VERSIONED_JSI_DIR); 185 const destRoot = path.join(hermesRoot, 'destroot'); [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/scripts/hermes/ |
| H A D | hermes-utils.js | 18 const HERMES_DIR = path.join(SDKS_DIR, 'hermes'); 23 const MACOS_BIN_DIR = path.join(SDKS_DIR, 'hermesc', 'osx-bin'); 24 const MACOS_HERMESC_PATH = path.join(MACOS_BIN_DIR, 'hermesc'); 25 const MACOS_IMPORT_HERMESC_PATH = path.join( 173 path.join(SDKS_DIR, 'hermes-engine', podspec), 174 path.join(HERMES_DIR, podspec), 178 path.join(SDKS_DIR, 'hermes-engine', utils), 179 path.join(HERMES_DIR, utils), 245 path.join(os.tmpdir(), 'hermes-engine-destroot-'), 258 if (fs.existsSync(path.join(hermesDir, 'LICENSE'))) { [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/hermes/ |
| H A D | hermes-utils.js | 18 const HERMES_DIR = path.join(SDKS_DIR, 'hermes'); 23 const MACOS_BIN_DIR = path.join(SDKS_DIR, 'hermesc', 'osx-bin'); 24 const MACOS_HERMESC_PATH = path.join(MACOS_BIN_DIR, 'hermesc'); 25 const MACOS_IMPORT_HERMESC_PATH = path.join( 173 path.join(SDKS_DIR, 'hermes-engine', podspec), 174 path.join(HERMES_DIR, podspec), 178 path.join(SDKS_DIR, 'hermes-engine', utils), 179 path.join(HERMES_DIR, utils), 245 path.join(os.tmpdir(), 'hermes-engine-destroot-'), 258 if (fs.existsSync(path.join(hermesDir, 'LICENSE'))) { [all …]
|
| /expo/tools/src/commands/ |
| H A D | SetupReactNativeNightly.ts | 66 const bareExpoRoot = path.join(EXPO_DIR, 'apps', 'bare-expo'); 70 path.join(EXPO_DIR, 'apps', 'native-component-list', 'package.json') 90 const workspacePackageJsonPath = path.join(EXPO_DIR, 'package.json'); 101 const reactNativeRoot = path.join(EXPO_DIR, 'node_modules', 'react-native'); 106 path.join( 127 await transformFileAsync(path.join(reactNativeRoot, 'React-Core.podspec'), [ 164 path.join( 182 path.join( 200 path.join( 226 const root = path.join(EXPO_DIR, 'apps', 'bare-expo'); [all …]
|
| H A D | GenerateSDKDocs.ts | 11 const DOCS_DIR = path.join(EXPO_DIR, 'docs'); 12 const SDK_DOCS_DIR = path.join(DOCS_DIR, 'pages', 'versions'); 13 const STATIC_EXAMPLES_DIR = path.join(DOCS_DIR, 'public', 'static', 'examples'); 14 const STATIC_API_DATA_DIR = path.join(DOCS_DIR, 'public', 'static', 'data'); 24 const reactNativeWebsiteDir = path.join(DOCS_DIR, 'react-native-website'); 25 const reactNativePackageJsonPath = path.join( 49 await fs.remove(path.join(SDK_DOCS_DIR, 'unversioned', 'react-native')); 58 const targetSdkDirectory = path.join(SDK_DOCS_DIR, versionDirectory); 74 await fs.copy(path.join(SDK_DOCS_DIR, 'unversioned'), targetSdkDirectory); 77 const apiPages = await fs.readdir(path.join(targetSdkDirectory, 'sdk')); [all …]
|
| H A D | EasDispatch.ts | 139 const projectDir = path.join(EXPO_DIR, 'apps/eas-expo-go'); 140 const credentialsDir = path.join(projectDir, 'credentials'); 174 const certPEMPath = path.join(credentialsDir, 'cert.pem'); 204 path.join(projectDir, 'credentials.json'), 208 provisioningProfilePath: path.join( 218 provisioningProfilePath: path.join( 250 const projectDir = path.join(EXPO_DIR, 'apps/eas-expo-go'); 273 const keystoreAliasPasswordPath = path.join( 287 path.join(projectDir, 'credentials.json'), 310 const projectDir = path.join(EXPO_DIR, 'apps/eas-expo-go'); [all …]
|
| H A D | AndroidBuildPackages.ts | 41 sourceDir: path.join(ANDROID_DIR, 'ReactAndroid'), 42 buildDirRelative: path.join('com', 'facebook', 'react'), 46 sourceDir: path.join(ANDROID_DIR, 'expoview'), 58 sourceDir: path.join(pkg.path, pkg.androidSubdirectory), 168 const constantsJava = path.join( 172 const multipleVersionReactNativeActivity = path.join( 185 path.join(ANDROID_DIR, 'ReactAndroid', 'build.gradle'), 190 path.join(ANDROID_DIR, 'app', 'build.gradle'), 224 await fs.remove(path.join(pkg.sourceDir, 'build')); 283 path.join(ANDROID_DIR, 'maven', pkg.buildDirRelative) [all …]
|
| /expo/packages/expo-modules-autolinking/src/autolinking/__tests__/ |
| H A D | findModules-test.ts | 13 const expoRoot = path.join(__dirname, '..', '..', '..', '..', '..'); 59 const pkgDir = path.join(nodeModulesRoot, name); 62 registerRequireMock(path.join(pkgDir, 'package.json'), { 76 registerRequireMock(path.join(pkgDir, 'expo-module.config.json'), { 86 const searchPath = path.join(expoRoot, 'node_modules'); 102 const searchPath = path.join(expoRoot, 'node_modules'); 320 [path.join(modulesRoot, 'expo')]: path.join(expoModulesDir, 'expo'), 321 [path.join(modulesRoot, 'expo-dev-client')]: path.join(devModulesDir, 'expo-dev-client'), 411 [path.join(modulesRoot, 'expo')]: path.join(expoModulesDir, 'expo'), 412 [path.join(modulesRoot, 'expo-application')]: path.join(appModulesDir, 'expo-application'), [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/hermes/ |
| H A D | hermes-utils.js | 16 const SDKS_DIR = path.normalize(path.join(__dirname, '..', '..', 'sdks')); 17 const HERMES_DIR = path.join(SDKS_DIR, 'hermes'); 19 const HERMES_TAG_FILE_PATH = path.join(SDKS_DIR, '.hermesversion'); 21 const HERMES_TARBALL_DOWNLOAD_DIR = path.join(SDKS_DIR, 'download'); 22 const MACOS_BIN_DIR = path.join(SDKS_DIR, 'hermesc', 'osx-bin'); 23 const MACOS_HERMESC_PATH = path.join(MACOS_BIN_DIR, 'hermesc'); 24 const MACOS_IMPORT_HERMESC_PATH = path.join( 133 path.join(HERMES_DIR, 'utils', 'build-apple-framework.sh'), 137 path.join(HERMES_DIR, 'utils', 'build-ios-framework.sh'), 141 path.join(HERMES_DIR, 'utils', 'build-mac-framework.sh'), [all …]
|
| /expo/tools/src/versioning/android/ |
| H A D | versionReactNative.ts | 20 const versionedReactNativeMonorepoRoot = path.join(androidDir, 'versioned-react-native'); 21 const versionedReactNativeRoot = path.join( 25 await Promise.all([fs.remove(path.join(versionedReactNativeMonorepoRoot, 'packages'))]); 27 await fs.mkdirp(path.join(versionedReactNativeRoot, 'sdks')); 29 path.join(REACT_NATIVE_SUBMODULE_DIR, 'sdks/.hermesversion'), 30 path.join(versionedReactNativeRoot, 'sdks/.hermesversion') 34 const codegenOutputRoot = path.join(versionedReactNativeRoot, 'codegen'); 35 const tmpCodegenOutputRoot = path.join(versionedReactNativeMonorepoRoot, 'codegen-tmp'); 39 codegenPkgRoot: path.join( 48 jsSrcsDir: path.join(REACT_NATIVE_SUBMODULE_DIR, 'Libraries'), [all …]
|
| H A D | index.ts | 29 const appPath = path.join(ANDROID_DIR, 'app'); 35 const templateManifestPath = path.join( 45 const rnActivityPath = path.join( 49 const expoviewConstantsPath = path.join( 53 const testSuiteTestsPath = path.join( 58 const versionedReactAndroidPath = path.join( 62 const versionedHermesPath = path.join( 176 const filePath = path.join(ANDROID_DIR, file); 348 const versionedAbiSrcPath = path.join( 382 const versionedExponentPackagePath = path.join( [all …]
|
| H A D | versionVendoredModules.ts | 28 const unversionedDir = path.join(ANDROID_VENDORED_DIR, 'unversioned'); 39 const sourceDirectory = path.join(unversionedDir, name); 40 const targetDirectory = path.join(versionedDir, name); 67 const cmakeFile = path.join(moduleRootDir, 'CMakeLists.txt'); 84 const jniLibDir = path.join(moduleRootDir, 'src', 'main', 'jniLibs'); 85 const buildLibDir = path.join( 100 const srcPath = path.join(buildLibDir, file); 110 await fs.remove(path.join(moduleRootDir, 'build')); 123 const files = await glob(`**/{${basenames.join(',')}}.kt`, { 124 cwd: path.join(ANDROID_DIR, `versioned-abis/expoview-${prefix}`), [all …]
|
| /expo/packages/expo-updates/e2e/fixtures/project_files/scripts/ |
| H A D | generate-test-update-bundles.js | 32 await fs.rm(path.join(projectRoot, 'updates'), { recursive: true, force: true }); 33 await fs.rename(path.join(projectRoot, 'dist'), path.join(projectRoot, 'updates')); 35 const testUpdateBundlesPath = path.join(projectRoot, 'test-update-bundles'); 38 const appJsPath = path.join(projectRoot, 'App.tsx'); 51 path.join(projectRoot, 'dist', 'metadata.json'), 55 const iosBundlePath = path.join(projectRoot, 'dist', manifest.fileMetadata.ios.bundle); 56 const androidBundlePath = path.join(projectRoot, 'dist', manifest.fileMetadata.android.bundle); 57 const iosBundleDestPath = path.join(testUpdateBundlesPath, path.basename(iosBundlePath)); 58 const androidBundleDestPath = path.join( 69 const testUpdateBundlesJsonPath = path.join(testUpdateBundlesPath, 'test-updates.json'); [all …]
|
| /expo/tools/src/generate-module/ |
| H A D | configureModule.ts | 52 if (!fs.existsSync(path.join(directoryPath, fromFilename))) { 57 path.join(directoryPath, fromFilename), 58 path.join(directoryPath, toFilename) 110 const filePath = path.join(dirPath, file); 132 const iosPath = path.join(modulePath, 'ios'); 216 return packageDirNames.join('.'); 229 const androidPath = path.join(modulePath, 'android'); 256 path.join(androidSrcPath, templateJavaPackage.split('.')[0]) 320 const tsPath = path.join(modulePath, 'src'); 324 await removeFiles(path.join(tsPath), [ [all …]
|
| /expo/packages/@expo/cli/src/utils/__tests__/ |
| H A D | mergeGitIgnorePaths-test.ts | 87 const projectRoot = path.join(testRoot, 'merge-git-ignore-skip-when-target-missing'); 91 const targetGitIgnorePath = path.join(projectRoot, '.gitignore'); 94 const sourceGitIgnorePath = path.join(projectRoot, '.gitignore-other'); 103 ].join('\n') 111 const projectRoot = path.join(testRoot, 'merge-git-ignore-works'); 114 const targetGitIgnorePath = path.join(projectRoot, '.gitignore'); 121 ].join('\n') 124 const sourceGitIgnorePath = path.join(projectRoot, '.gitignore-other'); 133 ].join('\n') 151 const targetGitIgnorePath = path.join(testRoot, './removeFromGitIgnore'); [all …]
|
| /expo/packages/expo-structured-headers/ios/Tests/scripts/ |
| H A D | generate-tests.js | 14 .join(''); 22 const testFixturesDir = path.join(__dirname, '../TestFixtures'); 28 const jsonString = fs.readFileSync(path.join(testFixturesDir, fileName), 'utf8'); 38 .join('\n')} 44 path.join(__dirname, '../EXStructuredHeadersTestFixtures.h') 55 .join('\n\n')} 61 path.join(__dirname, '../EXStructuredHeadersTestFixtures.m') 74 .join('\n\n')} 80 path.join(__dirname, '../EXStructuredHeadersParserTests.m')
|
| /expo/tools/src/versioning/android/versionCxx/ |
| H A D | index.ts | 17 const CXX_EXPO_MODULE_PATCHES_DIR = path.join( 44 cwd: path.join(PACKAGES_DIR, packageName), 80 fs.existsSync(path.join(PACKAGES_DIR, pkg.packageName, 'android', 'CMakeLists.txt')) 129 cwd: path.join(PACKAGES_DIR, packageName), 141 cwd: path.join(PACKAGES_DIR, packageName), 159 const libRoot = path.join( 171 const jniLibsRoot = path.join(versionedAbiRoot, 'src', 'main', 'jniLibs'); 175 const destPath = path.join(jniLibsRoot, lib); 177 await fs.copyFile(path.join(libRoot, lib), destPath); 193 path.join(versionedAbiRoot, 'src', 'main', 'java', abiName, file) [all …]
|
| /expo/packages/expo-yarn-workspaces/bin/ |
| H A D | symlink-necessary-packages.js | 41 const contents = fs.readFileSync(path.join(projectPath, 'package.json')); 49 const nodeModulesPath = path.join(projectPath, 'node_modules'); 50 const packagePath = path.join(nodeModulesPath, packageName.replace('/', path.sep)); 67 const workspacePackagePath = path.join( 81 const scopePath = path.join(nodeModulesPath, scope); 86 debug(`Creating symlink from %s to %s`, path.join(scopePath, name), relativePackagePath); 87 fs.symlinkSync(relativePackagePath, path.join(scopePath, name), 'junction'); 95 path.join(nodeModulesPath, packageName), 98 fs.symlinkSync(relativePackagePath, path.join(nodeModulesPath, packageName), 'junction');
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/monorepo/ |
| H A D | for-each-package.js | 13 const ROOT_LOCATION = path.join(__dirname, '..', '..'); 14 const PACKAGES_LOCATION = path.join(ROOT_LOCATION, 'packages'); 48 const packageAbsolutePath = path.join(PACKAGES_LOCATION, packageDirectory); 49 const packageRelativePathFromRoot = path.join('packages', packageDirectory); 52 readFileSync(path.join(packageAbsolutePath, 'package.json')),
|
| /expo/packages/create-expo/src/ |
| H A D | paths.ts | 16 dirPath = path.join(home, '.expo-staging'); 18 dirPath = path.join(home, '.expo-local'); 20 dirPath = path.join(home, '.expo'); 25 export const getStateJsonPath = (): string => path.join(dotExpoHomeDirectory(), 'state.json');
|