Home
last modified time | relevance | path

Searched refs:path_1 (Results 1 – 25 of 34) sorted by relevance

12

/expo/packages/expo-modules-autolinking/build/autolinking/
H A DmergeLinkingOptions.js9 const path_1 = __importDefault(require("path")); constant
41 ? searchPaths.map((searchPath) => path_1.default.resolve(cwd, searchPath))
53 dir = path_1.default.dirname(path_1.default.dirname(pkgJsonPath));
54 paths.push(path_1.default.join(pkgJsonPath, '..', 'node_modules'));
56 if (path_1.default.dirname(dir) === dir) {
75 const projectRoot = packageJsonPath != null ? path_1.default.join(packageJsonPath, '..') : cwd;
76 const resolvedPath = path_1.default.resolve(projectRoot, nativeModulesDir || 'modules');
H A DfindModules.js11 const path_1 = __importDefault(require("path")); constant
32 …const packagePath = await fs_extra_1.default.realpath(path_1.default.join(searchPath, path_1.defau…
33 …0, ExpoModuleConfig_1.requireAndResolveExpoModuleConfig)(path_1.default.join(packagePath, path_1.d…
45 …const maybeIsolatedModulesPath = path_1.default.join(packagePath, name.startsWith('@') && name.inc…
47 …const isIsolatedModulesPath = path_1.default.basename(maybeIsolatedModulesPath) === 'node_modules';
89 return EXPO_MODULE_CONFIG_FILENAMES.indexOf(path_1.default.basename(fullpath));
133 const dirname = path_1.default.dirname(configPath);
147 const { name, version } = require(path_1.default.join(packagePath, 'package.json'));
154 name: path_1.default.basename(packagePath),
192 … dependencyPackageJsonPath = path_1.default.join(dependencyResult.path, 'package.json');
H A DextraDependencies.js8 const path_1 = __importDefault(require("path")); constant
14 const projectRoot = path_1.default.dirname(mergeLinkingOptions_1.projectPackageJsonPath);
H A DverifySearchResults.js8 const path_1 = __importDefault(require("path")); constant
14 const relativePath = (pkg) => path_1.default.relative(cwd, pkg.path);
/expo/packages/expo-test-runner/build/
H A DTemplateProject.js8 const path_1 = __importDefault(require("path")); constant
33 const parentFolder = path_1.default.resolve(projectPath, '..');
42 fs_1.default.renameSync(path_1.default.join(parentFolder, appName), projectPath);
43 const repoRoot = path_1.default.resolve(this.configFilePath, '..', '..', '..');
44 const localCliBin = path_1.default.join(repoRoot, 'packages/@expo/cli/build/bin/cli');
50 …let packageJson = JSON.parse(fs_1.default.readFileSync(path_1.default.join(projectPath, 'package.j…
79 …let appJson = JSON.parse(fs_1.default.readFileSync(path_1.default.join(projectPath, 'app.json'), '…
88 …fs_1.default.writeFileSync(path_1.default.join(projectPath, 'app.json'), JSON.stringify(appJson, n…
90 …const localTemplatePath = path_1.default.join(repoRoot, 'templates', 'expo-template-bare-minimum');
95 … const templateVersion = require(path_1.default.join(localTemplatePath, 'package.json')).version;
[all …]
H A DPaths.js4 const path_1 = require("path"); constant
5 exports.SelfPath = (0, path_1.join)(__dirname, '..');
H A DTemplateFile.js28 const path_1 = require("path"); constant
41 …return fs.copy((0, path_1.join)(Paths_1.SelfPath, 'templates', this.template, outputPath), (0, pat…
47 return evaluator.compileFileAsync((0, path_1.join)(projectPath, filePath));
63 return fs.copy(this.userFilePath, (0, path_1.join)(projectPath, outputPath), {
69 return evaluator.compileFileAsync((0, path_1.join)(projectPath, filePath));
H A DConfigReader.js3 const path_1 = require("path"); constant
13 return path ? path : (0, path_1.join)(process.cwd(), 'test-runner.config.js');
/expo/packages/create-expo-module/build/
H A DcreateExampleApp.js11 const path_1 = __importDefault(require("path")); constant
25 const appTmpPath = path_1.default.join(targetDir, exampleProjectSlug);
27 const appTargetPath = path_1.default.join(targetDir, 'example');
50 await fs_extra_1.default.remove(path_1.default.join(appTmpPath, '.git'));
75 …await fs_extra_1.default.move(path_1.default.join(fromPath, file), path_1.default.join(toPath, fil…
84 const appConfigPath = path_1.default.join(appPath, 'app.json');
106 const packageJsonPath = path_1.default.join(appPath, 'package.json');
141 cwd: path_1.default.join(appPath, 'ios'),
H A Dcreate-expo-module.js14 const path_1 = __importDefault(require("path")); constant
48 return path_1.default.join(packageJsonPath, '..', 'modules', targetOrSlug);
65 : path_1.default.join(CWD, target || slug);
77 ? path_1.default.join(CWD, options.source)
146 const baseDir = dir ? path_1.default.join(root, dir) : root;
148 const relativePath = dir ? path_1.default.join(dir, file) : file;
152 const fullPath = path_1.default.join(baseDir, file);
182 return path_1.default.join(targetDir, 'package');
201 escape: (value) => value.replace(/\./g, path_1.default.sep),
203 const fromPath = path_1.default.join(templatePath, file);
[all …]
/expo/packages/expo-modules-autolinking/build/platforms/
H A Dandroid.js9 const path_1 = __importDefault(require("path")); constant
41 const gradleFilePath = path_1.default.join(revision.path, buildGradleFile);
43 …name: convertPackageNameToProjectName(packageName, path_1.default.relative(revision.path, gradleFi…
44 sourceDir: path_1.default.dirname(gradleFilePath),
50 sourceDir: path_1.default.join(revision.path, sourceDir),
115 …const fileContent = await fs_extra_1.default.readFile(path_1.default.join(sourceDir, file), 'utf8'…
130 const basename = path_1.default.basename(file, path_1.default.extname(file));
150 const baseDir = path_1.default.dirname(buildGradleFile).replace(/\//g, '-');
H A Dios.js9 const path_1 = __importDefault(require("path")); constant
39 podName: path_1.default.basename(podspecFile, path_1.default.extname(podspecFile)),
40 podspecDir: path_1.default.dirname(path_1.default.join(revision.path, podspecFile)),
59 const className = path_1.default.basename(targetPath, path_1.default.extname(targetPath));
/expo/packages/@expo/fingerprint/build/sourcer/
H A DExpoConfigLoader.js12 const path_1 = __importDefault(require("path")); constant
21 const projectRoot = path_1.default.resolve(args[0]);
22 const ignoredFile = args[1] ? path_1.default.resolve(args[1]) : null;
25 …const { getConfig } = require((0, resolve_from_1.default)(path_1.default.resolve(projectRoot), 'ex…
30 .map((modulePath) => path_1.default.relative(projectRoot, modulePath));
77 return path_1.default.join(__dirname, 'ExpoConfigLoader.js');
H A DBare.js10 const path_1 = __importDefault(require("path")); constant
39 …packageJson = require((0, resolve_from_1.default)(path_1.default.resolve(projectRoot), './package.…
42 …debug(`Unable to read package.json from ${path_1.default.resolve(projectRoot)}/package.json: ` + e…
99 dependency.root = path_1.default.relative(root, dependencyRoot);
102 …platformData[key] = value.startsWith?.(dependencyRoot) ? path_1.default.relative(root, value) : va…
H A DExpo.js11 const path_1 = __importDefault(require("path")); constant
17 if (!resolve_from_1.default.silent(path_1.default.resolve(projectRoot), 'expo/config')) {
25 …c_1.default)('node', [(0, ExpoConfigLoader_1.getExpoConfigLoaderPath)(), path_1.default.resolve(pr…
96 … await promises_1.default.mkdtemp(path_1.default.join(os_1.default.tmpdir(), 'expo-fingerprint-'));
97 const ignoredFile = path_1.default.join(os_1.default.tmpdir(), '.fingerprintignore');
124 const filePath = path_1.default.relative(projectRoot, project.sourceDir);
154 const filePath = path_1.default.relative(projectRoot, pod.podspecDir);
H A DUtils.js8 const path_1 = __importDefault(require("path")); constant
12 const stat = await promises_1.default.stat(path_1.default.join(projectRoot, filePath));
/expo/packages/@expo/package-manager/build/utils/
H A DnodeWorkspaces.js12 const path_1 = __importDefault(require("path")); constant
40 ? path_1.default.join(workspaceEnvValue, exports.PNPM_WORKSPACE_FILE)
49 const workspaceRoot = path_1.default.dirname(workspaceFile);
50 const relativePath = path_1.default.relative(workspaceRoot, projectRoot);
H A DnodeManagers.js8 const path_1 = __importDefault(require("path")); constant
53 if (fs_1.default.existsSync(path_1.default.join(root, lockFiles[preferredManager]))) {
59 if (fs_1.default.existsSync(path_1.default.join(root, lockFiles[managerName]))) {
/expo/packages/expo-notifications/plugin/build/
H A DwithNotificationsIOS.js6 const path_1 = require("path"); constant
41 const fileName = (0, path_1.basename)(soundFileRelativePath);
42 const sourceFilepath = (0, path_1.resolve)(projectRoot, soundFileRelativePath);
43 const destinationFilepath = (0, path_1.resolve)(sourceRoot, fileName);
H A DwithNotificationsAndroid.js7 const path_1 = require("path"); constant
113 …const dpiFolderPath = (0, path_1.resolve)(projectRoot, exports.ANDROID_RES_PATH, drawableFolderNam…
126 …(0, fs_1.writeFileSync)((0, path_1.resolve)(dpiFolderPath, exports.NOTIFICATION_ICON + '.png'), re…
136 …const dpiFolderPath = (0, path_1.resolve)(projectRoot, exports.ANDROID_RES_PATH, drawableFolderNam…
137 const iconFile = (0, path_1.resolve)(dpiFolderPath, exports.NOTIFICATION_ICON + '.png');
161 const rawResourcesPath = (0, path_1.resolve)(projectRoot, exports.ANDROID_RES_PATH, 'raw');
162 const inputFilename = (0, path_1.basename)(soundFileRelativePath);
165 const sourceFilepath = (0, path_1.resolve)(projectRoot, soundFileRelativePath);
166 const destinationFilepath = (0, path_1.resolve)(rawResourcesPath, inputFilename);
/expo/packages/@expo/fingerprint/build/
H A DDedup.js8 const path_1 = __importDefault(require("path")); constant
75 const fromPath = path_1.default.join(projectRoot, from.filePath);
76 const toPath = path_1.default.join(projectRoot, to.filePath);
77 const result = path_1.default.relative(fromPath, toPath).match(/^[./\\/]*$/) != null;
H A DOptions.js9 const path_1 = __importDefault(require("path")); constant
63 …const fingerprintIgnorePath = path_1.default.join(projectRoot, exports.FINGERPRINT_IGNORE_FILENAME…
/expo/packages/@expo/package-manager/build/node/
H A DBasePackageManager.js10 const path_1 = __importDefault(require("path")); constant
51 const filePath = path_1.default.join(cwd, this.lockFile);
59 const modulesPath = path_1.default.join(cwd, 'node_modules');
/expo/packages/@expo/fingerprint/build/hash/
H A DHash.js11 const path_1 = __importDefault(require("path")); constant
88 const stream = (0, fs_1.createReadStream)(path_1.default.join(projectRoot, filePath));
114 …const dirents = (await promises_1.default.readdir(path_1.default.join(projectRoot, dirPath), { wit…
118 const filePath = path_1.default.join(dirPath, dirent.name);
122 const filePath = path_1.default.join(dirPath, dirent.name);
/expo/packages/expo-router/build/testing-library/
H A Dcontext-stubs.js7 const path_1 = __importDefault(require("path")); constant
22 …const existingContext = (0, require_context_ponyfill_1.default)(path_1.default.resolve(process.cwd…

12