vslides 1.0.37 → 1.0.38

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 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -5188,10 +5188,12 @@ async function libraryPublish(options) {
5188
5188
  console.log(`\u2502 Products: ${productNames.padEnd(25)}\u2502`);
5189
5189
  console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518");
5190
5190
  newline();
5191
- const confirmed = await promptConfirm("Publish with these settings? [Y/n] ");
5192
- if (!confirmed) {
5193
- info("Aborted.");
5194
- process.exit(0);
5191
+ if (!options.nonInteractive) {
5192
+ const confirmed = await promptConfirm("Publish with these settings? [Y/n] ");
5193
+ if (!confirmed) {
5194
+ info("Aborted.");
5195
+ process.exit(0);
5196
+ }
5195
5197
  }
5196
5198
  newline();
5197
5199
  info("Ensuring sandbox is running...");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vslides",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "CLI for Vercel Slides API",
5
5
  "license": "MIT",
6
6
  "author": "Vercel",