@slidev/cli 52.19.0 → 52.19.1
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-rtQk8gSn.mjs → build-CnBLrEp0.mjs} +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{serve-CY7V3bOt.mjs → serve-DzftUF4M.mjs} +5 -5
- package/dist/{stdio-TyXSpxhg.mjs → stdio-BrKVwy-M.mjs} +1 -1
- package/package.json +18 -18
- package/skills/slidev/references/core-components.md +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isInstalledGlobally, o as resolveEntry } from "./resolver-BIhhHpe7.mjs";
|
|
2
|
-
import { c as getThemeMeta, d as loadSetups, f as updateFrontmatterPatch, l as resolveTheme, o as resolveOptions, s as parser, t as createServer, u as version } from "./serve-
|
|
2
|
+
import { c as getThemeMeta, d as loadSetups, f as updateFrontmatterPatch, l as resolveTheme, o as resolveOptions, s as parser, t as createServer, u as version } from "./serve-DzftUF4M.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
@@ -302,7 +302,7 @@ cli.command("build [entry..]", "Build hostable SPA", (args) => exportOptions(com
|
|
|
302
302
|
describe: "enable the inspect plugin for debugging"
|
|
303
303
|
}).strict().help(), async (args) => {
|
|
304
304
|
const { entry, theme, base, download, out, inspect, "without-notes": withoutNotes, "router-mode": routerMode } = args;
|
|
305
|
-
const { build } = await import("./build-
|
|
305
|
+
const { build } = await import("./build-CnBLrEp0.mjs");
|
|
306
306
|
for (const entryFile of entry) {
|
|
307
307
|
const options = await resolveOptions({
|
|
308
308
|
entry: entryFile,
|
|
@@ -331,7 +331,7 @@ cli.command("format [entry..]", "Format the markdown file", (args) => commonOpti
|
|
|
331
331
|
}
|
|
332
332
|
});
|
|
333
333
|
cli.command("mcp [entry]", "Start an MCP (Model Context Protocol) server over stdio for AI agents to inspect and edit the slides", (args) => commonOptions(args).strict().help(), async ({ entry }) => {
|
|
334
|
-
const { startMcpStdioServer } = await import("./stdio-
|
|
334
|
+
const { startMcpStdioServer } = await import("./stdio-BrKVwy-M.mjs");
|
|
335
335
|
await startMcpStdioServer(await resolveEntry(entry));
|
|
336
336
|
});
|
|
337
337
|
cli.command("theme [subcommand]", "Theme related operations", (command) => {
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createDataUtils, o as resolveOptions, r as ViteSlidevPlugin, s as parser, t as createServer } from "./serve-
|
|
1
|
+
import { a as createDataUtils, o as resolveOptions, r as ViteSlidevPlugin, s as parser, t as createServer } from "./serve-DzftUF4M.mjs";
|
|
2
2
|
export { ViteSlidevPlugin, createDataUtils, createServer, parser, resolveOptions };
|
|
@@ -22,7 +22,7 @@ import equal from "fast-deep-equal";
|
|
|
22
22
|
import fg from "fast-glob";
|
|
23
23
|
import { createDebug } from "obug";
|
|
24
24
|
import pm from "picomatch";
|
|
25
|
-
import { satisfies } from "
|
|
25
|
+
import { satisfies } from "verkit";
|
|
26
26
|
import { parseHtmlForUnheadExtraction } from "unhead/parser";
|
|
27
27
|
import { createHead, transformHtmlTemplate } from "unhead/server";
|
|
28
28
|
import { createBundledHighlighter, createSingletonShorthands } from "shiki/core";
|
|
@@ -712,7 +712,7 @@ function createLayoutWrapperPlugin({ data, utils }) {
|
|
|
712
712
|
}
|
|
713
713
|
//#endregion
|
|
714
714
|
//#region package.json
|
|
715
|
-
var version = "52.19.
|
|
715
|
+
var version = "52.19.1";
|
|
716
716
|
//#endregion
|
|
717
717
|
//#region node/integrations/addons.ts
|
|
718
718
|
async function resolveAddons(addonsInConfig) {
|
|
@@ -1797,7 +1797,7 @@ async function setupTransformers(roots) {
|
|
|
1797
1797
|
return result;
|
|
1798
1798
|
}
|
|
1799
1799
|
//#endregion
|
|
1800
|
-
//#region ../../node_modules/.pnpm/@hedgedoc+markdown-it-plugins@2.1.4_patch_hash=
|
|
1800
|
+
//#region ../../node_modules/.pnpm/@hedgedoc+markdown-it-plugins@2.1.4_patch_hash=49e14003b6caa0b7d164cbe71da573809d375bab_5d0803032f59b14bddf561c39219cd80/node_modules/@hedgedoc/markdown-it-plugins/dist/esm/image-size/specialCharacters.js
|
|
1801
1801
|
var SpecialCharacters;
|
|
1802
1802
|
(function(SpecialCharacters) {
|
|
1803
1803
|
SpecialCharacters[SpecialCharacters["EXCLAMATION_MARK"] = 33] = "EXCLAMATION_MARK";
|
|
@@ -1813,7 +1813,7 @@ var SpecialCharacters;
|
|
|
1813
1813
|
SpecialCharacters[SpecialCharacters["CLOSING_PARENTHESIS"] = 41] = "CLOSING_PARENTHESIS";
|
|
1814
1814
|
})(SpecialCharacters || (SpecialCharacters = {}));
|
|
1815
1815
|
//#endregion
|
|
1816
|
-
//#region ../../node_modules/.pnpm/markdown-it@14.
|
|
1816
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.3.0/node_modules/markdown-it/lib/token.mjs
|
|
1817
1817
|
/**
|
|
1818
1818
|
* class Token
|
|
1819
1819
|
**/
|
|
@@ -1967,7 +1967,7 @@ Token.prototype.attrJoin = function attrJoin(name, value) {
|
|
|
1967
1967
|
else this.attrs[idx][1] = this.attrs[idx][1] + " " + value;
|
|
1968
1968
|
};
|
|
1969
1969
|
//#endregion
|
|
1970
|
-
//#region ../../node_modules/.pnpm/@hedgedoc+markdown-it-plugins@2.1.4_patch_hash=
|
|
1970
|
+
//#region ../../node_modules/.pnpm/@hedgedoc+markdown-it-plugins@2.1.4_patch_hash=49e14003b6caa0b7d164cbe71da573809d375bab_5d0803032f59b14bddf561c39219cd80/node_modules/@hedgedoc/markdown-it-plugins/dist/esm/task-lists/index.js
|
|
1971
1971
|
const checkboxRegex = /^ *\[([\sx])] /i;
|
|
1972
1972
|
function taskLists(md, options = {
|
|
1973
1973
|
enabled: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getRoots } from "./resolver-BIhhHpe7.mjs";
|
|
2
|
-
import { i as createSlidevMcpServer, s as parser, u as version } from "./serve-
|
|
2
|
+
import { i as createSlidevMcpServer, s as parser, u as version } from "./serve-DzftUF4M.mjs";
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/server/stdio";
|
|
4
4
|
//#region node/mcp/stdio.ts
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "52.19.
|
|
4
|
+
"version": "52.19.1",
|
|
5
5
|
"description": "Presentation slides for developers",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@antfu/ni": "^30.
|
|
50
|
+
"@antfu/ni": "^30.5.0",
|
|
51
51
|
"@antfu/utils": "^9.3.0",
|
|
52
52
|
"@comark/markdown-it": "^0.3.4",
|
|
53
53
|
"@iconify-json/carbon": "^1.2.25",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@lillallol/outline-pdf": "^4.0.0",
|
|
57
57
|
"@modelcontextprotocol/node": "^2.0.0",
|
|
58
58
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
59
|
-
"@shikijs/magic-move": "^4.4.
|
|
60
|
-
"@shikijs/markdown-it": "^4.4.
|
|
61
|
-
"@shikijs/twoslash": "^4.4.
|
|
62
|
-
"@shikijs/vitepress-twoslash": "^4.4.
|
|
59
|
+
"@shikijs/magic-move": "^4.4.3",
|
|
60
|
+
"@shikijs/markdown-it": "^4.4.3",
|
|
61
|
+
"@shikijs/twoslash": "^4.4.3",
|
|
62
|
+
"@shikijs/vitepress-twoslash": "^4.4.3",
|
|
63
63
|
"@unocss/extractor-mdc": "^66.7.5",
|
|
64
64
|
"@unocss/reset": "^66.7.5",
|
|
65
65
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"htmlparser2": "^12.0.0",
|
|
76
76
|
"is-installed-globally": "^1.0.0",
|
|
77
77
|
"jiti": "^2.7.0",
|
|
78
|
-
"katex": "^0.18.
|
|
78
|
+
"katex": "^0.18.4",
|
|
79
79
|
"local-pkg": "^1.2.1",
|
|
80
80
|
"lz-string": "^1.5.0",
|
|
81
|
-
"magic-string": "^1.
|
|
81
|
+
"magic-string": "^1.2.0",
|
|
82
82
|
"magic-string-stack": "^2.0.0",
|
|
83
83
|
"markdown-exit": "^1.1.0-beta.2",
|
|
84
84
|
"markdown-it-footnote": "^4.0.0",
|
|
@@ -86,42 +86,42 @@
|
|
|
86
86
|
"mlly": "^1.8.2",
|
|
87
87
|
"monaco-editor": "^0.56.0",
|
|
88
88
|
"obug": "^2.1.4",
|
|
89
|
-
"open": "^11.0.
|
|
89
|
+
"open": "^11.0.1",
|
|
90
90
|
"pathe": "^2.0.3",
|
|
91
91
|
"pdf-lib": "^1.17.1",
|
|
92
92
|
"picomatch": "^4.0.5",
|
|
93
93
|
"plantuml-encoder": "^1.4.0",
|
|
94
|
-
"postcss-nested": "^8.0.
|
|
94
|
+
"postcss-nested": "^8.0.1",
|
|
95
95
|
"pptxgenjs": "^4.0.1",
|
|
96
96
|
"prompts": "^2.4.2",
|
|
97
97
|
"public-ip": "^8.0.0",
|
|
98
98
|
"resolve-from": "^5.0.0",
|
|
99
99
|
"resolve-global": "^2.0.0",
|
|
100
|
-
"
|
|
101
|
-
"shiki": "^4.4.1",
|
|
100
|
+
"shiki": "^4.4.3",
|
|
102
101
|
"sirv": "^3.0.2",
|
|
103
102
|
"source-map-js": "^1.2.1",
|
|
104
103
|
"typescript": "^6.0.3",
|
|
105
|
-
"unhead": "^3.2
|
|
104
|
+
"unhead": "^3.3.2",
|
|
106
105
|
"unocss": "^66.7.5",
|
|
107
106
|
"unplugin-icons": "^23.0.1",
|
|
108
107
|
"unplugin-vue-components": "^32.1.0",
|
|
109
108
|
"unplugin-vue-markdown": "^32.0.0",
|
|
110
109
|
"untun": "^0.2.2",
|
|
111
110
|
"uqr": "^0.1.3",
|
|
112
|
-
"
|
|
111
|
+
"verkit": "^0.4.0",
|
|
112
|
+
"vite": "^8.2.1",
|
|
113
113
|
"vite-plugin-inspect": "^12.0.2",
|
|
114
114
|
"vite-plugin-remote-assets": "^2.1.0",
|
|
115
115
|
"vite-plugin-static-copy": "^4.1.1",
|
|
116
116
|
"vite-plugin-vue-server-ref": "^1.0.0",
|
|
117
117
|
"vitefu": "^1.1.3",
|
|
118
|
-
"vue": "^3.5.
|
|
118
|
+
"vue": "^3.5.41",
|
|
119
119
|
"yaml": "^2.9.0",
|
|
120
120
|
"yargs": "^18.1.0",
|
|
121
121
|
"zod": "^4.4.3",
|
|
122
|
-
"@slidev/client": "52.19.
|
|
123
|
-
"@slidev/parser": "52.19.
|
|
124
|
-
"@slidev/types": "52.19.
|
|
122
|
+
"@slidev/client": "52.19.1",
|
|
123
|
+
"@slidev/parser": "52.19.1",
|
|
124
|
+
"@slidev/types": "52.19.1"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|