@slidev/cli 0.49.0-beta.4 → 0.49.0-beta.6
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-ULWOL6YC.mjs → build-4R4CW3SG.mjs} +3 -3
- package/dist/{chunk-AQQIBD5X.mjs → chunk-ALXAQLRA.mjs} +13 -10
- package/dist/{chunk-NZM6E5T7.mjs → chunk-DF3ZEVPQ.mjs} +250 -229
- package/dist/{chunk-DRELQPK4.mjs → chunk-R7SOIPTZ.mjs} +3 -3
- package/dist/cli.mjs +8 -8
- package/dist/{export-OGDZIGG2.mjs → export-D7UWWRHH.mjs} +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +24 -25
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DF3ZEVPQ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createResolver,
|
|
7
7
|
getRoots,
|
|
8
8
|
resolveEntry
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ALXAQLRA.mjs";
|
|
10
10
|
|
|
11
11
|
// node/commands/server.ts
|
|
12
12
|
import { join } from "node:path";
|
|
@@ -48,7 +48,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
48
48
|
import * as parser from "@slidev/parser/fs";
|
|
49
49
|
|
|
50
50
|
// package.json
|
|
51
|
-
var version = "0.49.0-beta.
|
|
51
|
+
var version = "0.49.0-beta.6";
|
|
52
52
|
|
|
53
53
|
// node/integrations/themes.ts
|
|
54
54
|
import { join as join2 } from "node:path";
|
package/dist/cli.mjs
CHANGED
|
@@ -6,15 +6,16 @@ import {
|
|
|
6
6
|
resolveOptions,
|
|
7
7
|
resolveTheme,
|
|
8
8
|
version
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-R7SOIPTZ.mjs";
|
|
10
|
+
import "./chunk-DF3ZEVPQ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
loadSetups
|
|
13
13
|
} from "./chunk-LOUKLO2C.mjs";
|
|
14
14
|
import {
|
|
15
15
|
getRoots,
|
|
16
|
+
isInstalledGlobally,
|
|
16
17
|
resolveEntry
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ALXAQLRA.mjs";
|
|
18
19
|
import "./chunk-BXO7ZPPU.mjs";
|
|
19
20
|
|
|
20
21
|
// node/cli.ts
|
|
@@ -27,7 +28,6 @@ import fs from "fs-extra";
|
|
|
27
28
|
import openBrowser from "open";
|
|
28
29
|
import yargs from "yargs";
|
|
29
30
|
import { blue, bold, cyan, dim, gray, green, underline, yellow } from "kolorist";
|
|
30
|
-
import isInstalledGlobally from "is-installed-globally";
|
|
31
31
|
import equal from "fast-deep-equal";
|
|
32
32
|
import { verifyConfig } from "@slidev/parser";
|
|
33
33
|
import { injectPreparserExtensionLoader } from "@slidev/parser/fs";
|
|
@@ -326,7 +326,7 @@ cli.command(
|
|
|
326
326
|
}).strict().help(),
|
|
327
327
|
async (args) => {
|
|
328
328
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
329
|
-
const { build } = await import("./build-
|
|
329
|
+
const { build } = await import("./build-4R4CW3SG.mjs");
|
|
330
330
|
for (const entryFile of entry) {
|
|
331
331
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
332
332
|
if (download && !options.data.config.download)
|
|
@@ -407,7 +407,7 @@ cli.command(
|
|
|
407
407
|
(args) => exportOptions(commonOptions(args)).strict().help(),
|
|
408
408
|
async (args) => {
|
|
409
409
|
const { entry, theme } = args;
|
|
410
|
-
const { exportSlides, getExportOptions } = await import("./export-
|
|
410
|
+
const { exportSlides, getExportOptions } = await import("./export-D7UWWRHH.mjs");
|
|
411
411
|
const port = await getPort(12445);
|
|
412
412
|
for (const entryFile of entry) {
|
|
413
413
|
const options = await resolveOptions({ entry: entryFile, theme }, "export");
|
|
@@ -456,7 +456,7 @@ cli.command(
|
|
|
456
456
|
timeout,
|
|
457
457
|
wait
|
|
458
458
|
}) => {
|
|
459
|
-
const { exportNotes } = await import("./export-
|
|
459
|
+
const { exportNotes } = await import("./export-D7UWWRHH.mjs");
|
|
460
460
|
const port = await getPort(12445);
|
|
461
461
|
for (const entryFile of entry) {
|
|
462
462
|
const options = await resolveOptions({ entry: entryFile }, "export");
|
|
@@ -536,7 +536,7 @@ function printInfo(options, port, remote, tunnelUrl, publicIp) {
|
|
|
536
536
|
console.log();
|
|
537
537
|
console.log();
|
|
538
538
|
console.log(` ${cyan("\u25CF") + blue("\u25A0") + yellow("\u25B2")}`);
|
|
539
|
-
console.log(`${bold(" Slidev")} ${blue(`v${version}`)} ${isInstalledGlobally ? yellow("(global)") : ""}`);
|
|
539
|
+
console.log(`${bold(" Slidev")} ${blue(`v${version}`)} ${isInstalledGlobally.value ? yellow("(global)") : ""}`);
|
|
540
540
|
console.log();
|
|
541
541
|
verifyConfig(options.data.config, options.data.themeMeta, (v) => console.warn(yellow(` ! ${v}`)));
|
|
542
542
|
console.log(dim(" theme ") + (options.theme ? green(options.theme) : gray("none")));
|
package/dist/index.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
createServer,
|
|
3
3
|
parser,
|
|
4
4
|
resolveOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R7SOIPTZ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViteSlidevPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DF3ZEVPQ.mjs";
|
|
9
9
|
import "./chunk-LOUKLO2C.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ALXAQLRA.mjs";
|
|
11
11
|
import "./chunk-BXO7ZPPU.mjs";
|
|
12
12
|
export {
|
|
13
13
|
ViteSlidevPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.49.0-beta.
|
|
3
|
+
"version": "0.49.0-beta.6",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@antfu/ni": "^0.21.12",
|
|
46
46
|
"@antfu/utils": "^0.7.7",
|
|
47
|
-
"@iconify-json/carbon": "^1.1.
|
|
47
|
+
"@iconify-json/carbon": "^1.1.32",
|
|
48
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.59.
|
|
55
|
-
"@unocss/reset": "^0.59.
|
|
51
|
+
"@shikijs/markdown-it": "^1.4.0",
|
|
52
|
+
"@shikijs/twoslash": "^1.4.0",
|
|
53
|
+
"@shikijs/vitepress-twoslash": "^1.4.0",
|
|
54
|
+
"@unocss/extractor-mdc": "^0.59.4",
|
|
55
|
+
"@unocss/reset": "^0.59.4",
|
|
56
56
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
57
57
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
58
58
|
"chokidar": "^3.6.0",
|
|
@@ -72,14 +72,13 @@
|
|
|
72
72
|
"kolorist": "^1.8.0",
|
|
73
73
|
"local-pkg": "^0.5.0",
|
|
74
74
|
"lz-string": "^1.5.0",
|
|
75
|
-
"magic-string": "^0.30.
|
|
76
|
-
"magic-string-stack": "^0.1.
|
|
75
|
+
"magic-string": "^0.30.10",
|
|
76
|
+
"magic-string-stack": "^0.1.1",
|
|
77
77
|
"markdown-it": "^14.1.0",
|
|
78
78
|
"markdown-it-footnote": "^4.0.0",
|
|
79
|
-
"markdown-it-link-attributes": "^4.0.1",
|
|
80
79
|
"markdown-it-mdc": "^0.2.3",
|
|
81
|
-
"mlly": "^1.
|
|
82
|
-
"monaco-editor": "^0.
|
|
80
|
+
"mlly": "^1.7.0",
|
|
81
|
+
"monaco-editor": "^0.48.0",
|
|
83
82
|
"open": "^10.1.0",
|
|
84
83
|
"pdf-lib": "^1.17.1",
|
|
85
84
|
"plantuml-encoder": "^1.4.0",
|
|
@@ -90,28 +89,28 @@
|
|
|
90
89
|
"resolve-from": "^5.0.0",
|
|
91
90
|
"resolve-global": "^2.0.0",
|
|
92
91
|
"semver": "^7.6.0",
|
|
93
|
-
"shiki": "^1.
|
|
94
|
-
"shiki-magic-move": "^0.3.
|
|
92
|
+
"shiki": "^1.4.0",
|
|
93
|
+
"shiki-magic-move": "^0.3.7",
|
|
95
94
|
"sirv": "^2.0.4",
|
|
96
95
|
"source-map-js": "^1.2.0",
|
|
97
96
|
"typescript": "^5.4.5",
|
|
98
|
-
"unocss": "^0.59.
|
|
99
|
-
"unplugin-icons": "^0.
|
|
100
|
-
"unplugin-vue-components": "^0.
|
|
101
|
-
"unplugin-vue-markdown": "^0.26.
|
|
97
|
+
"unocss": "^0.59.4",
|
|
98
|
+
"unplugin-icons": "^0.19.0",
|
|
99
|
+
"unplugin-vue-components": "^0.27.0",
|
|
100
|
+
"unplugin-vue-markdown": "^0.26.2",
|
|
102
101
|
"untun": "^0.1.3",
|
|
103
102
|
"uqr": "^0.1.2",
|
|
104
|
-
"vite": "^5.2.
|
|
105
|
-
"vite-plugin-inspect": "^0.8.
|
|
103
|
+
"vite": "^5.2.11",
|
|
104
|
+
"vite-plugin-inspect": "^0.8.4",
|
|
106
105
|
"vite-plugin-remote-assets": "^0.4.1",
|
|
107
|
-
"vite-plugin-static-copy": "^1.0.
|
|
106
|
+
"vite-plugin-static-copy": "^1.0.4",
|
|
108
107
|
"vite-plugin-vue-server-ref": "^0.4.2",
|
|
109
108
|
"vitefu": "^0.2.5",
|
|
110
|
-
"vue": "^3.4.
|
|
109
|
+
"vue": "^3.4.26",
|
|
111
110
|
"yargs": "^17.7.2",
|
|
112
|
-
"@slidev/client": "0.49.0-beta.
|
|
113
|
-
"@slidev/
|
|
114
|
-
"@slidev/
|
|
111
|
+
"@slidev/client": "0.49.0-beta.6",
|
|
112
|
+
"@slidev/types": "0.49.0-beta.6",
|
|
113
|
+
"@slidev/parser": "0.49.0-beta.6"
|
|
115
114
|
},
|
|
116
115
|
"devDependencies": {
|
|
117
116
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|