@slidev/docs 51.8.2 → 52.0.0

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.
@@ -24,6 +24,7 @@ To configure the built-in plugins listed above, create a `vite.config.ts` with t
24
24
  ```ts twoslash [vite.config.ts]
25
25
  /// <reference types="@slidev/types" />
26
26
  import type MarkdownIt from 'markdown-it'
27
+
27
28
  declare const MyPlugin: (md: any) => void
28
29
  // ---cut---
29
30
  import { defineConfig } from 'vite'
@@ -10,6 +10,7 @@ Create `./setup/main.ts` with the following content:
10
10
 
11
11
  ```ts twoslash [setup/main.ts]
12
12
  import type { Plugin } from 'vue'
13
+
13
14
  declare const YourPlugin: Plugin
14
15
  // ---cut---
15
16
  import { defineAppSetup } from '@slidev/types'
@@ -145,8 +145,9 @@ bun add @iconify-json/uil
145
145
 
146
146
  2. Add the icon to the `uno.config.ts` file.
147
147
 
148
- ```ts [uno.config.ts] {3-5}
148
+ ```ts [uno.config.ts] {4-6}
149
149
  import { defineConfig } from 'unocss'
150
+
150
151
  export default defineConfig({
151
152
  safelist: [
152
153
  'i-uil:github',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/docs",
3
3
  "type": "module",
4
- "version": "51.8.2",
4
+ "version": "52.0.0",
5
5
  "license": "MIT",
6
6
  "funding": "https://github.com/sponsors/antfu",
7
7
  "homepage": "https://sli.dev",
@@ -17,28 +17,28 @@
17
17
  ],
18
18
  "devDependencies": {
19
19
  "@antfu/utils": "^9.2.0",
20
- "@iconify/json": "^2.2.348",
21
- "@shikijs/vitepress-twoslash": "^3.6.0",
22
- "@types/node": "^22.15.31",
23
- "@unocss/reset": "^66.2.0",
24
- "@vueuse/core": "^13.3.0",
20
+ "@iconify/json": "^2.2.353",
21
+ "@shikijs/vitepress-twoslash": "^3.7.0",
22
+ "@types/node": "^24.0.7",
23
+ "@unocss/reset": "^66.3.2",
24
+ "@vueuse/core": "^13.4.0",
25
25
  "fast-glob": "^3.3.3",
26
26
  "gray-matter": "^4.0.3",
27
27
  "markdown-it": "^14.1.0",
28
- "shiki": "^3.6.0",
28
+ "shiki": "^3.7.0",
29
29
  "typeit": "8.1.0",
30
30
  "typescript": "^5.8.3",
31
- "unocss": "^66.2.0",
31
+ "unocss": "^66.3.2",
32
32
  "unplugin-icons": "^22.1.0",
33
- "unplugin-vue-components": "^28.7.0",
34
- "vite-plugin-inspect": "^11.1.0",
35
- "vitepress": "^2.0.0-alpha.6",
33
+ "unplugin-vue-components": "^28.8.0",
34
+ "vite-plugin-inspect": "^11.3.0",
35
+ "vitepress": "^2.0.0-alpha.7",
36
36
  "vitepress-plugin-group-icons": "^1.6.0",
37
- "vitepress-plugin-llms": "^1.5.0",
38
- "vue": "^3.5.16",
39
- "@slidev/parser": "51.8.2",
40
- "@slidev/client": "51.8.2",
41
- "@slidev/types": "51.8.2"
37
+ "vitepress-plugin-llms": "^1.6.0",
38
+ "vue": "^3.5.17",
39
+ "@slidev/client": "52.0.0",
40
+ "@slidev/types": "52.0.0",
41
+ "@slidev/parser": "52.0.0"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "vitepress",