| /expo/packages/@expo/config-plugins/build/utils/ |
| H A D | fs.js | 8 function _fs() { function 10 _fs = function () { function 25 const srcFile = await _fs().default.promises.readFile(src); 26 await _fs().default.promises.mkdir(_path().default.dirname(dest), { 29 await _fs().default.promises.writeFile(dest, srcFile); 35 _fs().default.unlinkSync(filePath);
|
| H A D | modules.js | 9 function _fs() { function 11 _fs = function () { function 24 return await _fs().default.promises.stat(file); 39 return _fs().default.statSync(file).isFile();
|
| H A D | XML.js | 13 function _fs() { function 15 _fs = function () { function 44 await _fs().default.promises.mkdir(_path().default.dirname(options.path), { 47 await _fs().default.promises.writeFile(options.path, xml); 52 contents = await _fs().default.promises.readFile(options.path, {
|
| H A D | Updates.js | 35 function _fs() { function 37 _fs = function () { function 82 if (!expoUpdatesPackageJsonPath || !_fs().default.existsSync(expoUpdatesPackageJsonPath)) { 85 const packageJson = JSON.parse(_fs().default.readFileSync(expoUpdatesPackageJsonPath, 'utf8')); 187 if (!_fs().default.existsSync(finalPath)) { 190 return _fs().default.readFileSync(finalPath, 'utf8');
|
| /expo/packages/@expo/config-plugins/build/android/ |
| H A D | Package.js | 20 function _fs() { function 22 _fs = function () { function 171 _fs().default.writeFileSync(filepath, contents); 202 _fs().default.mkdirSync(newPackagePath, { 211 if (_fs().default.lstatSync(filepath).isFile()) { 214 _fs().default.mkdirSync(filepath, { 228 _fs().default.rmdirSync(pathToCheck); 246 if (_fs().default.lstatSync(filepath).isFile()) { 252 _fs().default.writeFileSync(filepath, contents); 263 _fs().default.renameSync(src, dest); [all …]
|
| H A D | EasBuild.js | 9 function _fs() { function 11 _fs = function () { function 52 await _fs().default.promises.writeFile(easGradlePath, _EasBuildGradleScript().default); 53 …const buildGradleContent = await _fs().default.promises.readFile(_path().default.join(buildGradleP… 56 …await _fs().default.promises.writeFile(buildGradlePath, `${buildGradleContent.trim()}\n${APPLY_EAS… 62 const hasEasGradleFile = await _fs().default.existsSync(easGradlePath); 63 …const buildGradleContent = await _fs().default.promises.readFile(_path().default.join(buildGradleP…
|
| H A D | Paths.js | 28 function _fs() { function 30 _fs = function () { function 89 contents: _fs().default.readFileSync(filePath, 'utf8'), 104 const isGroovy = _fs().default.existsSync(groovyPath); 105 const isKotlin = !isGroovy && _fs().default.existsSync(ktPath);
|
| H A D | GoogleServices.js | 32 function _fs() { function 34 _fs = function () { function 98 await (0, _fs().copyFilePathToPathAsync)(completeSourcePath, destinationPath);
|
| /expo/packages/@expo/config-plugins/build/ios/ |
| H A D | Entitlements.js | 10 function _fs() { function 12 _fs = function () { function 88 return entitlementsPath && _fs().default.existsSync(entitlementsPath) ? entitlementsPath : null; 108 if (oldEntitlementPath && _fs().default.existsSync(oldEntitlementPath)) { 115 _fs().default.mkdirSync(_path().default.dirname(entitlementsPath), { 118 if (!_fs().default.existsSync(entitlementsPath)) { 119 _fs().default.writeFileSync(entitlementsPath, ENTITLEMENTS_TEMPLATE); 124 _fs().default.writeFileSync(project.filepath, project.writeSync());
|
| H A D | XcodeProjectFile.js | 8 function _fs() { function 10 _fs = function () { function 81 if (overwrite || !_fs().default.existsSync(absoluteFilePath)) { 83 _fs().default.writeFileSync(absoluteFilePath, fileContents, 'utf8');
|
| H A D | ProvisioningProfile.js | 7 function _fs() { function 9 _fs = function () { function 59 _fs().default.writeFileSync(project.filepath, project.writeSync());
|
| H A D | Swift.js | 11 function _fs() { function 13 _fs = function () { function 168 if (!_fs().default.existsSync(bridgingHeaderProjectPath)) { 170 _fs().default.writeFileSync(bridgingHeaderProjectPath, templateBridgingHeader, 'utf8');
|
| H A D | Locales.js | 17 function _fs() { function 19 _fs = function () { function 85 await _fs().default.promises.mkdir(dir, { 94 await _fs().default.promises.writeFile(strings, buffer.join('\n'));
|
| H A D | BundleIdentifier.js | 28 function _fs() { function 30 _fs = function () { function 187 _fs().default.writeFileSync(pbxprojPath, project.writeSync()); 220 const rawPlist = _fs().default.readFileSync(plistPath, 'utf8'); 235 _fs().default.writeFileSync(plistPath, xml);
|
| H A D | Google.js | 26 function _fs() { function 28 _fs = function () { function 90 const contents = _fs().default.readFileSync(googleServiceFilePath, 'utf8'); 127 …_fs().default.copyFileSync(googleServiceFilePath, _path().default.join((0, _Paths().getSourceRoot)…
|
| H A D | Maps.js | 16 function _fs() { function 18 _fs = function () { function 178 const contents = await _fs().default.promises.readFile(filePath, 'utf-8'); 200 await _fs().default.promises.writeFile(filePath, results.contents);
|
| H A D | Paths.js | 24 function _fs() { function 26 _fs = function () { function 146 contents: (0, _fs().readFileSync)(filePath, 'utf8'), 209 …hs.map(value => path().join(value, 'project.pbxproj')).filter(value => (0, _fs().existsSync)(value…
|
| /expo/packages/@expo/config/build/ |
| H A D | resolvePackageJson.js | 7 function _fs() { function 9 _fs = function () { function 30 if (!(0, _fs().existsSync)(packageJsonPath)) {
|
| H A D | getConfig.js | 15 function _fs() { function 17 _fs = function () { function 41 if (!(0, _fs().existsSync)(configFile)) {
|
| H A D | evalConfig.js | 8 function _fs() { function 10 _fs = function () { function 52 const contents = (0, _fs().readFileSync)(configFile, 'utf8');
|
| /expo/packages/@expo/metro-config/build/transformer/ |
| H A D | getCacheKey.js | 15 function _fs() { function 17 _fs = function () { function 23 const cacheKeyParts = [(0, _fs().readFileSync)(__filename),
|
| H A D | getBabelConfig.js | 7 function _fs() { function 9 _fs = function () { function 64 if (!_fs().default.existsSync(projectBabelRCPath)) { 69 if (!_fs().default.existsSync(projectBabelRCPath)) { 75 if (_fs().default.existsSync(projectBabelRCPath)) {
|
| /expo/packages/@expo/metro-config/build/transform-worker/ |
| H A D | postcss.js | 17 function _fs() { function 19 _fs = function () { function 230 if (_fs().default.existsSync(jsConfigPath)) { 235 if (_fs().default.existsSync(jsonConfigPath)) { 249 if (_fs().default.existsSync(jsConfigPath)) { 250 return stableHash(_fs().default.readFileSync(jsConfigPath, 'utf8')).toString('hex'); 253 if (_fs().default.existsSync(jsonConfigPath)) { 254 return stableHash(_fs().default.readFileSync(jsonConfigPath, 'utf8')).toString('hex');
|
| /expo/packages/@expo/config/build/paths/ |
| H A D | paths.js | 13 function _fs() { function 15 _fs = function () { function 61 return _fs().default.realpathSync(process.cwd()); 143 if (_fs().default.existsSync(modulePath)) { 148 if (_fs().default.existsSync(modulePath)) {
|
| /expo/packages/@expo/metro-config/build/ |
| H A D | getWatchFolders.js | 16 function _fs() { function 18 _fs = function () { function 47 const file = _fs().default.readFileSync(filePath, 'utf8');
|