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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -0
  2. 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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vslides",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "CLI for Vercel Slides API",
5
5
  "license": "MIT",
6
6
  "author": "Vercel",