@slidev/types 52.9.1 → 52.10.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/index.d.mts +11 -6
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ import { CodeOptionsThemes as CodeOptionsThemes$1, ShorthandsBundle } from "shik
|
|
|
9
9
|
import { MermaidConfig } from "mermaid";
|
|
10
10
|
import * as monaco from "monaco-editor";
|
|
11
11
|
import { VitePluginConfig } from "unocss/vite";
|
|
12
|
-
import {
|
|
12
|
+
import { PluginOption } from "vite";
|
|
13
13
|
import MagicString from "magic-string-stack";
|
|
14
14
|
import Vue from "@vitejs/plugin-vue";
|
|
15
15
|
import VueJsx from "@vitejs/plugin-vue-jsx";
|
|
@@ -42,10 +42,11 @@ interface ExportArgs extends CommonArgs {
|
|
|
42
42
|
'omit-background'?: boolean;
|
|
43
43
|
}
|
|
44
44
|
interface BuildArgs extends ExportArgs {
|
|
45
|
-
out: string;
|
|
46
|
-
base?: string;
|
|
47
|
-
download?: boolean;
|
|
48
|
-
inspect: boolean;
|
|
45
|
+
'out': string;
|
|
46
|
+
'base'?: string;
|
|
47
|
+
'download'?: boolean;
|
|
48
|
+
'inspect': boolean;
|
|
49
|
+
'without-notes'?: boolean;
|
|
49
50
|
}
|
|
50
51
|
//#endregion
|
|
51
52
|
//#region src/clicks.d.ts
|
|
@@ -907,6 +908,10 @@ interface SlidevEntryOptions {
|
|
|
907
908
|
* Base URL in dev or build mode
|
|
908
909
|
*/
|
|
909
910
|
base?: string;
|
|
911
|
+
/**
|
|
912
|
+
* Exclude speaker notes from the built output
|
|
913
|
+
*/
|
|
914
|
+
withoutNotes?: boolean;
|
|
910
915
|
}
|
|
911
916
|
interface ResolvedSlidevOptions extends RootsInfo, SlidevEntryOptions {
|
|
912
917
|
data: SlidevData;
|
|
@@ -1008,7 +1013,7 @@ type PreparserSetup = (context: {
|
|
|
1008
1013
|
headmatter: Record<string, unknown>;
|
|
1009
1014
|
mode?: string;
|
|
1010
1015
|
}) => Awaitable<SlidevPreparserExtension[]>;
|
|
1011
|
-
type VitePluginsSetup = (options: ResolvedSlidevOptions) =>
|
|
1016
|
+
type VitePluginsSetup = (options: ResolvedSlidevOptions) => PluginOption;
|
|
1012
1017
|
type MonacoSetup = (m: typeof monaco) => Awaitable<MonacoSetupReturn | void>;
|
|
1013
1018
|
type AppSetup = (context: AppContext) => Awaitable<void>;
|
|
1014
1019
|
type RootSetup = () => Awaitable<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "52.
|
|
3
|
+
"version": "52.10.1",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@antfu/utils": "^9.3.0",
|
|
27
|
-
"@shikijs/markdown-it": "^3.
|
|
28
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
29
|
-
"@vitejs/plugin-vue-jsx": "^5.1.
|
|
27
|
+
"@shikijs/markdown-it": "^3.17.0",
|
|
28
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
29
|
+
"@vitejs/plugin-vue-jsx": "^5.1.2",
|
|
30
30
|
"katex": "^0.16.25",
|
|
31
31
|
"mermaid": "^11.12.1",
|
|
32
|
-
"monaco-editor": "^0.
|
|
33
|
-
"shiki": "^3.
|
|
34
|
-
"unocss": "^66.5.
|
|
32
|
+
"monaco-editor": "^0.55.1",
|
|
33
|
+
"shiki": "^3.17.0",
|
|
34
|
+
"unocss": "^66.5.9",
|
|
35
35
|
"unplugin-icons": "^22.5.0",
|
|
36
36
|
"unplugin-vue-markdown": "^29.2.0",
|
|
37
37
|
"vite-plugin-inspect": "^11.3.3",
|
|
38
38
|
"vite-plugin-remote-assets": "^2.1.0",
|
|
39
39
|
"vite-plugin-static-copy": "^3.1.4",
|
|
40
40
|
"vite-plugin-vue-server-ref": "^1.0.0",
|
|
41
|
-
"vue": "^3.5.
|
|
41
|
+
"vue": "^3.5.25",
|
|
42
42
|
"vue-router": "^4.6.3"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|