Home
last modified time | relevance | path

Searched refs:templatePath (Results 1 – 11 of 11) sorted by relevance

/expo/packages/@expo/cli/src/prebuild/
H A DresolveOptions.ts38 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 DresolveTemplate.ts115 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 DgenerateModuleAsync.ts20 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 Dprebuild-test.ts33 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 DReactDevToolsPageMiddleware.ts16 const templatePath = constant
21 const content = (await readFile(templatePath)).toString('utf-8');
H A DInterstitialPageMiddleware.ts44 const templatePath = constant
49 let content = (await readFile(templatePath)).toString('utf-8');
/expo/tools/src/commands/
H A DUpdateProjectTemplates.ts100 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 DTemplate.ts107 const templatePath = path.join(__dirname, '../template/gitignore'); constant
110 await fs.promises.copyFile(templatePath, ignorePath);
/expo/packages/create-expo-module/src/
H A Dcreate-expo-module.ts245 templatePath: string,
249 const files = await getFilesAsync(templatePath);
258 const fromPath = path.join(templatePath, file);
/expo/packages/create-expo-module/build/
H A Dcreate-expo-module.js194 async function createModuleFromTemplate(templatePath, targetPath, data) { argument
195 const files = await getFilesAsync(templatePath);
203 const fromPath = path_1.default.join(templatePath, file);
H A Dcreate-expo-module.js.map1templatePath: string,\n targetPath: string,\n data: SubstitutionData | LocalSubstitutionData\n) …