@slidev/cli 52.11.3 → 52.11.4

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,5 +1,5 @@
1
1
  import "./resolver-B4CxEjJF.mjs";
2
- import { t as resolveViteConfigs } from "./shared-Ba3UGXDn.mjs";
2
+ import { t as resolveViteConfigs } from "./shared-C72EYint.mjs";
3
3
  import { join, resolve } from "node:path";
4
4
  import { build as build$1 } from "vite";
5
5
  import { existsSync } from "node:fs";
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as resolveEntry, n as getRoots, r as isInstalledGlobally } from "./resolver-B4CxEjJF.mjs";
2
- import { a as parser, c as resolveAddons, d as updateFrontmatterPatch, i as resolveOptions, l as version, o as getThemeMeta, s as resolveTheme, u as loadSetups } from "./shared-Ba3UGXDn.mjs";
3
- import { t as createServer } from "./serve-jpCd8QH_.mjs";
2
+ import { a as parser, c as resolveAddons, d as updateFrontmatterPatch, i as resolveOptions, l as version, o as getThemeMeta, s as resolveTheme, u as loadSetups } from "./shared-C72EYint.mjs";
3
+ import { t as createServer } from "./serve-Jnml-HZ7.mjs";
4
4
  import path from "node:path";
5
5
  import process from "node:process";
6
6
  import fs from "node:fs/promises";
@@ -245,9 +245,6 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
245
245
  }
246
246
  };
247
247
  process.stdin.on("keypress", onKeyPress);
248
- server?.httpServer?.on("close", () => {
249
- process.stdin.off("keypress", onKeyPress);
250
- });
251
248
  }
252
249
  const { roots } = await initServer();
253
250
  bindShortcut();
@@ -291,7 +288,7 @@ cli.command("build [entry..]", "Build hostable SPA", (args) => exportOptions(com
291
288
  describe: "enable the inspect plugin for debugging"
292
289
  }).strict().help(), async (args) => {
293
290
  const { entry, theme, base, download, out, inspect, "without-notes": withoutNotes } = args;
294
- const { build } = await import("./build-CBdhBv4d.mjs");
291
+ const { build } = await import("./build-CoOI8nIf.mjs");
295
292
  for (const entryFile of entry) {
296
293
  const options = await resolveOptions({
297
294
  entry: entryFile,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./resolver-B4CxEjJF.mjs";
2
- import { a as parser, i as resolveOptions, n as ViteSlidevPlugin, r as createDataUtils } from "./shared-Ba3UGXDn.mjs";
3
- import { t as createServer } from "./serve-jpCd8QH_.mjs";
2
+ import { a as parser, i as resolveOptions, n as ViteSlidevPlugin, r as createDataUtils } from "./shared-C72EYint.mjs";
3
+ import { t as createServer } from "./serve-Jnml-HZ7.mjs";
4
4
 
5
5
  export { ViteSlidevPlugin, createDataUtils, createServer, parser, resolveOptions };
@@ -1,4 +1,4 @@
1
- import { t as resolveViteConfigs } from "./shared-Ba3UGXDn.mjs";
1
+ import { t as resolveViteConfigs } from "./shared-C72EYint.mjs";
2
2
  import { join } from "node:path";
3
3
  import process from "node:process";
4
4
  import { createServer } from "vite";
@@ -505,7 +505,7 @@ function createLayoutWrapperPlugin({ data, utils }) {
505
505
 
506
506
  //#endregion
507
507
  //#region package.json
508
- var version = "52.11.3";
508
+ var version = "52.11.4";
509
509
 
510
510
  //#endregion
511
511
  //#region node/integrations/addons.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
3
  "type": "module",
4
- "version": "52.11.3",
4
+ "version": "52.11.4",
5
5
  "description": "Presentation slides for developers",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -42,17 +42,17 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@antfu/ni": "^28.1.0",
45
+ "@antfu/ni": "^28.2.0",
46
46
  "@antfu/utils": "^9.3.0",
47
- "@iconify-json/carbon": "^1.2.16",
47
+ "@iconify-json/carbon": "^1.2.18",
48
48
  "@iconify-json/ph": "^1.2.2",
49
49
  "@iconify-json/svg-spinners": "^1.2.4",
50
50
  "@lillallol/outline-pdf": "^4.0.0",
51
51
  "@shikijs/markdown-it": "^3.21.0",
52
52
  "@shikijs/twoslash": "^3.21.0",
53
53
  "@shikijs/vitepress-twoslash": "^3.21.0",
54
- "@unocss/extractor-mdc": "^66.5.12",
55
- "@unocss/reset": "^66.5.12",
54
+ "@unocss/extractor-mdc": "^66.6.0",
55
+ "@unocss/reset": "^66.6.0",
56
56
  "@vitejs/plugin-vue": "^6.0.3",
57
57
  "@vitejs/plugin-vue-jsx": "^5.1.3",
58
58
  "ansis": "^4.2.0",
@@ -63,17 +63,17 @@
63
63
  "fast-glob": "^3.3.3",
64
64
  "get-port-please": "^3.2.0",
65
65
  "global-directory": "^4.0.1",
66
- "htmlparser2": "^10.0.0",
66
+ "htmlparser2": "^10.1.0",
67
67
  "is-installed-globally": "^1.0.0",
68
68
  "jiti": "^2.6.1",
69
- "katex": "^0.16.27",
69
+ "katex": "^0.16.28",
70
70
  "local-pkg": "^1.1.2",
71
71
  "lz-string": "^1.5.0",
72
72
  "magic-string": "^0.30.21",
73
73
  "magic-string-stack": "^1.1.0",
74
74
  "markdown-it": "^14.1.0",
75
75
  "markdown-it-footnote": "^4.0.0",
76
- "markdown-it-mdc": "^0.2.6",
76
+ "markdown-it-mdc": "^0.2.8",
77
77
  "mlly": "^1.8.0",
78
78
  "monaco-editor": "^0.55.1",
79
79
  "obug": "^2.1.1",
@@ -94,24 +94,24 @@
94
94
  "source-map-js": "^1.2.1",
95
95
  "typescript": "^5.9.3",
96
96
  "unhead": "^2.1.2",
97
- "unocss": "^66.5.12",
98
- "unplugin-icons": "^22.5.0",
99
- "unplugin-vue-components": "^30.0.0",
97
+ "unocss": "^66.6.0",
98
+ "unplugin-icons": "^23.0.1",
99
+ "unplugin-vue-components": "^31.0.0",
100
100
  "unplugin-vue-markdown": "^29.2.0",
101
101
  "untun": "^0.1.3",
102
102
  "uqr": "^0.1.2",
103
103
  "vite": "^7.3.1",
104
104
  "vite-plugin-inspect": "^11.3.3",
105
105
  "vite-plugin-remote-assets": "^2.1.0",
106
- "vite-plugin-static-copy": "^3.1.4",
106
+ "vite-plugin-static-copy": "^3.2.0",
107
107
  "vite-plugin-vue-server-ref": "^1.0.0",
108
108
  "vitefu": "^1.1.1",
109
- "vue": "^3.5.26",
109
+ "vue": "^3.5.27",
110
110
  "yaml": "^2.8.2",
111
111
  "yargs": "^18.0.0",
112
- "@slidev/client": "52.11.3",
113
- "@slidev/types": "52.11.3",
114
- "@slidev/parser": "52.11.3"
112
+ "@slidev/parser": "52.11.4",
113
+ "@slidev/types": "52.11.4",
114
+ "@slidev/client": "52.11.4"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@hedgedoc/markdown-it-plugins": "^2.1.4",