@slidev/cli 0.50.0-beta.11 → 0.50.0-beta.13

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveViteConfigs
3
- } from "./chunk-H4RHMU3C.js";
3
+ } from "./chunk-76TJPTJS.js";
4
4
  import "./chunk-UNQ5DBLZ.js";
5
5
 
6
6
  // node/commands/build.ts
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-UNQ5DBLZ.js";
10
10
 
11
11
  // package.json
12
- var version = "0.50.0-beta.11";
12
+ var version = "0.50.0-beta.13";
13
13
 
14
14
  // node/integrations/themes.ts
15
15
  import { join } from "node:path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveViteConfigs
3
- } from "./chunk-H4RHMU3C.js";
3
+ } from "./chunk-76TJPTJS.js";
4
4
 
5
5
  // node/commands/serve.ts
6
6
  import { join } from "node:path";
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-SMIAYOAS.js";
3
+ } from "./chunk-XBAY35PW.js";
4
4
  import {
5
5
  getThemeMeta,
6
6
  loadSetups,
@@ -9,7 +9,7 @@ import {
9
9
  resolveOptions,
10
10
  resolveTheme,
11
11
  version
12
- } from "./chunk-H4RHMU3C.js";
12
+ } from "./chunk-76TJPTJS.js";
13
13
  import {
14
14
  getRoots,
15
15
  isInstalledGlobally,
@@ -299,6 +299,8 @@ ${dim(" Public IP: ")} ${blue(publicIp)}
299
299
  restartServer();
300
300
  });
301
301
  watcher.on("change", (file) => {
302
+ if (typeof file !== "string")
303
+ return;
302
304
  if (FILES_CREATE_RESTART.includes(file))
303
305
  return;
304
306
  console.log(yellow(`
@@ -330,7 +332,7 @@ cli.command(
330
332
  }).strict().help(),
331
333
  async (args) => {
332
334
  const { entry, theme, base, download, out, inspect } = args;
333
- const { build } = await import("./build-GAPXZCUM.js");
335
+ const { build } = await import("./build-OCVVQG44.js");
334
336
  for (const entryFile of entry) {
335
337
  const options = await resolveOptions({ entry: entryFile, theme, inspect, download }, "build");
336
338
  printInfo(options);
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-SMIAYOAS.js";
3
+ } from "./chunk-XBAY35PW.js";
4
4
  import {
5
5
  ViteSlidevPlugin,
6
6
  createDataUtils,
7
7
  parser,
8
8
  resolveOptions
9
- } from "./chunk-H4RHMU3C.js";
9
+ } from "./chunk-76TJPTJS.js";
10
10
  import "./chunk-UNQ5DBLZ.js";
11
11
  export {
12
12
  ViteSlidevPlugin,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
3
  "type": "module",
4
- "version": "0.50.0-beta.11",
4
+ "version": "0.50.0-beta.13",
5
5
  "description": "Presentation slides for developers",
6
6
  "author": "antfu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -44,9 +44,9 @@
44
44
  "dependencies": {
45
45
  "@antfu/ni": "^0.23.1",
46
46
  "@antfu/utils": "^0.7.10",
47
- "@iconify-json/carbon": "^1.2.4",
48
- "@iconify-json/ph": "^1.2.1",
49
- "@iconify-json/svg-spinners": "^1.2.1",
47
+ "@iconify-json/carbon": "^1.2.5",
48
+ "@iconify-json/ph": "^1.2.2",
49
+ "@iconify-json/svg-spinners": "^1.2.2",
50
50
  "@lillallol/outline-pdf": "^4.0.0",
51
51
  "@shikijs/markdown-it": "^1.24.2",
52
52
  "@shikijs/twoslash": "^1.24.2",
@@ -55,7 +55,7 @@
55
55
  "@unocss/reset": "^0.65.1",
56
56
  "@vitejs/plugin-vue": "^5.2.1",
57
57
  "@vitejs/plugin-vue-jsx": "^4.1.1",
58
- "chokidar": "^4.0.1",
58
+ "chokidar": "^4.0.2",
59
59
  "cli-progress": "^3.12.0",
60
60
  "connect": "^3.7.0",
61
61
  "debug": "^4.4.0",
@@ -66,8 +66,8 @@
66
66
  "global-directory": "^4.0.1",
67
67
  "htmlparser2": "^9.1.0",
68
68
  "is-installed-globally": "^1.0.0",
69
- "jiti": "^2.4.1",
70
- "katex": "^0.16.15",
69
+ "jiti": "^2.4.2",
70
+ "katex": "^0.16.17",
71
71
  "kolorist": "^1.8.0",
72
72
  "local-pkg": "^0.5.1",
73
73
  "lz-string": "^1.5.0",
@@ -109,9 +109,9 @@
109
109
  "vue": "^3.5.13",
110
110
  "yaml": "^2.6.1",
111
111
  "yargs": "^17.7.2",
112
- "@slidev/parser": "0.50.0-beta.11",
113
- "@slidev/client": "0.50.0-beta.11",
114
- "@slidev/types": "0.50.0-beta.11"
112
+ "@slidev/parser": "0.50.0-beta.13",
113
+ "@slidev/types": "0.50.0-beta.13",
114
+ "@slidev/client": "0.50.0-beta.13"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@hedgedoc/markdown-it-plugins": "^2.1.4",