vslides 1.0.25 → 1.0.27
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/dist/cli.js +6 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4954,6 +4954,11 @@ async function libraryPublish(options) {
|
|
|
4954
4954
|
process.exit(ExitCode.NetworkError);
|
|
4955
4955
|
}
|
|
4956
4956
|
success(`Updated library item ${existingLibraryId} to v${updateResult.data.version}`);
|
|
4957
|
+
if (updateResult.data.deployUrl) {
|
|
4958
|
+
success(`Preview deployed: ${updateResult.data.deployUrl}`);
|
|
4959
|
+
} else if (updateResult.data.deployError) {
|
|
4960
|
+
warning(`Preview not available: ${updateResult.data.deployError}`);
|
|
4961
|
+
}
|
|
4957
4962
|
return;
|
|
4958
4963
|
}
|
|
4959
4964
|
const name = options.name || await prompt(`Name [${extractTitle(markdown) || config.slug}]: `) || extractTitle(markdown) || config.slug;
|
|
@@ -5099,6 +5104,7 @@ async function libraryImport(id) {
|
|
|
5099
5104
|
newline();
|
|
5100
5105
|
info("Add to your slides.md:");
|
|
5101
5106
|
info(` ---`);
|
|
5107
|
+
info(` theme: ./`);
|
|
5102
5108
|
info(` src: ./library/${filename}`);
|
|
5103
5109
|
info(` ---`);
|
|
5104
5110
|
newline();
|