Searched refs:templatePath (Results 1 – 11 of 11) sorted by relevance
| /expo/packages/@expo/cli/src/prebuild/ |
| H A D | resolveOptions.ts | 38 const templatePath = path.resolve(template); constant 39 assert(fs.existsSync(templatePath), 'template file does not exist: ' + templatePath); 41 fs.statSync(templatePath).isFile(), 42 'template must be a tar file created by running `npm pack` in a project: ' + templatePath 45 return templatePath;
|
| H A D | resolveTemplate.ts | 115 templatePath?: string 140 const templatePath = path.resolve(template); constant 141 if (!fs.existsSync(templatePath)) { 142 throw new CommandError(`template file does not exist: ${templatePath}`); 145 await extractLocalNpmTarballAsync(templatePath, { cwd: templateDirectory, name: appName }); 158 repoInfo = await getRepoInfo(repoUrl, templatePath);
|
| /expo/tools/src/generate-module/ |
| H A D | generateModuleAsync.ts | 20 let templatePath: string | undefined; 24 templatePath = options.template; 26 templatePath = path.join(PACKAGES_DIR, TEMPLATE_PACKAGE_NAME); 29 `Using local module template from ${chalk.blue(path.relative(EXPO_DIR, templatePath))}` 45 await fetchTemplate(newModulePath, templatePath);
|
| /expo/packages/@expo/cli/e2e/__tests__/ |
| H A D | prebuild-test.ts | 33 let templatePath = getTemplatePath(); 34 if (templatePath) return templatePath; 37 templatePath = getTemplatePath(); 38 if (templatePath) return templatePath;
|
| /expo/packages/@expo/cli/src/start/server/middleware/ |
| H A D | ReactDevToolsPageMiddleware.ts | 16 const templatePath = constant 21 const content = (await readFile(templatePath)).toString('utf-8');
|
| H A D | InterstitialPageMiddleware.ts | 44 const templatePath = constant 49 let content = (await readFile(templatePath)).toString('utf-8');
|
| /expo/tools/src/commands/ |
| H A D | UpdateProjectTemplates.ts | 100 async function yarnTemplateAsync(templatePath: string): Promise<void> { 103 const yarnLockPath = path.join(templatePath, 'yarn.lock'); 112 cwd: templatePath,
|
| /expo/packages/create-expo/src/ |
| H A D | Template.ts | 107 const templatePath = path.join(__dirname, '../template/gitignore'); constant 110 await fs.promises.copyFile(templatePath, ignorePath);
|
| /expo/packages/create-expo-module/src/ |
| H A D | create-expo-module.ts | 245 templatePath: string, 249 const files = await getFilesAsync(templatePath); 258 const fromPath = path.join(templatePath, file);
|
| /expo/packages/create-expo-module/build/ |
| H A D | create-expo-module.js | 194 async function createModuleFromTemplate(templatePath, targetPath, data) { argument 195 const files = await getFilesAsync(templatePath); 203 const fromPath = path_1.default.join(templatePath, file);
|
| H A D | create-expo-module.js.map | 1 …templatePath: string,\n targetPath: string,\n data: SubstitutionData | LocalSubstitutionData\n) …
|