@slidev/cli 0.47.2 → 0.47.3
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.
|
@@ -69,6 +69,7 @@ async function mergeViteConfigs({ addonRoots, themeRoots, entry }, viteConfig, c
|
|
|
69
69
|
import { join as join8 } from "node:path";
|
|
70
70
|
import { existsSync as existsSync3 } from "node:fs";
|
|
71
71
|
import process2 from "node:process";
|
|
72
|
+
import { fileURLToPath } from "node:url";
|
|
72
73
|
import Vue from "@vitejs/plugin-vue";
|
|
73
74
|
import VueJsx from "@vitejs/plugin-vue-jsx";
|
|
74
75
|
import Icons from "unplugin-icons/vite";
|
|
@@ -1789,7 +1790,7 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1789
1790
|
}),
|
|
1790
1791
|
Icons({
|
|
1791
1792
|
defaultClass: "slidev-icon",
|
|
1792
|
-
|
|
1793
|
+
collectionsNodeResolvePath: fileURLToPath(import.meta.url),
|
|
1793
1794
|
...iconsOptions
|
|
1794
1795
|
}),
|
|
1795
1796
|
config.remoteAssets === true || config.remoteAssets === mode ? import("vite-plugin-remote-assets").then((r) => r.VitePluginRemoteAssets({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DAZBDXA7.mjs";
|
|
5
5
|
import {
|
|
6
6
|
packageExists,
|
|
7
7
|
resolveImportPath
|
|
@@ -2523,7 +2523,7 @@ async function createServer(options2, viteConfig = {}, serverOptions = {}) {
|
|
|
2523
2523
|
import * as parser from "@slidev/parser/fs";
|
|
2524
2524
|
|
|
2525
2525
|
// package.json
|
|
2526
|
-
var version = "0.47.
|
|
2526
|
+
var version = "0.47.3";
|
|
2527
2527
|
|
|
2528
2528
|
// node/themes.ts
|
|
2529
2529
|
import prompts2 from "prompts";
|
package/dist/cli.mjs
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
resolveOptions,
|
|
10
10
|
resolveThemeName,
|
|
11
11
|
version
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-YJTIXRZE.mjs";
|
|
13
|
+
import "./chunk-DAZBDXA7.mjs";
|
|
14
14
|
import {
|
|
15
15
|
loadSetups
|
|
16
16
|
} from "./chunk-CTBVOVLQ.mjs";
|
|
@@ -269,7 +269,7 @@ cli.command(
|
|
|
269
269
|
}).strict().help(),
|
|
270
270
|
async (args) => {
|
|
271
271
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
272
|
-
const { build } = await import("./build-
|
|
272
|
+
const { build } = await import("./build-RGXER2G4.mjs");
|
|
273
273
|
for (const entryFile of entry) {
|
|
274
274
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
275
275
|
if (download && !options.data.config.download)
|
package/dist/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
isPath,
|
|
10
10
|
parser,
|
|
11
11
|
resolveOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YJTIXRZE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ViteSlidevPlugin
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DAZBDXA7.mjs";
|
|
16
16
|
import "./chunk-CTBVOVLQ.mjs";
|
|
17
17
|
import "./chunk-O6VUSZMJ.mjs";
|
|
18
18
|
import "./chunk-BXO7ZPPU.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.3",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@mrdrogdrog/optional": "^1.2.1",
|
|
50
50
|
"@shikijs/markdown-it": "^1.0.0-beta.5",
|
|
51
51
|
"@shikijs/twoslash": "^1.0.0-beta.5",
|
|
52
|
-
"@shikijs/vitepress-twoslash": "1.0.0-beta.
|
|
53
|
-
"@unocss/extractor-mdc": "^0.58.
|
|
54
|
-
"@unocss/reset": "^0.58.
|
|
52
|
+
"@shikijs/vitepress-twoslash": "^1.0.0-beta.5",
|
|
53
|
+
"@unocss/extractor-mdc": "^0.58.5",
|
|
54
|
+
"@unocss/reset": "^0.58.5",
|
|
55
55
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
56
56
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
57
57
|
"cli-progress": "^3.12.0",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"shiki": "^1.0.0-beta.5",
|
|
92
92
|
"sirv": "^2.0.4",
|
|
93
93
|
"typescript": "^5.3.3",
|
|
94
|
-
"unocss": "^0.58.
|
|
95
|
-
"unplugin-icons": "^0.18.
|
|
94
|
+
"unocss": "^0.58.5",
|
|
95
|
+
"unplugin-icons": "^0.18.5",
|
|
96
96
|
"unplugin-vue-components": "^0.26.0",
|
|
97
97
|
"unplugin-vue-markdown": "^0.26.0",
|
|
98
98
|
"uqr": "^0.1.2",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
"vite-plugin-inspect": "^0.8.3",
|
|
101
101
|
"vite-plugin-remote-assets": "^0.4.1",
|
|
102
102
|
"vite-plugin-static-copy": "^1.0.1",
|
|
103
|
-
"vite-plugin-vue-server-ref": "^0.4.
|
|
103
|
+
"vite-plugin-vue-server-ref": "^0.4.2",
|
|
104
104
|
"vitefu": "^0.2.5",
|
|
105
105
|
"vue": "^3.4.15",
|
|
106
106
|
"yargs": "^17.7.2",
|
|
107
|
-
"@slidev/parser": "0.47.
|
|
108
|
-
"@slidev/types": "0.47.
|
|
109
|
-
"@slidev/client": "0.47.
|
|
107
|
+
"@slidev/parser": "0.47.3",
|
|
108
|
+
"@slidev/types": "0.47.3",
|
|
109
|
+
"@slidev/client": "0.47.3"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|