vitepress-plugin-file-tree 0.4.0 → 0.5.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.
@@ -363,7 +363,7 @@ ${renderedComment}${children.length > 0 ? renderFileTree(children, meta) : ""}
363
363
  */
364
364
  const fileTree = definePlugin(() => ({
365
365
  name: "vitepress-plugin-file-tree",
366
- client: { enhance: "enhanceAppWithFileTree" },
366
+ componentResolver: ["VPFileTree", "VPFileTreeNode"],
367
367
  markdown: { config: (md) => {
368
368
  md.use(fileTreeMarkdownPlugin);
369
369
  } },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitepress-plugin-file-tree",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "description": "Render file tree structure in your VitePress site.",
6
6
  "author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
7
7
  "license": "MIT",
@@ -39,8 +39,8 @@
39
39
  "dependencies": {
40
40
  "@pengzhanbo/utils": "^3.7.3",
41
41
  "@vueuse/core": "^14.3.0",
42
- "vitepress-plugin-toolkit": "0.4.0",
43
- "vitepress-tuck": "0.4.0"
42
+ "vitepress-plugin-toolkit": "0.5.0",
43
+ "vitepress-tuck": "0.5.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",