@slidev/cli 0.48.9 → 0.49.0-beta.2
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/{build-CPSFSDEL.mjs → build-GAOAA7VP.mjs} +3 -2
- package/dist/chunk-BXO7ZPPU.mjs +30 -0
- package/dist/{chunk-JGRWIL55.mjs → chunk-GAVH2RJI.mjs} +2 -2
- package/dist/chunk-RF5DANCN.mjs +9467 -0
- package/dist/cli.mjs +6 -5
- package/dist/{export-H5Y2LN6J.mjs → export-OGDZIGG2.mjs} +1 -0
- package/dist/index.mjs +3 -2
- package/dist/{unocss-AGKZGMYO.mjs → unocss-JEKY4MJK.mjs} +1 -0
- package/package.json +15 -14
- package/dist/chunk-STSW6326.mjs +0 -2239
package/dist/cli.mjs
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
resolveOptions,
|
|
7
7
|
resolveTheme,
|
|
8
8
|
version
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GAVH2RJI.mjs";
|
|
10
|
+
import "./chunk-RF5DANCN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
loadSetups
|
|
13
13
|
} from "./chunk-LOUKLO2C.mjs";
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
getRoots,
|
|
16
16
|
resolveEntry
|
|
17
17
|
} from "./chunk-AQQIBD5X.mjs";
|
|
18
|
+
import "./chunk-BXO7ZPPU.mjs";
|
|
18
19
|
|
|
19
20
|
// node/cli.ts
|
|
20
21
|
import path from "node:path";
|
|
@@ -325,7 +326,7 @@ cli.command(
|
|
|
325
326
|
}).strict().help(),
|
|
326
327
|
async (args) => {
|
|
327
328
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
328
|
-
const { build } = await import("./build-
|
|
329
|
+
const { build } = await import("./build-GAOAA7VP.mjs");
|
|
329
330
|
for (const entryFile of entry) {
|
|
330
331
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
331
332
|
if (download && !options.data.config.download)
|
|
@@ -406,7 +407,7 @@ cli.command(
|
|
|
406
407
|
(args) => exportOptions(commonOptions(args)).strict().help(),
|
|
407
408
|
async (args) => {
|
|
408
409
|
const { entry, theme } = args;
|
|
409
|
-
const { exportSlides, getExportOptions } = await import("./export-
|
|
410
|
+
const { exportSlides, getExportOptions } = await import("./export-OGDZIGG2.mjs");
|
|
410
411
|
const port = await getPort(12445);
|
|
411
412
|
for (const entryFile of entry) {
|
|
412
413
|
const options = await resolveOptions({ entry: entryFile, theme }, "export");
|
|
@@ -455,7 +456,7 @@ cli.command(
|
|
|
455
456
|
timeout,
|
|
456
457
|
wait
|
|
457
458
|
}) => {
|
|
458
|
-
const { exportNotes } = await import("./export-
|
|
459
|
+
const { exportNotes } = await import("./export-OGDZIGG2.mjs");
|
|
459
460
|
const port = await getPort(12445);
|
|
460
461
|
for (const entryFile of entry) {
|
|
461
462
|
const options = await resolveOptions({ entry: entryFile }, "export");
|
package/dist/index.mjs
CHANGED
|
@@ -2,12 +2,13 @@ import {
|
|
|
2
2
|
createServer,
|
|
3
3
|
parser,
|
|
4
4
|
resolveOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GAVH2RJI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViteSlidevPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RF5DANCN.mjs";
|
|
9
9
|
import "./chunk-LOUKLO2C.mjs";
|
|
10
10
|
import "./chunk-AQQIBD5X.mjs";
|
|
11
|
+
import "./chunk-BXO7ZPPU.mjs";
|
|
11
12
|
export {
|
|
12
13
|
ViteSlidevPlugin,
|
|
13
14
|
createServer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0-beta.2",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"@antfu/ni": "^0.21.12",
|
|
46
46
|
"@antfu/utils": "^0.7.7",
|
|
47
47
|
"@iconify-json/carbon": "^1.1.31",
|
|
48
|
-
"@iconify-json/ph": "^1.1.
|
|
48
|
+
"@iconify-json/ph": "^1.1.12",
|
|
49
49
|
"@iconify-json/svg-spinners": "^1.1.2",
|
|
50
50
|
"@lillallol/outline-pdf": "^4.0.0",
|
|
51
|
-
"@shikijs/markdown-it": "^1.
|
|
52
|
-
"@shikijs/twoslash": "^1.
|
|
53
|
-
"@shikijs/vitepress-twoslash": "^1.
|
|
54
|
-
"@unocss/extractor-mdc": "^0.
|
|
55
|
-
"@unocss/reset": "^0.
|
|
51
|
+
"@shikijs/markdown-it": "^1.3.0",
|
|
52
|
+
"@shikijs/twoslash": "^1.3.0",
|
|
53
|
+
"@shikijs/vitepress-twoslash": "^1.3.0",
|
|
54
|
+
"@unocss/extractor-mdc": "^0.59.2",
|
|
55
|
+
"@unocss/reset": "^0.59.2",
|
|
56
56
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
57
57
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
58
58
|
"chokidar": "^3.6.0",
|
|
@@ -89,17 +89,18 @@
|
|
|
89
89
|
"resolve-from": "^5.0.0",
|
|
90
90
|
"resolve-global": "^2.0.0",
|
|
91
91
|
"semver": "^7.6.0",
|
|
92
|
-
"shiki": "^1.
|
|
92
|
+
"shiki": "^1.3.0",
|
|
93
93
|
"shiki-magic-move": "^0.3.5",
|
|
94
94
|
"sirv": "^2.0.4",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
95
|
+
"source-map-js": "^1.2.0",
|
|
96
|
+
"typescript": "^5.4.5",
|
|
97
|
+
"unocss": "^0.59.2",
|
|
97
98
|
"unplugin-icons": "^0.18.5",
|
|
98
99
|
"unplugin-vue-components": "^0.26.0",
|
|
99
100
|
"unplugin-vue-markdown": "^0.26.0",
|
|
100
101
|
"untun": "^0.1.3",
|
|
101
102
|
"uqr": "^0.1.2",
|
|
102
|
-
"vite": "^5.2.
|
|
103
|
+
"vite": "^5.2.8",
|
|
103
104
|
"vite-plugin-inspect": "^0.8.3",
|
|
104
105
|
"vite-plugin-remote-assets": "^0.4.1",
|
|
105
106
|
"vite-plugin-static-copy": "^1.0.2",
|
|
@@ -107,9 +108,9 @@
|
|
|
107
108
|
"vitefu": "^0.2.5",
|
|
108
109
|
"vue": "^3.4.21",
|
|
109
110
|
"yargs": "^17.7.2",
|
|
110
|
-
"@slidev/
|
|
111
|
-
"@slidev/
|
|
112
|
-
"@slidev/types": "0.
|
|
111
|
+
"@slidev/parser": "0.49.0-beta.2",
|
|
112
|
+
"@slidev/client": "0.49.0-beta.2",
|
|
113
|
+
"@slidev/types": "0.49.0-beta.2"
|
|
113
114
|
},
|
|
114
115
|
"devDependencies": {
|
|
115
116
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|