@slidev/cli 51.8.1 → 51.8.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/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getThemeMeta, loadSetups, parser, resolveAddons, resolveOptions, resolveTheme, updateFrontmatterPatch, version } from "./shared-
|
|
1
|
+
import { getThemeMeta, loadSetups, parser, resolveAddons, resolveOptions, resolveTheme, updateFrontmatterPatch, version } from "./shared-BC4uxnur.js";
|
|
2
2
|
import { getRoots, isInstalledGlobally, resolveEntry } from "./resolver-BShaA6qw.js";
|
|
3
|
-
import { createServer } from "./serve-
|
|
3
|
+
import { createServer } from "./serve-CwwupxEq.js";
|
|
4
4
|
import { exec } from "node:child_process";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import os from "node:os";
|
|
@@ -295,7 +295,7 @@ cli.command("build [entry..]", "Build hostable SPA", (args) => exportOptions(com
|
|
|
295
295
|
describe: "enable the inspect plugin for debugging"
|
|
296
296
|
}).strict().help(), async (args) => {
|
|
297
297
|
const { entry, theme, base, download, out, inspect } = args;
|
|
298
|
-
const { build } = await import("./build-
|
|
298
|
+
const { build } = await import("./build-DbJ651Nz.js");
|
|
299
299
|
for (const entryFile of entry) {
|
|
300
300
|
const options = await resolveOptions({
|
|
301
301
|
entry: entryFile,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ViteSlidevPlugin, createDataUtils, parser, resolveOptions } from "./shared-
|
|
1
|
+
import { ViteSlidevPlugin, createDataUtils, parser, resolveOptions } from "./shared-BC4uxnur.js";
|
|
2
2
|
import "./resolver-BShaA6qw.js";
|
|
3
|
-
import { createServer } from "./serve-
|
|
3
|
+
import { createServer } from "./serve-CwwupxEq.js";
|
|
4
4
|
|
|
5
5
|
export { ViteSlidevPlugin, createDataUtils, createServer, parser, resolveOptions };
|
|
@@ -43,7 +43,7 @@ import Vue from "@vitejs/plugin-vue";
|
|
|
43
43
|
import VueJsx from "@vitejs/plugin-vue-jsx";
|
|
44
44
|
|
|
45
45
|
//#region package.json
|
|
46
|
-
var version = "51.8.
|
|
46
|
+
var version = "51.8.2";
|
|
47
47
|
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region node/syntax/markdown-it/markdown-it-link.ts
|
|
@@ -2307,11 +2307,15 @@ async function setupUnocss({ clientRoot, roots, data, utils }) {
|
|
|
2307
2307
|
return "default" in loaded ? loaded.default : loaded;
|
|
2308
2308
|
}))).filter((x) => !!x);
|
|
2309
2309
|
}
|
|
2310
|
+
const tokens = await loadModule(resolve(clientRoot, ".generated/unocss-tokens.ts"));
|
|
2310
2311
|
const configs = [
|
|
2311
|
-
{
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2312
|
+
{
|
|
2313
|
+
presets: [presetIcons({
|
|
2314
|
+
collectionsNodeResolvePath: utils.iconsResolvePath,
|
|
2315
|
+
collections: { slidev: { logo: () => readFileSync(resolve(clientRoot, "assets/logo.svg"), "utf-8") } }
|
|
2316
|
+
})],
|
|
2317
|
+
safelist: tokens
|
|
2318
|
+
},
|
|
2315
2319
|
...await loadFileConfigs(clientRoot),
|
|
2316
2320
|
...await loadSetups(roots, "unocss.ts", [], loadFileConfigs)
|
|
2317
2321
|
].filter(Boolean);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "51.8.
|
|
4
|
+
"version": "51.8.2",
|
|
5
5
|
"description": "Presentation slides for developers",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@antfu/ni": "^24.4.0",
|
|
46
46
|
"@antfu/utils": "^9.2.0",
|
|
47
|
-
"@iconify-json/carbon": "^1.2.
|
|
47
|
+
"@iconify-json/carbon": "^1.2.9",
|
|
48
48
|
"@iconify-json/ph": "^1.2.2",
|
|
49
49
|
"@iconify-json/svg-spinners": "^1.2.2",
|
|
50
50
|
"@lillallol/outline-pdf": "^4.0.0",
|
|
51
|
-
"@shikijs/markdown-it": "^3.
|
|
52
|
-
"@shikijs/twoslash": "^3.
|
|
53
|
-
"@shikijs/vitepress-twoslash": "^3.
|
|
54
|
-
"@unocss/extractor-mdc": "^66.
|
|
55
|
-
"@unocss/reset": "^66.
|
|
51
|
+
"@shikijs/markdown-it": "^3.6.0",
|
|
52
|
+
"@shikijs/twoslash": "^3.6.0",
|
|
53
|
+
"@shikijs/vitepress-twoslash": "^3.6.0",
|
|
54
|
+
"@unocss/extractor-mdc": "^66.2.0",
|
|
55
|
+
"@unocss/reset": "^66.2.0",
|
|
56
56
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
57
57
|
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
|
58
58
|
"ansis": "^4.1.0",
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
"resolve-from": "^5.0.0",
|
|
89
89
|
"resolve-global": "^2.0.0",
|
|
90
90
|
"semver": "^7.7.2",
|
|
91
|
-
"shiki": "^3.
|
|
91
|
+
"shiki": "^3.6.0",
|
|
92
92
|
"shiki-magic-move": "^1.1.0",
|
|
93
93
|
"sirv": "^3.0.1",
|
|
94
94
|
"source-map-js": "^1.2.1",
|
|
95
95
|
"typescript": "^5.8.3",
|
|
96
96
|
"unhead": "^2.0.10",
|
|
97
|
-
"unocss": "^66.
|
|
97
|
+
"unocss": "^66.2.0",
|
|
98
98
|
"unplugin-icons": "^22.1.0",
|
|
99
99
|
"unplugin-vue-components": "^28.7.0",
|
|
100
100
|
"unplugin-vue-markdown": "^28.3.1",
|
|
@@ -109,9 +109,9 @@
|
|
|
109
109
|
"vue": "^3.5.16",
|
|
110
110
|
"yaml": "^2.8.0",
|
|
111
111
|
"yargs": "^17.7.2",
|
|
112
|
-
"@slidev/client": "51.8.
|
|
113
|
-
"@slidev/parser": "51.8.
|
|
114
|
-
"@slidev/types": "51.8.
|
|
112
|
+
"@slidev/client": "51.8.2",
|
|
113
|
+
"@slidev/parser": "51.8.2",
|
|
114
|
+
"@slidev/types": "51.8.2"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|