vovk-cli 0.0.1-draft.85 → 0.0.1-draft.87
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.
|
@@ -24,7 +24,7 @@ export default async function ensureClient({ config, cwd, log }) {
|
|
|
24
24
|
}
|
|
25
25
|
usedTemplateNames = uniq(usedTemplateNames);
|
|
26
26
|
if (usedTemplateNames.length) {
|
|
27
|
-
log.info(`Placeholder client files ${chalkHighlightThing(usedTemplateNames.join(', '))} are generated at ${clientOutDirAbsolutePath} in ${Date.now() - now}ms`);
|
|
27
|
+
log.info(`Placeholder client files from template${usedTemplateNames.length !== 1 ? 's' : ''} ${chalkHighlightThing(usedTemplateNames.map((s) => `"${s}"`).join(', '))} are generated at ${clientOutDirAbsolutePath} in ${Date.now() - now}ms`);
|
|
28
28
|
}
|
|
29
29
|
return { written: !!usedTemplateNames.length, path: clientOutDirAbsolutePath };
|
|
30
30
|
}
|
package/dist/generate/index.mjs
CHANGED
|
@@ -79,6 +79,6 @@ export default async function generate({ projectInfo, segments, segmentsSchema,
|
|
|
79
79
|
}
|
|
80
80
|
return null;
|
|
81
81
|
}));
|
|
82
|
-
log.info(`Client generated from
|
|
82
|
+
log.info(`Client generated from template${usedTemplateNames.length !== 1 ? 's' : ''} ${chalkHighlightThing(usedTemplateNames.map((s) => `"${s}"`).join(', '))}${unusedTemplateNames.length ? ` (files generated from template${unusedTemplateNames.length !== 1 ? 's' : ''} ${chalkHighlightThing(unusedTemplateNames.map((s) => `"${s}"`).join(', '))} are up to date)` : ''} at ${clientOutDirAbsolutePath} in ${Date.now() - now}ms`);
|
|
83
83
|
return { written: true, path: clientOutDirAbsolutePath };
|
|
84
84
|
}
|