@slidev/cli 0.48.0-beta.17 → 0.48.0-beta.19

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.mjs CHANGED
@@ -5,17 +5,16 @@ import {
5
5
  resolveAddons,
6
6
  resolveOptions,
7
7
  resolveTheme
8
- } from "./chunk-M42N6HWT.mjs";
8
+ } from "./chunk-BKITU4YJ.mjs";
9
9
  import {
10
10
  version
11
- } from "./chunk-I5ZCLMQU.mjs";
11
+ } from "./chunk-XW74EPKM.mjs";
12
12
  import {
13
13
  loadSetups
14
14
  } from "./chunk-O6TYYGU6.mjs";
15
15
  import {
16
16
  getRoots
17
- } from "./chunk-G3BP3FUT.mjs";
18
- import "./chunk-BXO7ZPPU.mjs";
17
+ } from "./chunk-NOI2WLJK.mjs";
19
18
 
20
19
  // node/cli.ts
21
20
  import path from "node:path";
@@ -277,7 +276,7 @@ cli.command(
277
276
  }).strict().help(),
278
277
  async (args) => {
279
278
  const { entry, theme, watch, base, download, out, inspect } = args;
280
- const { build } = await import("./build-TRJ6GBCA.mjs");
279
+ const { build } = await import("./build-V63BEPH2.mjs");
281
280
  for (const entryFile of entry) {
282
281
  const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
283
282
  if (download && !options.data.config.download)
@@ -352,7 +351,7 @@ cli.command(
352
351
  (args) => exportOptions(commonOptions(args)).strict().help(),
353
352
  async (args) => {
354
353
  const { entry, theme } = args;
355
- const { exportSlides, getExportOptions } = await import("./export-JD32O5W6.mjs");
354
+ const { exportSlides, getExportOptions } = await import("./export-FEKJLPIJ.mjs");
356
355
  const port = await getPort(12445);
357
356
  for (const entryFile of entry) {
358
357
  const options = await resolveOptions({ entry: entryFile, theme }, "export");
@@ -396,7 +395,7 @@ cli.command(
396
395
  output,
397
396
  timeout
398
397
  }) => {
399
- const { exportNotes } = await import("./export-JD32O5W6.mjs");
398
+ const { exportNotes } = await import("./export-FEKJLPIJ.mjs");
400
399
  const port = await getPort(12445);
401
400
  for (const entryFile of entry) {
402
401
  const options = await resolveOptions({ entry: entryFile }, "export");
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  getRoots
3
- } from "./chunk-G3BP3FUT.mjs";
4
- import "./chunk-BXO7ZPPU.mjs";
3
+ } from "./chunk-NOI2WLJK.mjs";
5
4
 
6
5
  // node/export.ts
7
6
  import path from "node:path";
package/dist/index.mjs CHANGED
@@ -2,13 +2,12 @@ import {
2
2
  createServer,
3
3
  parser,
4
4
  resolveOptions
5
- } from "./chunk-M42N6HWT.mjs";
5
+ } from "./chunk-BKITU4YJ.mjs";
6
6
  import {
7
7
  ViteSlidevPlugin
8
- } from "./chunk-I5ZCLMQU.mjs";
8
+ } from "./chunk-XW74EPKM.mjs";
9
9
  import "./chunk-O6TYYGU6.mjs";
10
- import "./chunk-G3BP3FUT.mjs";
11
- import "./chunk-BXO7ZPPU.mjs";
10
+ import "./chunk-NOI2WLJK.mjs";
12
11
  export {
13
12
  ViteSlidevPlugin,
14
13
  createServer,
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  loadSetups
3
3
  } from "./chunk-O6TYYGU6.mjs";
4
- import "./chunk-BXO7ZPPU.mjs";
5
4
 
6
5
  // node/plugins/unocss.ts
7
6
  import { resolve } from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.48.0-beta.17",
3
+ "version": "0.48.0-beta.19",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -42,6 +42,7 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
+ "@antfu/ni": "^0.21.12",
45
46
  "@antfu/utils": "^0.7.7",
46
47
  "@iconify-json/carbon": "^1.1.30",
47
48
  "@iconify-json/ph": "^1.1.11",
@@ -83,9 +84,9 @@
83
84
  "prismjs": "^1.29.0",
84
85
  "prompts": "^2.4.2",
85
86
  "public-ip": "^6.0.1",
86
- "resolve": "^1.22.8",
87
87
  "resolve-from": "^5.0.0",
88
88
  "resolve-global": "^2.0.0",
89
+ "semver": "^7.6.0",
89
90
  "shiki": "^1.1.7",
90
91
  "shiki-magic-move": "^0.1.0",
91
92
  "sirv": "^2.0.4",
@@ -104,14 +105,13 @@
104
105
  "vitefu": "^0.2.5",
105
106
  "vue": "^3.4.20",
106
107
  "yargs": "^17.7.2",
107
- "@slidev/client": "0.48.0-beta.17",
108
- "@slidev/parser": "0.48.0-beta.17",
109
- "@slidev/types": "0.48.0-beta.17"
108
+ "@slidev/client": "0.48.0-beta.19",
109
+ "@slidev/parser": "0.48.0-beta.19",
110
+ "@slidev/types": "0.48.0-beta.19"
110
111
  },
111
112
  "devDependencies": {
112
113
  "@hedgedoc/markdown-it-plugins": "^2.1.4",
113
- "@types/plantuml-encoder": "^1.4.2",
114
- "semver": "^7.6.0"
114
+ "@types/plantuml-encoder": "^1.4.2"
115
115
  },
116
116
  "scripts": {
117
117
  "build": "rimraf dist && tsup node/index.ts node/cli.ts",
@@ -1,30 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
- // If the importer is in node compatibility mode or this is not an ESM
20
- // file that has been converted to a CommonJS file using a Babel-
21
- // compatible transform (i.e. "__esModule" has not been set), then set
22
- // "default" to the CommonJS "module.exports" for node compatibility.
23
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
- mod
25
- ));
26
-
27
- export {
28
- __commonJS,
29
- __toESM
30
- };