create-routify 1.5.7 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +4 -2
- package/src/utils/repos.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -184,7 +184,7 @@ async function runPrompts(options, configs) {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
options.template = options.templates.find(
|
|
187
|
-
(t) => t.name === options.starterTemplate,
|
|
187
|
+
(t) => t.manifest.name === options.starterTemplate,
|
|
188
188
|
);
|
|
189
189
|
|
|
190
190
|
if (!options.template)
|
|
@@ -327,7 +327,9 @@ const removeExcludedFiles = async (options) => {
|
|
|
327
327
|
export const run = async (options) => {
|
|
328
328
|
const s = p.spinner();
|
|
329
329
|
emitter.on('download', (url) => s.start(`Downloading ${url}`));
|
|
330
|
-
emitter.on('downloaded', (url
|
|
330
|
+
emitter.on('downloaded', ({ url, path }) =>
|
|
331
|
+
s.stop(`Downloaded ${url} -> ${path}`),
|
|
332
|
+
);
|
|
331
333
|
const configs = (await import('../config.js')).default;
|
|
332
334
|
|
|
333
335
|
const tools = { prompts: p };
|