@slidev/types 0.50.0-beta.1 → 0.50.0-beta.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.
- package/dist/index.d.mts +3 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -220,7 +220,7 @@ type SlidePatch = Partial<Pick<SlideInfoBase, 'content' | 'note' | 'frontmatterR
|
|
|
220
220
|
interface SlidevThemeMeta {
|
|
221
221
|
defaults?: Partial<SlidevConfig>;
|
|
222
222
|
colorSchema?: 'dark' | 'light' | 'both';
|
|
223
|
-
highlighter?: '
|
|
223
|
+
highlighter?: 'shiki';
|
|
224
224
|
}
|
|
225
225
|
type SlidevThemeConfig = Record<string, string | number>;
|
|
226
226
|
interface SlidevDetectedFeatures {
|
|
@@ -306,7 +306,7 @@ interface HeadmatterConfig extends TransitionOptions {
|
|
|
306
306
|
/**
|
|
307
307
|
* Theme to use for the slides
|
|
308
308
|
*
|
|
309
|
-
* See https://sli.dev/
|
|
309
|
+
* See https://sli.dev/guide/theme-addon#use-theme
|
|
310
310
|
* @default 'default'
|
|
311
311
|
*/
|
|
312
312
|
theme?: string;
|
|
@@ -348,7 +348,7 @@ interface HeadmatterConfig extends TransitionOptions {
|
|
|
348
348
|
* See https://sli.dev/custom/config-highlighter.html
|
|
349
349
|
* @default shiki
|
|
350
350
|
*/
|
|
351
|
-
highlighter?: 'shiki'
|
|
351
|
+
highlighter?: 'shiki';
|
|
352
352
|
/**
|
|
353
353
|
* Enable Twoslash
|
|
354
354
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "0.50.0-beta.
|
|
3
|
+
"version": "0.50.0-beta.3",
|
|
4
4
|
"description": "Shared types declarations for Slidev",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@antfu/utils": "^0.7.10",
|
|
27
|
-
"@shikijs/markdown-it": "^1.
|
|
27
|
+
"@shikijs/markdown-it": "^1.21.0",
|
|
28
28
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
29
29
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
30
30
|
"katex": "^0.16.11",
|
|
31
31
|
"mermaid": "^11.2.1",
|
|
32
32
|
"monaco-editor": "^0.52.0",
|
|
33
|
-
"shiki": "^1.
|
|
34
|
-
"unocss": "^0.
|
|
33
|
+
"shiki": "^1.21.0",
|
|
34
|
+
"unocss": "^0.63.2",
|
|
35
35
|
"unplugin-icons": "^0.19.3",
|
|
36
36
|
"unplugin-vue-markdown": "^0.26.2",
|
|
37
37
|
"vite-plugin-inspect": "^0.8.7",
|
|
38
38
|
"vite-plugin-remote-assets": "^0.5.0",
|
|
39
39
|
"vite-plugin-static-copy": "^1.0.6",
|
|
40
40
|
"vite-plugin-vue-server-ref": "^0.4.2",
|
|
41
|
-
"vue": "^3.5.
|
|
41
|
+
"vue": "^3.5.10",
|
|
42
42
|
"vue-router": "^4.4.5"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|