From a8725956e140be42c34e0e99dfb2c5cff8797161 Mon Sep 17 00:00:00 2001 From: WRXinYue <3322543587@qq.com> Date: Mon, 12 Aug 2024 13:41:24 +0800 Subject: [PATCH] chore: upgrade valaxy to v0.19.7 --- demo/package.json | 2 +- docs/.valaxy/typed-router.d.ts | 3 - docs/package.json | 4 +- docs/pages/components-custom/App.md | 32 - docs/pages/components/PressSidebarItem.md | 7 - docs/pages/components/layout.md | 31 - docs/pages/config/site.md | 383 +-- docs/pages/config/theme.md | 232 +- package.json | 3 - pnpm-lock.yaml | 2538 +++++++++++------ .../themes/ArticleListThemeGrid.vue | 2 +- theme/package.json | 2 +- theme/valaxy.config.ts | 2 +- 13 files changed, 1710 insertions(+), 1531 deletions(-) delete mode 100644 docs/pages/components-custom/App.md delete mode 100644 docs/pages/components/PressSidebarItem.md delete mode 100644 docs/pages/components/layout.md diff --git a/demo/package.json b/demo/package.json index 361c757b..ece64e0e 100644 --- a/demo/package.json +++ b/demo/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "nodemon": "^3.1.4", - "valaxy": "^0.19.4" + "valaxy": "^0.19.7" } } diff --git a/docs/.valaxy/typed-router.d.ts b/docs/.valaxy/typed-router.d.ts index 0443ea6a..8a8f1865 100644 --- a/docs/.valaxy/typed-router.d.ts +++ b/docs/.valaxy/typed-router.d.ts @@ -25,8 +25,6 @@ declare module 'vue-router/auto-routes' { '/archives/': RouteRecordInfo<'/archives/', '/archives', Record, Record>, '/categories/': RouteRecordInfo<'/categories/', '/categories', Record, Record>, '/components/': RouteRecordInfo<'/components/', '/components', Record, Record>, - '/components/layout': RouteRecordInfo<'/components/layout', '/components/layout', Record, Record>, - '/components/PressSidebarItem': RouteRecordInfo<'/components/PressSidebarItem', '/components/PressSidebarItem', Record, Record>, '/components/SakuraArticle': RouteRecordInfo<'/components/SakuraArticle', '/components/SakuraArticle', Record, Record>, '/components/SakuraArticleCategories': RouteRecordInfo<'/components/SakuraArticleCategories', '/components/SakuraArticleCategories', Record, Record>, '/components/SakuraArticleCollapse': RouteRecordInfo<'/components/SakuraArticleCollapse', '/components/SakuraArticleCollapse', Record, Record>, @@ -66,7 +64,6 @@ declare module 'vue-router/auto-routes' { '/components/ValaxyCopyright': RouteRecordInfo<'/components/ValaxyCopyright', '/components/ValaxyCopyright', Record, Record>, '/components/YunSponsor': RouteRecordInfo<'/components/YunSponsor', '/components/YunSponsor', Record, Record>, '/components-custom/': RouteRecordInfo<'/components-custom/', '/components-custom', Record, Record>, - '/components-custom/App': RouteRecordInfo<'/components-custom/App', '/components-custom/App', Record, Record>, '/components-custom/SakuraArticleFooterCustom': RouteRecordInfo<'/components-custom/SakuraArticleFooterCustom', '/components-custom/SakuraArticleFooterCustom', Record, Record>, '/components-custom/SakuraArticleListCustom': RouteRecordInfo<'/components-custom/SakuraArticleListCustom', '/components-custom/SakuraArticleListCustom', Record, Record>, '/components-custom/SakuraArticlePinnedCustom': RouteRecordInfo<'/components-custom/SakuraArticlePinnedCustom', '/components-custom/SakuraArticlePinnedCustom', Record, Record>, diff --git a/docs/package.json b/docs/package.json index a1f81031..fa2d533f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,8 +11,8 @@ "serve": "vite preview" }, "dependencies": { - "monaco-editor": "^0.47.0", - "valaxy": "^0.19.4", + "monaco-editor": "^0.50.0", + "valaxy": "^0.19.7", "valaxy-addon-git-log": "workspace:*", "valaxy-addon-twikoo": "^0.0.3", "valaxy-theme-sakura": "workspace:*", diff --git a/docs/pages/components-custom/App.md b/docs/pages/components-custom/App.md deleted file mode 100644 index 7ff52e85..00000000 --- a/docs/pages/components-custom/App.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: App -title_zh-CN: App -categories: - - components-custom ---- - -## App - -`App.vue`是一个特殊的组件,它应该被放置在项目的根目录下,而不是`components`文件夹中。这个文件在全局范围内都会生效 - -## 默认配置如下 - -```vue - -``` - -## 自定义 - -如果您想自定义或者不想要默认配置的[`SakuraNavbarCustom`](/components-custom/SakuraNavbarCustom)组件,进行替换即可。如: - -```vue - -``` - -## 相关组件 - -- [SakuraNavbarCustom](/components-custom/SakuraNavbarCustom) diff --git a/docs/pages/components/PressSidebarItem.md b/docs/pages/components/PressSidebarItem.md deleted file mode 100644 index 8adbff56..00000000 --- a/docs/pages/components/PressSidebarItem.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: PressSidebarItem 🚧 -title_zh-CN: PressSidebarItem 🚧 -toc: true -categories: - - components ---- diff --git a/docs/pages/components/layout.md b/docs/pages/components/layout.md deleted file mode 100644 index 1ea93098..00000000 --- a/docs/pages/components/layout.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: Layout -title_zh-CN: Layout -toc: true -categories: - - components ---- - -## Layout - -建议在每个布局的根节点使用 `Layout` 组件,并在其中嵌入所需页面。`Layout` 组件将自动包含 `SakuraFooterCustom` 页脚组件 - -## 示例 - -```vue -