From 14e37ed52f3cac5646e3bf08ace224e8dc671d3d Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sat, 23 Dec 2023 04:20:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=20monorepo=20?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84,=20=E5=AF=B9=20package=20?= =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .commitlintrc.cjs | 4 +- .eslintignore | 1 + .eslintrc.cjs | 2 +- .gitignore | 3 - docs/.vuepress/config.ts | 2 +- docs/.vuepress/notes.ts | 2 +- docs/package.json | 4 +- package.json | 11 +- packages/plugin-copy-code/README.md | 18 - packages/theme/tsconfig.build.json | 19 - .../plugin-auto-frontmatter/LICENSE | 0 .../plugin-auto-frontmatter/README.md | 6 +- .../plugin-auto-frontmatter/package.json | 2 +- .../plugin-auto-frontmatter/src/node/env.d.ts | 0 .../plugin-auto-frontmatter/src/node/index.ts | 0 .../src/node/plugin.ts | 2 +- .../src/node/readFiles.ts | 0 .../plugin-auto-frontmatter/src/node/utils.ts | 0 .../src/shared/index.ts | 0 .../tsconfig.build.json | 0 .../plugin-baidu-tongji/LICENSE | 0 .../plugin-baidu-tongji/README.md | 6 +- .../plugin-baidu-tongji/package.json | 2 +- .../plugin-baidu-tongji/src/node/index.ts | 0 .../plugin-baidu-tongji/src/node/plugin.ts | 2 +- .../plugin-baidu-tongji/tsconfig.build.json | 0 .../plugin-blog-data/LICENSE | 0 .../plugin-blog-data/README.md | 6 +- .../plugin-blog-data/package.json | 2 +- .../src/client/blogPostData.d.ts | 0 .../src/client/composables/index.ts | 0 .../src/client/composables/useBlogPostData.ts | 0 .../plugin-blog-data/src/client/config.ts | 0 .../plugin-blog-data/src/client/index.ts | 0 .../plugin-blog-data/src/node/index.ts | 0 .../plugin-blog-data/src/node/plugin.ts | 2 +- .../src/node/prepareBlogData.ts | 0 .../plugin-blog-data/src/shared/index.ts | 0 .../plugin-blog-data/tsconfig.build.json | 0 .../plugin-caniuse/CHANGELOG.md | 0 {packages => plugins}/plugin-caniuse/LICENSE | 0 .../plugin-caniuse/README.md | 6 +- .../plugin-caniuse/package.json | 2 +- .../plugin-caniuse/src/README.md | 4 +- .../plugin-caniuse/src/client/clientConfig.ts | 0 .../plugin-caniuse/src/client/index.ts | 0 .../src/client/resolveCanIUse.ts | 0 .../plugin-caniuse/src/node/index.ts | 0 .../src/node/markdown-it-container.d.ts | 0 .../plugin-caniuse/src/node/plugin.ts | 2 +- .../plugin-caniuse/src/node/resolveCanIUse.ts | 0 .../plugin-caniuse/src/shared/caniuse.ts | 0 .../plugin-caniuse/src/shared/index.ts | 0 .../plugin-caniuse/tsconfig.build.json | 0 .../plugin-copy-code/LICENSE | 0 plugins/plugin-copy-code/README.md | 18 + .../plugin-copy-code/package.json | 2 +- .../src/client/clientConfig.ts | 0 .../src/client/composables/copyToClipboard.ts | 0 .../src/client/composables/index.ts | 0 .../src/client/composables/setup.ts | 0 .../plugin-copy-code/src/client/index.ts | 0 .../src/client/styles/button.scss | 0 .../plugin-copy-code/src/client/svg.ts | 0 .../plugin-copy-code/src/node/index.ts | 0 .../plugin-copy-code/src/node/plugin.ts | 2 +- .../plugin-copy-code/src/shared/index.ts | 0 .../plugin-copy-code/tsconfig.build.json | 0 {packages => plugins}/plugin-iconify/LICENSE | 0 .../plugin-iconify/README.md | 6 +- .../plugin-iconify/package.json | 2 +- .../plugin-iconify/src/client/clientConfig.ts | 0 .../src/client/components/Iconify.vue | 0 .../src/client/composables/iconify.ts | 0 .../plugin-iconify/src/client/index.ts | 0 .../plugin-iconify/src/node/index.ts | 0 .../plugin-iconify/src/node/plugin.ts | 2 +- .../plugin-iconify/src/shared/index.ts | 0 .../plugin-iconify/src/shim.d.ts | 0 .../plugin-iconify/tsconfig.build.json | 0 .../plugin-netlify-functions/LICENSE | 0 .../plugin-netlify-functions/README.md | 8 +- .../plugin-netlify-functions/package.json | 2 +- .../src/node/extendsBundlerOptions.ts | 0 .../src/node/index.ts | 0 .../src/node/netlify/index.ts | 0 .../src/node/netlify/initFunctions.ts | 0 .../src/node/netlify/netlifyConfig.ts | 0 .../src/node/netlify/netlifyServer.ts | 0 .../src/node/plugin.ts | 2 +- .../src/node/shim.d.ts | 0 .../src/node/useNetlifyFunctionsPlugins.ts | 2 +- .../src/node/utils/index.ts | 0 .../src/node/utils/readFileList.ts | 0 .../src/shared/index.ts | 0 .../tsconfig.build.json | 0 .../plugin-notes-data/LICENSE | 0 .../plugin-notes-data/README.md | 6 +- .../plugin-notes-data/package.json | 2 +- .../src/client/clientConfig.ts | 0 .../src/client/composables/index.ts | 0 .../src/client/composables/notesDate.ts | 0 .../plugin-notes-data/src/client/index.ts | 0 .../src/client/notesData.d.ts | 0 .../plugin-notes-data/src/node/index.ts | 0 .../plugin-notes-data/src/node/plugin.ts | 2 +- .../src/node/prepareNotesData.ts | 0 .../plugin-notes-data/src/node/utils.ts | 0 .../plugin-notes-data/src/shared/index.ts | 0 .../plugin-notes-data/tsconfig.build.json | 0 .../plugin-page-collection/LICENSE | 0 .../plugin-page-collection/README.md | 2 +- .../plugin-page-collection/database/Page.json | 0 .../plugin-page-collection/package.json | 8 +- .../src/client/clientConfig.ts | 0 .../src/client/components/PageCollection.ts | 0 .../src/client/composables/index.ts | 0 .../client/composables/usePageCollection.ts | 0 .../src/client/index.ts | 0 .../src/node/functions/page_collection.ts | 0 .../plugin-page-collection/src/node/index.ts | 0 .../plugin-page-collection/src/node/plugin.ts | 6 +- .../src/shared/index.ts | 0 .../tsconfig.build.json | 0 {packages => plugins}/plugin-windicss/LICENSE | 0 .../plugin-windicss/README.md | 6 +- .../plugin-windicss/package.json | 2 +- .../plugin-windicss/src/client/config.vite.ts | 0 .../src/client/config.webpack.ts | 0 .../plugin-windicss/src/node/index.ts | 0 .../plugin-windicss/src/node/plugin.ts | 2 +- .../plugin-windicss/src/node/windicss.d.ts | 0 .../plugin-windicss/tsconfig.build.json | 0 {packages => plugins}/tsconfig.build.json | 3 +- pnpm-lock.yaml | 555 +++--------------- pnpm-workspace.yaml | 3 +- readme.md | 16 +- scripts/create/template/README.md.tpl | 6 +- scripts/create/template/package.json.tpl | 2 +- .../create/template/src/node/plugin.ts.tpl | 2 +- {packages/theme => theme}/README.md | 8 +- {packages/theme => theme}/package.json | 16 +- .../src/client/components/AutoLink.vue | 0 .../src/client/components/Backdrop.vue | 0 .../src/client/components/Blog.vue | 0 .../src/client/components/BlogAvatar.vue | 0 .../src/client/components/DocOutlineItem.vue | 0 .../client/components/Flyout/MenuGroup.vue | 0 .../src/client/components/Flyout/MenuLink.vue | 0 .../src/client/components/Flyout/VMenu.vue | 0 .../src/client/components/Flyout/index.vue | 0 .../src/client/components/Home.vue | 0 .../src/client/components/LayoutContent.vue | 0 .../src/client/components/LocalNav.vue | 0 .../components/LocalNavOutlineDropdown.vue | 2 +- .../src/client/components/Nav/NavBar.vue | 0 .../components/Nav/NavBarAppearance.vue | 0 .../src/client/components/Nav/NavBarExtra.vue | 0 .../client/components/Nav/NavBarHamburger.vue | 0 .../src/client/components/Nav/NavBarMenu.vue | 0 .../client/components/Nav/NavBarMenuGroup.vue | 0 .../client/components/Nav/NavBarMenuLink.vue | 0 .../client/components/Nav/NavBarSearch.vue | 0 .../components/Nav/NavBarSocialLinks.vue | 0 .../src/client/components/Nav/NavBarTitle.vue | 0 .../components/Nav/NavBarTranslations.vue | 0 .../src/client/components/Nav/NavScreen.vue | 0 .../components/Nav/NavScreenAppearance.vue | 0 .../client/components/Nav/NavScreenMenu.vue | 0 .../components/Nav/NavScreenMenuGroup.vue | 0 .../components/Nav/NavScreenMenuGroupLink.vue | 0 .../Nav/NavScreenMenuGroupSection.vue | 0 .../components/Nav/NavScreenMenuLink.vue | 0 .../components/Nav/NavScreenSocialLinks.vue | 0 .../components/Nav/NavScreenTranslations.vue | 0 .../src/client/components/Nav/index.vue | 0 .../src/client/components/Page.vue | 0 .../src/client/components/PageAside.vue | 5 +- .../src/client/components/PageAsideItem.vue | 0 .../src/client/components/PageMeta.vue | 0 .../src/client/components/PostItem.vue | 0 .../src/client/components/PostList.vue | 2 +- .../src/client/components/Sidebar.vue | 0 .../src/client/components/SidebarItem.vue | 2 +- .../src/client/components/SkipLink.vue | 0 .../src/client/components/SocialLink.vue | 0 .../src/client/components/SocialLinks.vue | 0 .../src/client/components/Switch.vue | 0 .../client/components/SwitchAppearance.vue | 0 .../src/client/components/Toc.ts | 0 .../src/client/components/VButton.vue | 0 .../src/client/components/VFooter.vue | 0 .../src/client/components/VImage.vue | 0 .../src/client/components/global/Badge.vue | 0 .../components/icons/IconAlignJustify.vue | 0 .../client/components/icons/IconAlignLeft.vue | 0 .../components/icons/IconAlignRight.vue | 0 .../client/components/icons/IconArrowLeft.vue | 0 .../components/icons/IconArrowRight.vue | 0 .../components/icons/IconChevronDown.vue | 0 .../components/icons/IconChevronLeft.vue | 0 .../components/icons/IconChevronRight.vue | 0 .../client/components/icons/IconChevronUp.vue | 0 .../src/client/components/icons/IconClock.vue | 0 .../src/client/components/icons/IconEdit.vue | 0 .../components/icons/IconExternalLink.vue | 0 .../client/components/icons/IconFolder.vue | 0 .../src/client/components/icons/IconHeart.vue | 0 .../client/components/icons/IconLanguages.vue | 0 .../src/client/components/icons/IconMinus.vue | 0 .../components/icons/IconMinusSquare.vue | 0 .../src/client/components/icons/IconMoon.vue | 0 .../components/icons/IconMoreHorizontal.vue | 0 .../src/client/components/icons/IconPlus.vue | 0 .../components/icons/IconPlusSquare.vue | 0 .../src/client/components/icons/IconSun.vue | 0 .../src/client/components/icons/IconTag.vue | 0 .../src/client/composables/aside.ts | 0 .../src/client/composables/darkMode.ts | 0 .../src/client/composables/flyout.ts | 0 .../src/client/composables/index.ts | 0 .../src/client/composables/langs.ts | 0 .../src/client/composables/nav.ts | 0 .../src/client/composables/sidebar.ts | 4 +- .../src/client/composables/themeData.ts | 0 .../useResolveRouteWithRedirect.ts | 0 .../client/composables/useScrollPromise.ts | 0 .../theme => theme}/src/client/config.ts | 0 .../fonts/inter-italic-cyrillic-ext.woff2 | Bin .../client/fonts/inter-italic-cyrillic.woff2 | Bin .../client/fonts/inter-italic-greek-ext.woff2 | Bin .../src/client/fonts/inter-italic-greek.woff2 | Bin .../client/fonts/inter-italic-latin-ext.woff2 | Bin .../src/client/fonts/inter-italic-latin.woff2 | Bin .../fonts/inter-italic-vietnamese.woff2 | Bin .../fonts/inter-roman-cyrillic-ext.woff2 | Bin .../client/fonts/inter-roman-cyrillic.woff2 | Bin .../client/fonts/inter-roman-greek-ext.woff2 | Bin .../src/client/fonts/inter-roman-greek.woff2 | Bin .../client/fonts/inter-roman-latin-ext.woff2 | Bin .../src/client/fonts/inter-roman-latin.woff2 | Bin .../client/fonts/inter-roman-vietnamese.woff2 | Bin {packages/theme => theme}/src/client/index.ts | 0 .../src/client/layouts/Layout.vue | 0 .../src/client/layouts/NotFound.vue | 0 .../theme => theme}/src/client/shim.d.ts | 0 .../src/client/styles/_variables.scss | 0 .../src/client/styles/code.scss | 0 .../src/client/styles/content.scss | 8 +- .../src/client/styles/fonts.scss | 0 .../src/client/styles/index.scss | 0 .../src/client/styles/normalize.scss | 0 .../src/client/styles/nprogress.scss | 4 +- .../src/client/styles/utils.scss | 0 .../src/client/styles/vars.scss | 0 .../src/client/utils/animate.ts | 0 .../theme => theme}/src/client/utils/dom.ts | 0 .../theme => theme}/src/client/utils/index.ts | 0 .../src/client/utils/normalizeLink.ts | 0 .../src/client/utils/shared.ts | 0 .../src/client/utils/socialIcons.ts | 0 .../src/node/autoFrontmatter.ts | 4 +- .../src/node/defaultOptions.ts | 0 .../theme => theme}/src/node/defineConfig.ts | 2 +- {packages/theme => theme}/src/node/index.ts | 0 {packages/theme => theme}/src/node/plugins.ts | 14 +- .../theme => theme}/src/node/setupPages.ts | 0 {packages/theme => theme}/src/node/theme.ts | 0 {packages/theme => theme}/src/shared/base.ts | 0 {packages/theme => theme}/src/shared/blog.ts | 2 +- .../theme => theme}/src/shared/frontmatter.ts | 0 {packages/theme => theme}/src/shared/index.ts | 0 .../src/shared/options/index.ts | 0 .../src/shared/options/locale.ts | 13 +- .../src/shared/options/navbar.ts | 0 .../src/shared/options/plugins.ts | 8 +- {packages/theme => theme}/src/shared/page.ts | 0 .../theme => theme}/templates/build.html | 0 theme/tsconfig.build.json | 11 + tsconfig.build.json | 5 +- tsconfig.json | 32 +- 281 files changed, 272 insertions(+), 649 deletions(-) delete mode 100644 packages/plugin-copy-code/README.md delete mode 100644 packages/theme/tsconfig.build.json rename {packages => plugins}/plugin-auto-frontmatter/LICENSE (100%) rename {packages => plugins}/plugin-auto-frontmatter/README.md (92%) rename {packages => plugins}/plugin-auto-frontmatter/package.json (95%) rename {packages => plugins}/plugin-auto-frontmatter/src/node/env.d.ts (100%) rename {packages => plugins}/plugin-auto-frontmatter/src/node/index.ts (100%) rename {packages => plugins}/plugin-auto-frontmatter/src/node/plugin.ts (97%) rename {packages => plugins}/plugin-auto-frontmatter/src/node/readFiles.ts (100%) rename {packages => plugins}/plugin-auto-frontmatter/src/node/utils.ts (100%) rename {packages => plugins}/plugin-auto-frontmatter/src/shared/index.ts (100%) rename {packages => plugins}/plugin-auto-frontmatter/tsconfig.build.json (100%) rename {packages => plugins}/plugin-baidu-tongji/LICENSE (100%) rename {packages => plugins}/plugin-baidu-tongji/README.md (54%) rename {packages => plugins}/plugin-baidu-tongji/package.json (95%) rename {packages => plugins}/plugin-baidu-tongji/src/node/index.ts (100%) rename {packages => plugins}/plugin-baidu-tongji/src/node/plugin.ts (90%) rename {packages => plugins}/plugin-baidu-tongji/tsconfig.build.json (100%) rename {packages => plugins}/plugin-blog-data/LICENSE (100%) rename {packages => plugins}/plugin-blog-data/README.md (69%) rename {packages => plugins}/plugin-blog-data/package.json (96%) rename {packages => plugins}/plugin-blog-data/src/client/blogPostData.d.ts (100%) rename {packages => plugins}/plugin-blog-data/src/client/composables/index.ts (100%) rename {packages => plugins}/plugin-blog-data/src/client/composables/useBlogPostData.ts (100%) rename {packages => plugins}/plugin-blog-data/src/client/config.ts (100%) rename {packages => plugins}/plugin-blog-data/src/client/index.ts (100%) rename {packages => plugins}/plugin-blog-data/src/node/index.ts (100%) rename {packages => plugins}/plugin-blog-data/src/node/plugin.ts (96%) rename {packages => plugins}/plugin-blog-data/src/node/prepareBlogData.ts (100%) rename {packages => plugins}/plugin-blog-data/src/shared/index.ts (100%) rename {packages => plugins}/plugin-blog-data/tsconfig.build.json (100%) rename {packages => plugins}/plugin-caniuse/CHANGELOG.md (100%) rename {packages => plugins}/plugin-caniuse/LICENSE (100%) rename {packages => plugins}/plugin-caniuse/README.md (74%) rename {packages => plugins}/plugin-caniuse/package.json (95%) rename {packages => plugins}/plugin-caniuse/src/README.md (88%) rename {packages => plugins}/plugin-caniuse/src/client/clientConfig.ts (100%) rename {packages => plugins}/plugin-caniuse/src/client/index.ts (100%) rename {packages => plugins}/plugin-caniuse/src/client/resolveCanIUse.ts (100%) rename {packages => plugins}/plugin-caniuse/src/node/index.ts (100%) rename {packages => plugins}/plugin-caniuse/src/node/markdown-it-container.d.ts (100%) rename {packages => plugins}/plugin-caniuse/src/node/plugin.ts (96%) rename {packages => plugins}/plugin-caniuse/src/node/resolveCanIUse.ts (100%) rename {packages => plugins}/plugin-caniuse/src/shared/caniuse.ts (100%) rename {packages => plugins}/plugin-caniuse/src/shared/index.ts (100%) rename {packages => plugins}/plugin-caniuse/tsconfig.build.json (100%) rename {packages => plugins}/plugin-copy-code/LICENSE (100%) create mode 100644 plugins/plugin-copy-code/README.md rename {packages => plugins}/plugin-copy-code/package.json (95%) rename {packages => plugins}/plugin-copy-code/src/client/clientConfig.ts (100%) rename {packages => plugins}/plugin-copy-code/src/client/composables/copyToClipboard.ts (100%) rename {packages => plugins}/plugin-copy-code/src/client/composables/index.ts (100%) rename {packages => plugins}/plugin-copy-code/src/client/composables/setup.ts (100%) rename {packages => plugins}/plugin-copy-code/src/client/index.ts (100%) rename {packages => plugins}/plugin-copy-code/src/client/styles/button.scss (100%) rename {packages => plugins}/plugin-copy-code/src/client/svg.ts (100%) rename {packages => plugins}/plugin-copy-code/src/node/index.ts (100%) rename {packages => plugins}/plugin-copy-code/src/node/plugin.ts (95%) rename {packages => plugins}/plugin-copy-code/src/shared/index.ts (100%) rename {packages => plugins}/plugin-copy-code/tsconfig.build.json (100%) rename {packages => plugins}/plugin-iconify/LICENSE (100%) rename {packages => plugins}/plugin-iconify/README.md (74%) rename {packages => plugins}/plugin-iconify/package.json (96%) rename {packages => plugins}/plugin-iconify/src/client/clientConfig.ts (100%) rename {packages => plugins}/plugin-iconify/src/client/components/Iconify.vue (100%) rename {packages => plugins}/plugin-iconify/src/client/composables/iconify.ts (100%) rename {packages => plugins}/plugin-iconify/src/client/index.ts (100%) rename {packages => plugins}/plugin-iconify/src/node/index.ts (100%) rename {packages => plugins}/plugin-iconify/src/node/plugin.ts (92%) rename {packages => plugins}/plugin-iconify/src/shared/index.ts (100%) rename {packages => plugins}/plugin-iconify/src/shim.d.ts (100%) rename {packages => plugins}/plugin-iconify/tsconfig.build.json (100%) rename {packages => plugins}/plugin-netlify-functions/LICENSE (100%) rename {packages => plugins}/plugin-netlify-functions/README.md (93%) rename {packages => plugins}/plugin-netlify-functions/package.json (96%) rename {packages => plugins}/plugin-netlify-functions/src/node/extendsBundlerOptions.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/index.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/netlify/index.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/netlify/initFunctions.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/netlify/netlifyConfig.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/netlify/netlifyServer.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/plugin.ts (98%) rename {packages => plugins}/plugin-netlify-functions/src/node/shim.d.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts (95%) rename {packages => plugins}/plugin-netlify-functions/src/node/utils/index.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/node/utils/readFileList.ts (100%) rename {packages => plugins}/plugin-netlify-functions/src/shared/index.ts (100%) rename {packages => plugins}/plugin-netlify-functions/tsconfig.build.json (100%) rename {packages => plugins}/plugin-notes-data/LICENSE (100%) rename {packages => plugins}/plugin-notes-data/README.md (76%) rename {packages => plugins}/plugin-notes-data/package.json (96%) rename {packages => plugins}/plugin-notes-data/src/client/clientConfig.ts (100%) rename {packages => plugins}/plugin-notes-data/src/client/composables/index.ts (100%) rename {packages => plugins}/plugin-notes-data/src/client/composables/notesDate.ts (100%) rename {packages => plugins}/plugin-notes-data/src/client/index.ts (100%) rename {packages => plugins}/plugin-notes-data/src/client/notesData.d.ts (100%) rename {packages => plugins}/plugin-notes-data/src/node/index.ts (100%) rename {packages => plugins}/plugin-notes-data/src/node/plugin.ts (91%) rename {packages => plugins}/plugin-notes-data/src/node/prepareNotesData.ts (100%) rename {packages => plugins}/plugin-notes-data/src/node/utils.ts (100%) rename {packages => plugins}/plugin-notes-data/src/shared/index.ts (100%) rename {packages => plugins}/plugin-notes-data/tsconfig.build.json (100%) rename {packages => plugins}/plugin-page-collection/LICENSE (100%) rename {packages => plugins}/plugin-page-collection/README.md (97%) rename {packages => plugins}/plugin-page-collection/database/Page.json (100%) rename {packages => plugins}/plugin-page-collection/package.json (86%) rename {packages => plugins}/plugin-page-collection/src/client/clientConfig.ts (100%) rename {packages => plugins}/plugin-page-collection/src/client/components/PageCollection.ts (100%) rename {packages => plugins}/plugin-page-collection/src/client/composables/index.ts (100%) rename {packages => plugins}/plugin-page-collection/src/client/composables/usePageCollection.ts (100%) rename {packages => plugins}/plugin-page-collection/src/client/index.ts (100%) rename {packages => plugins}/plugin-page-collection/src/node/functions/page_collection.ts (100%) rename {packages => plugins}/plugin-page-collection/src/node/index.ts (100%) rename {packages => plugins}/plugin-page-collection/src/node/plugin.ts (87%) rename {packages => plugins}/plugin-page-collection/src/shared/index.ts (100%) rename {packages => plugins}/plugin-page-collection/tsconfig.build.json (100%) rename {packages => plugins}/plugin-windicss/LICENSE (100%) rename {packages => plugins}/plugin-windicss/README.md (71%) rename {packages => plugins}/plugin-windicss/package.json (95%) rename {packages => plugins}/plugin-windicss/src/client/config.vite.ts (100%) rename {packages => plugins}/plugin-windicss/src/client/config.webpack.ts (100%) rename {packages => plugins}/plugin-windicss/src/node/index.ts (100%) rename {packages => plugins}/plugin-windicss/src/node/plugin.ts (97%) rename {packages => plugins}/plugin-windicss/src/node/windicss.d.ts (100%) rename {packages => plugins}/plugin-windicss/tsconfig.build.json (100%) rename {packages => plugins}/tsconfig.build.json (86%) rename {packages/theme => theme}/README.md (62%) rename {packages/theme => theme}/package.json (83%) rename {packages/theme => theme}/src/client/components/AutoLink.vue (100%) rename {packages/theme => theme}/src/client/components/Backdrop.vue (100%) rename {packages/theme => theme}/src/client/components/Blog.vue (100%) rename {packages/theme => theme}/src/client/components/BlogAvatar.vue (100%) rename {packages/theme => theme}/src/client/components/DocOutlineItem.vue (100%) rename {packages/theme => theme}/src/client/components/Flyout/MenuGroup.vue (100%) rename {packages/theme => theme}/src/client/components/Flyout/MenuLink.vue (100%) rename {packages/theme => theme}/src/client/components/Flyout/VMenu.vue (100%) rename {packages/theme => theme}/src/client/components/Flyout/index.vue (100%) rename {packages/theme => theme}/src/client/components/Home.vue (100%) rename {packages/theme => theme}/src/client/components/LayoutContent.vue (100%) rename {packages/theme => theme}/src/client/components/LocalNav.vue (100%) rename {packages/theme => theme}/src/client/components/LocalNavOutlineDropdown.vue (98%) rename {packages/theme => theme}/src/client/components/Nav/NavBar.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarAppearance.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarExtra.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarHamburger.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarMenu.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarMenuGroup.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarMenuLink.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarSearch.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarSocialLinks.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarTitle.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavBarTranslations.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreen.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenAppearance.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenMenu.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenMenuGroup.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenMenuGroupLink.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenMenuGroupSection.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenMenuLink.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenSocialLinks.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/NavScreenTranslations.vue (100%) rename {packages/theme => theme}/src/client/components/Nav/index.vue (100%) rename {packages/theme => theme}/src/client/components/Page.vue (100%) rename {packages/theme => theme}/src/client/components/PageAside.vue (90%) rename {packages/theme => theme}/src/client/components/PageAsideItem.vue (100%) rename {packages/theme => theme}/src/client/components/PageMeta.vue (100%) rename {packages/theme => theme}/src/client/components/PostItem.vue (100%) rename {packages/theme => theme}/src/client/components/PostList.vue (92%) rename {packages/theme => theme}/src/client/components/Sidebar.vue (100%) rename {packages/theme => theme}/src/client/components/SidebarItem.vue (98%) rename {packages/theme => theme}/src/client/components/SkipLink.vue (100%) rename {packages/theme => theme}/src/client/components/SocialLink.vue (100%) rename {packages/theme => theme}/src/client/components/SocialLinks.vue (100%) rename {packages/theme => theme}/src/client/components/Switch.vue (100%) rename {packages/theme => theme}/src/client/components/SwitchAppearance.vue (100%) rename {packages/theme => theme}/src/client/components/Toc.ts (100%) rename {packages/theme => theme}/src/client/components/VButton.vue (100%) rename {packages/theme => theme}/src/client/components/VFooter.vue (100%) rename {packages/theme => theme}/src/client/components/VImage.vue (100%) rename {packages/theme => theme}/src/client/components/global/Badge.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconAlignJustify.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconAlignLeft.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconAlignRight.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconArrowLeft.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconArrowRight.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconChevronDown.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconChevronLeft.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconChevronRight.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconChevronUp.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconClock.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconEdit.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconExternalLink.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconFolder.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconHeart.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconLanguages.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconMinus.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconMinusSquare.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconMoon.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconMoreHorizontal.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconPlus.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconPlusSquare.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconSun.vue (100%) rename {packages/theme => theme}/src/client/components/icons/IconTag.vue (100%) rename {packages/theme => theme}/src/client/composables/aside.ts (100%) rename {packages/theme => theme}/src/client/composables/darkMode.ts (100%) rename {packages/theme => theme}/src/client/composables/flyout.ts (100%) rename {packages/theme => theme}/src/client/composables/index.ts (100%) rename {packages/theme => theme}/src/client/composables/langs.ts (100%) rename {packages/theme => theme}/src/client/composables/nav.ts (100%) rename {packages/theme => theme}/src/client/composables/sidebar.ts (97%) rename {packages/theme => theme}/src/client/composables/themeData.ts (100%) rename {packages/theme => theme}/src/client/composables/useResolveRouteWithRedirect.ts (100%) rename {packages/theme => theme}/src/client/composables/useScrollPromise.ts (100%) rename {packages/theme => theme}/src/client/config.ts (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-cyrillic-ext.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-cyrillic.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-greek-ext.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-greek.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-latin-ext.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-latin.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-italic-vietnamese.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-cyrillic-ext.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-cyrillic.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-greek-ext.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-greek.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-latin-ext.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-latin.woff2 (100%) rename {packages/theme => theme}/src/client/fonts/inter-roman-vietnamese.woff2 (100%) rename {packages/theme => theme}/src/client/index.ts (100%) rename {packages/theme => theme}/src/client/layouts/Layout.vue (100%) rename {packages/theme => theme}/src/client/layouts/NotFound.vue (100%) rename {packages/theme => theme}/src/client/shim.d.ts (100%) rename {packages/theme => theme}/src/client/styles/_variables.scss (100%) rename {packages/theme => theme}/src/client/styles/code.scss (100%) rename {packages/theme => theme}/src/client/styles/content.scss (99%) rename {packages/theme => theme}/src/client/styles/fonts.scss (100%) rename {packages/theme => theme}/src/client/styles/index.scss (100%) rename {packages/theme => theme}/src/client/styles/normalize.scss (100%) rename {packages/theme => theme}/src/client/styles/nprogress.scss (70%) rename {packages/theme => theme}/src/client/styles/utils.scss (100%) rename {packages/theme => theme}/src/client/styles/vars.scss (100%) rename {packages/theme => theme}/src/client/utils/animate.ts (100%) rename {packages/theme => theme}/src/client/utils/dom.ts (100%) rename {packages/theme => theme}/src/client/utils/index.ts (100%) rename {packages/theme => theme}/src/client/utils/normalizeLink.ts (100%) rename {packages/theme => theme}/src/client/utils/shared.ts (100%) rename {packages/theme => theme}/src/client/utils/socialIcons.ts (100%) rename {packages/theme => theme}/src/node/autoFrontmatter.ts (97%) rename {packages/theme => theme}/src/node/defaultOptions.ts (100%) rename {packages/theme => theme}/src/node/defineConfig.ts (83%) rename {packages/theme => theme}/src/node/index.ts (100%) rename {packages/theme => theme}/src/node/plugins.ts (91%) rename {packages/theme => theme}/src/node/setupPages.ts (100%) rename {packages/theme => theme}/src/node/theme.ts (100%) rename {packages/theme => theme}/src/shared/base.ts (100%) rename {packages/theme => theme}/src/shared/blog.ts (76%) rename {packages/theme => theme}/src/shared/frontmatter.ts (100%) rename {packages/theme => theme}/src/shared/index.ts (100%) rename {packages/theme => theme}/src/shared/options/index.ts (100%) rename {packages/theme => theme}/src/shared/options/locale.ts (94%) rename {packages/theme => theme}/src/shared/options/navbar.ts (100%) rename {packages/theme => theme}/src/shared/options/plugins.ts (75%) rename {packages/theme => theme}/src/shared/page.ts (100%) rename {packages/theme => theme}/templates/build.html (100%) create mode 100644 theme/tsconfig.build.json diff --git a/.commitlintrc.cjs b/.commitlintrc.cjs index f5710b03..d49f81a3 100644 --- a/.commitlintrc.cjs +++ b/.commitlintrc.cjs @@ -1,12 +1,12 @@ const fs = require('fs') const path = require('path') -const packages = fs.readdirSync(path.resolve(__dirname, 'packages')) +const packages = fs.readdirSync(path.resolve(__dirname, 'plugins')) module.exports = { extends: ['@commitlint/config-conventional'], rules: { - 'scope-enum': [2, 'always', ['docs', ...packages]], + 'scope-enum': [2, 'always', ['docs', 'theme', ...packages]], 'footer-max-line-length': [0], }, } diff --git a/.eslintignore b/.eslintignore index 72a085ad..82509958 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,6 @@ node_modules/ .temp/ +.cache/ lib/ dist/ !.vuepress/ diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 9d4a64c3..6be809fd 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -48,7 +48,7 @@ module.exports = { }, }, { - files: ['docs/**'], + files: ['docs/**/*.ts'], rules: { 'import/no-extraneous-dependencies': 'off', }, diff --git a/.gitignore b/.gitignore index 8d5c023e..aaf239c5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ docs/.vuepress/.cache docs/.vuepress/.temp docs/.vuepress/dist -packages/theme-back lib/ dist/ @@ -13,5 +12,3 @@ dist/ *.log *.tsbuildinfo .mind - -packages/theme-back diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index def1b756..459dd40a 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -2,7 +2,7 @@ import * as path from 'path' import { viteBundler } from '@vuepress/bundler-vite' import { webpackBundler } from '@vuepress/bundler-webpack' import { defineUserConfig } from '@vuepress/cli' -import themePlume from '@vuepress-plume/vuepress-theme-plume' +import themePlume from 'vuepress-theme-plume' import { enNotes, zhNotes } from './notes.js' export default defineUserConfig({ diff --git a/docs/.vuepress/notes.ts b/docs/.vuepress/notes.ts index 038468be..c12d2afa 100644 --- a/docs/.vuepress/notes.ts +++ b/docs/.vuepress/notes.ts @@ -1,4 +1,4 @@ -import { definePlumeNotesConfig } from '@vuepress-plume/vuepress-theme-plume' +import { definePlumeNotesConfig } from 'vuepress-theme-plume' export const zhNotes = definePlumeNotesConfig({ dir: 'notes', diff --git a/docs/package.json b/docs/package.json index 07ca2b50..cc991737 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,7 +9,6 @@ "docs:serve": "anywhere -s -h localhost -d .vuepress/dist" }, "dependencies": { - "@vuepress-plume/vuepress-theme-plume": "workspace:*", "@vuepress/bundler-vite": "2.0.0-rc.0", "@vuepress/bundler-webpack": "2.0.0-rc.0", "@vuepress/cli": "2.0.0-rc.0", @@ -19,6 +18,7 @@ "leancloud-storage": "^4.15.2", "sass": "^1.69.5", "sass-loader": "^13.3.2", - "vue": "^3.3.13" + "vue": "^3.3.13", + "vuepress-theme-plume": "workspace:*" } } diff --git a/package.json b/package.json index 02860703..05f250e5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "vuepress-theme-plume", + "name": "vuepress-theme-plume-monorepo", "version": "1.0.0-beta.89", "private": true, "keywords": [ @@ -7,8 +7,6 @@ "vuepress-next", "Theme", "vuepress theme", - "vuepress-theme", - "theme-plume", "vuepress-theme-plume" ], "license": "MIT", @@ -17,11 +15,11 @@ "scripts": { "autoUpdate": "node scripts/autoInstall.js", "build": "pnpm run build:package", - "build:package": "pnpm --filter=!vuepress-theme-plume run -r --stream build", + "build:package": "pnpm --filter=!vuepress-theme-plume-monorepo --filter=!docs run -r --stream build", "commit": "cz", "dev": "concurrently \"pnpm run dev:package\" \"pnpm run docs\"", - "dev:package": "pnpm --filter=!vuepress-theme-plume --parallel dev", - "dev:theme": "concurrently \"pnpm --filter=@vuepress-plume/vuepress-theme-plume dev\" \"pnpm run docs\"", + "dev:package": "pnpm --filter=!vuepress-theme-plume-monorepo --filter=!docs --parallel dev", + "dev:theme": "concurrently \"pnpm --filter=vuepress-theme-plume dev\" \"pnpm run docs\"", "docs": "pnpm --filter=docs docs:dev", "docs:build": "pnpm --filter=docs docs:build", "docs:clean": "pnpm --filter=docs docs:clean", @@ -76,7 +74,6 @@ "rimraf": "^5.0.5", "sort-package-json": "^2.6.0", "taze": "^0.13.0", - "ts-node": "^10.9.2", "tsconfig-vuepress": "^4.5.0", "typescript": "^5.3.3", "vite": "^5.0.10" diff --git a/packages/plugin-copy-code/README.md b/packages/plugin-copy-code/README.md deleted file mode 100644 index 4141a4b3..00000000 --- a/packages/plugin-copy-code/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# `@vuepress-plume/vuepress-plugin-copy-code` - -## Install -``` -yarn add @vuepress-plume/vuepress-plugin-copy-code -``` -## Usage -``` js -// .vuepress/config.js -const { copyCodePlugin } = require('@vuepress-plume/vuepress-plugin-copy-code') -module.exports = { - //... - plugins: [ - copyCodePlugin() - ] - // ... -} -``` diff --git a/packages/theme/tsconfig.build.json b/packages/theme/tsconfig.build.json deleted file mode 100644 index 7428b0ad..00000000 --- a/packages/theme/tsconfig.build.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../tsconfig.build.json", - "compilerOptions": { - "rootDir": "./src", - "outDir": "./lib", - "baseUrl": ".", - "paths": { - "@theme-plume/*": ["./src/client/components/*"] - }, - "types": ["@vuepress/client/types", "vite/client"] - }, - "include": ["./src"], - "references": [ - { "path": "../plugin-caniuse/tsconfig.build.json" }, - { "path": "../plugin-copy-code/tsconfig.build.json" }, - { "path": "../plugin-baidu-tongji/tsconfig.build.json" } - ], - "files": [] -} diff --git a/packages/plugin-auto-frontmatter/LICENSE b/plugins/plugin-auto-frontmatter/LICENSE similarity index 100% rename from packages/plugin-auto-frontmatter/LICENSE rename to plugins/plugin-auto-frontmatter/LICENSE diff --git a/packages/plugin-auto-frontmatter/README.md b/plugins/plugin-auto-frontmatter/README.md similarity index 92% rename from packages/plugin-auto-frontmatter/README.md rename to plugins/plugin-auto-frontmatter/README.md index 1804150a..e4277015 100644 --- a/packages/plugin-auto-frontmatter/README.md +++ b/plugins/plugin-auto-frontmatter/README.md @@ -1,15 +1,15 @@ -# `@vuepress-plume/vuepress-plugin-auto-frontmatter` +# `@vuepress-plume/plugin-auto-frontmatter` 自动生成 `*.md` 文件的 `frontmatter` 配置。 ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-auto-frontmatter +yarn add @vuepress-plume/plugin-auto-frontmatter ``` ## Usage ``` js // .vuepress/config.js -import { autoFrontmatterPlugin } from '@vuepress-plume/vuepress-plugin-auto-frontmatter' +import { autoFrontmatterPlugin } from '@vuepress-plume/plugin-auto-frontmatter' export default { //... plugins: [ diff --git a/packages/plugin-auto-frontmatter/package.json b/plugins/plugin-auto-frontmatter/package.json similarity index 95% rename from packages/plugin-auto-frontmatter/package.json rename to plugins/plugin-auto-frontmatter/package.json index d4503c50..4fe2b88d 100644 --- a/packages/plugin-auto-frontmatter/package.json +++ b/plugins/plugin-auto-frontmatter/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-auto-frontmatter", + "name": "@vuepress-plume/plugin-auto-frontmatter", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-auto-frontmatter/src/node/env.d.ts b/plugins/plugin-auto-frontmatter/src/node/env.d.ts similarity index 100% rename from packages/plugin-auto-frontmatter/src/node/env.d.ts rename to plugins/plugin-auto-frontmatter/src/node/env.d.ts diff --git a/packages/plugin-auto-frontmatter/src/node/index.ts b/plugins/plugin-auto-frontmatter/src/node/index.ts similarity index 100% rename from packages/plugin-auto-frontmatter/src/node/index.ts rename to plugins/plugin-auto-frontmatter/src/node/index.ts diff --git a/packages/plugin-auto-frontmatter/src/node/plugin.ts b/plugins/plugin-auto-frontmatter/src/node/plugin.ts similarity index 97% rename from packages/plugin-auto-frontmatter/src/node/plugin.ts rename to plugins/plugin-auto-frontmatter/src/node/plugin.ts index ff5d7ef1..3476c822 100644 --- a/packages/plugin-auto-frontmatter/src/node/plugin.ts +++ b/plugins/plugin-auto-frontmatter/src/node/plugin.ts @@ -68,7 +68,7 @@ export const autoFrontmatterPlugin = ({ } return { - name: '@vuepress-plume/vuepress-plugin-auto-frontmatter', + name: '@vuepress-plume/plugin-auto-frontmatter', onInitialized: async (app) => { const markdownList = await readMarkdownList(app.dir.source(), globFilter) for (const file of markdownList) { diff --git a/packages/plugin-auto-frontmatter/src/node/readFiles.ts b/plugins/plugin-auto-frontmatter/src/node/readFiles.ts similarity index 100% rename from packages/plugin-auto-frontmatter/src/node/readFiles.ts rename to plugins/plugin-auto-frontmatter/src/node/readFiles.ts diff --git a/packages/plugin-auto-frontmatter/src/node/utils.ts b/plugins/plugin-auto-frontmatter/src/node/utils.ts similarity index 100% rename from packages/plugin-auto-frontmatter/src/node/utils.ts rename to plugins/plugin-auto-frontmatter/src/node/utils.ts diff --git a/packages/plugin-auto-frontmatter/src/shared/index.ts b/plugins/plugin-auto-frontmatter/src/shared/index.ts similarity index 100% rename from packages/plugin-auto-frontmatter/src/shared/index.ts rename to plugins/plugin-auto-frontmatter/src/shared/index.ts diff --git a/packages/plugin-auto-frontmatter/tsconfig.build.json b/plugins/plugin-auto-frontmatter/tsconfig.build.json similarity index 100% rename from packages/plugin-auto-frontmatter/tsconfig.build.json rename to plugins/plugin-auto-frontmatter/tsconfig.build.json diff --git a/packages/plugin-baidu-tongji/LICENSE b/plugins/plugin-baidu-tongji/LICENSE similarity index 100% rename from packages/plugin-baidu-tongji/LICENSE rename to plugins/plugin-baidu-tongji/LICENSE diff --git a/packages/plugin-baidu-tongji/README.md b/plugins/plugin-baidu-tongji/README.md similarity index 54% rename from packages/plugin-baidu-tongji/README.md rename to plugins/plugin-baidu-tongji/README.md index a3a398b8..5f842812 100644 --- a/packages/plugin-baidu-tongji/README.md +++ b/plugins/plugin-baidu-tongji/README.md @@ -1,15 +1,15 @@ -# `@vuepress-plume/vuepress-plugin-baidu-tongji` +# `@vuepress-plume/plugin-baidu-tongji` 在vuepress中接入百度统计 ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-baidu-tongji +yarn add @vuepress-plume/plugin-baidu-tongji ``` ## Usage ``` js // .vuepress/config.js -const { baiduTongjiPlugin } = require('@vuepress-plume/vuepress-plugin-baidu-tongji') +const { baiduTongjiPlugin } = require('@vuepress-plume/plugin-baidu-tongji') module.exports = { //... plugins: [ diff --git a/packages/plugin-baidu-tongji/package.json b/plugins/plugin-baidu-tongji/package.json similarity index 95% rename from packages/plugin-baidu-tongji/package.json rename to plugins/plugin-baidu-tongji/package.json index e682874c..631213bb 100644 --- a/packages/plugin-baidu-tongji/package.json +++ b/plugins/plugin-baidu-tongji/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-baidu-tongji", + "name": "@vuepress-plume/plugin-baidu-tongji", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-baidu-tongji/src/node/index.ts b/plugins/plugin-baidu-tongji/src/node/index.ts similarity index 100% rename from packages/plugin-baidu-tongji/src/node/index.ts rename to plugins/plugin-baidu-tongji/src/node/index.ts diff --git a/packages/plugin-baidu-tongji/src/node/plugin.ts b/plugins/plugin-baidu-tongji/src/node/plugin.ts similarity index 90% rename from packages/plugin-baidu-tongji/src/node/plugin.ts rename to plugins/plugin-baidu-tongji/src/node/plugin.ts index 76a08941..09f37aba 100644 --- a/packages/plugin-baidu-tongji/src/node/plugin.ts +++ b/plugins/plugin-baidu-tongji/src/node/plugin.ts @@ -6,7 +6,7 @@ export interface BaiduTongjiOptions { export const baiduTongjiPlugin = ({ key = '' }: BaiduTongjiOptions): Plugin => { return { - name: '@vuepress-plume/vuepress-plugin-baidu-tongji', + name: '@vuepress-plume/plugin-baidu-tongji', extendsPage: (page) => { page.frontmatter.head = page.frontmatter.head || []; page.frontmatter.head?.push([ diff --git a/packages/plugin-baidu-tongji/tsconfig.build.json b/plugins/plugin-baidu-tongji/tsconfig.build.json similarity index 100% rename from packages/plugin-baidu-tongji/tsconfig.build.json rename to plugins/plugin-baidu-tongji/tsconfig.build.json diff --git a/packages/plugin-blog-data/LICENSE b/plugins/plugin-blog-data/LICENSE similarity index 100% rename from packages/plugin-blog-data/LICENSE rename to plugins/plugin-blog-data/LICENSE diff --git a/packages/plugin-blog-data/README.md b/plugins/plugin-blog-data/README.md similarity index 69% rename from packages/plugin-blog-data/README.md rename to plugins/plugin-blog-data/README.md index 3ee7fd54..cc619c6d 100644 --- a/packages/plugin-blog-data/README.md +++ b/plugins/plugin-blog-data/README.md @@ -1,13 +1,13 @@ -# `@vuepress-plume/vuepress-plugin-blog-data` +# `@vuepress-plume/plugin-blog-data` ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-blog-data +yarn add @vuepress-plume/plugin-blog-data ``` ## Usage ``` js // .vuepress/config.js -const { blogDataPlugin } = require('@vuepress-plume/vuepress-plugin-blog-data') +const { blogDataPlugin } = require('@vuepress-plume/plugin-blog-data') module.exports = { //... plugins: [ diff --git a/packages/plugin-blog-data/package.json b/plugins/plugin-blog-data/package.json similarity index 96% rename from packages/plugin-blog-data/package.json rename to plugins/plugin-blog-data/package.json index 31a6e513..7b947e78 100644 --- a/packages/plugin-blog-data/package.json +++ b/plugins/plugin-blog-data/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-blog-data", + "name": "@vuepress-plume/plugin-blog-data", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-blog-data/src/client/blogPostData.d.ts b/plugins/plugin-blog-data/src/client/blogPostData.d.ts similarity index 100% rename from packages/plugin-blog-data/src/client/blogPostData.d.ts rename to plugins/plugin-blog-data/src/client/blogPostData.d.ts diff --git a/packages/plugin-blog-data/src/client/composables/index.ts b/plugins/plugin-blog-data/src/client/composables/index.ts similarity index 100% rename from packages/plugin-blog-data/src/client/composables/index.ts rename to plugins/plugin-blog-data/src/client/composables/index.ts diff --git a/packages/plugin-blog-data/src/client/composables/useBlogPostData.ts b/plugins/plugin-blog-data/src/client/composables/useBlogPostData.ts similarity index 100% rename from packages/plugin-blog-data/src/client/composables/useBlogPostData.ts rename to plugins/plugin-blog-data/src/client/composables/useBlogPostData.ts diff --git a/packages/plugin-blog-data/src/client/config.ts b/plugins/plugin-blog-data/src/client/config.ts similarity index 100% rename from packages/plugin-blog-data/src/client/config.ts rename to plugins/plugin-blog-data/src/client/config.ts diff --git a/packages/plugin-blog-data/src/client/index.ts b/plugins/plugin-blog-data/src/client/index.ts similarity index 100% rename from packages/plugin-blog-data/src/client/index.ts rename to plugins/plugin-blog-data/src/client/index.ts diff --git a/packages/plugin-blog-data/src/node/index.ts b/plugins/plugin-blog-data/src/node/index.ts similarity index 100% rename from packages/plugin-blog-data/src/node/index.ts rename to plugins/plugin-blog-data/src/node/index.ts diff --git a/packages/plugin-blog-data/src/node/plugin.ts b/plugins/plugin-blog-data/src/node/plugin.ts similarity index 96% rename from packages/plugin-blog-data/src/node/plugin.ts rename to plugins/plugin-blog-data/src/node/plugin.ts index e7ed341f..a5b9fe83 100644 --- a/packages/plugin-blog-data/src/node/plugin.ts +++ b/plugins/plugin-blog-data/src/node/plugin.ts @@ -19,7 +19,7 @@ export const blogDataPlugin = ({ }) return { - name: '@vuepress-plume/vuepress-plugin-blog-data', + name: '@vuepress-plume/plugin-blog-data', clientConfigFile: path.resolve(__dirname, '../client/config.js'), extendsPage(page) { if (page.filePathRelative && pageFilter(page.filePathRelative)) { diff --git a/packages/plugin-blog-data/src/node/prepareBlogData.ts b/plugins/plugin-blog-data/src/node/prepareBlogData.ts similarity index 100% rename from packages/plugin-blog-data/src/node/prepareBlogData.ts rename to plugins/plugin-blog-data/src/node/prepareBlogData.ts diff --git a/packages/plugin-blog-data/src/shared/index.ts b/plugins/plugin-blog-data/src/shared/index.ts similarity index 100% rename from packages/plugin-blog-data/src/shared/index.ts rename to plugins/plugin-blog-data/src/shared/index.ts diff --git a/packages/plugin-blog-data/tsconfig.build.json b/plugins/plugin-blog-data/tsconfig.build.json similarity index 100% rename from packages/plugin-blog-data/tsconfig.build.json rename to plugins/plugin-blog-data/tsconfig.build.json diff --git a/packages/plugin-caniuse/CHANGELOG.md b/plugins/plugin-caniuse/CHANGELOG.md similarity index 100% rename from packages/plugin-caniuse/CHANGELOG.md rename to plugins/plugin-caniuse/CHANGELOG.md diff --git a/packages/plugin-caniuse/LICENSE b/plugins/plugin-caniuse/LICENSE similarity index 100% rename from packages/plugin-caniuse/LICENSE rename to plugins/plugin-caniuse/LICENSE diff --git a/packages/plugin-caniuse/README.md b/plugins/plugin-caniuse/README.md similarity index 74% rename from packages/plugin-caniuse/README.md rename to plugins/plugin-caniuse/README.md index 3fc534bf..e4e3fbdc 100644 --- a/packages/plugin-caniuse/README.md +++ b/plugins/plugin-caniuse/README.md @@ -1,14 +1,14 @@ -# `@vuepress-plume/vuepress-plugin-caniuse` +# `@vuepress-plume/plugin-caniuse` 为 markdown 添加 can-i-use 容器支持 ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-caniuse +yarn add @vuepress-plume/plugin-caniuse ``` ## Usage ``` js // .vuepress/config.js -const { caniusePlugin } = require('@vuepress-plume/vuepress-plugin-caniuse') +const { caniusePlugin } = require('@vuepress-plume/plugin-caniuse') module.exports = { //... plugins: [ diff --git a/packages/plugin-caniuse/package.json b/plugins/plugin-caniuse/package.json similarity index 95% rename from packages/plugin-caniuse/package.json rename to plugins/plugin-caniuse/package.json index 9c29e54c..c1f0cda3 100644 --- a/packages/plugin-caniuse/package.json +++ b/plugins/plugin-caniuse/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-caniuse", + "name": "@vuepress-plume/plugin-caniuse", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2, Support Can-I-Use feature", "keywords": [ diff --git a/packages/plugin-caniuse/src/README.md b/plugins/plugin-caniuse/src/README.md similarity index 88% rename from packages/plugin-caniuse/src/README.md rename to plugins/plugin-caniuse/src/README.md index 7e41d6df..9d6adcba 100644 --- a/packages/plugin-caniuse/src/README.md +++ b/plugins/plugin-caniuse/src/README.md @@ -8,7 +8,7 @@ VuePress 2 插件 ## Install ``` sh -yarn add @vuepress-plume/vuepress-plugin-caniuse +yarn add @vuepress-plume/plugin-caniuse ``` ## Usage @@ -19,7 +19,7 @@ yarn add @vuepress-plume/vuepress-plugin-caniuse export default { // ... plugins: [ - ['@vuepress-plume/vuepress-plugin-caniuse', { mode: 'image' }] + ['@vuepress-plume/plugin-caniuse', { mode: 'image' }] ] // ... } diff --git a/packages/plugin-caniuse/src/client/clientConfig.ts b/plugins/plugin-caniuse/src/client/clientConfig.ts similarity index 100% rename from packages/plugin-caniuse/src/client/clientConfig.ts rename to plugins/plugin-caniuse/src/client/clientConfig.ts diff --git a/packages/plugin-caniuse/src/client/index.ts b/plugins/plugin-caniuse/src/client/index.ts similarity index 100% rename from packages/plugin-caniuse/src/client/index.ts rename to plugins/plugin-caniuse/src/client/index.ts diff --git a/packages/plugin-caniuse/src/client/resolveCanIUse.ts b/plugins/plugin-caniuse/src/client/resolveCanIUse.ts similarity index 100% rename from packages/plugin-caniuse/src/client/resolveCanIUse.ts rename to plugins/plugin-caniuse/src/client/resolveCanIUse.ts diff --git a/packages/plugin-caniuse/src/node/index.ts b/plugins/plugin-caniuse/src/node/index.ts similarity index 100% rename from packages/plugin-caniuse/src/node/index.ts rename to plugins/plugin-caniuse/src/node/index.ts diff --git a/packages/plugin-caniuse/src/node/markdown-it-container.d.ts b/plugins/plugin-caniuse/src/node/markdown-it-container.d.ts similarity index 100% rename from packages/plugin-caniuse/src/node/markdown-it-container.d.ts rename to plugins/plugin-caniuse/src/node/markdown-it-container.d.ts diff --git a/packages/plugin-caniuse/src/node/plugin.ts b/plugins/plugin-caniuse/src/node/plugin.ts similarity index 96% rename from packages/plugin-caniuse/src/node/plugin.ts rename to plugins/plugin-caniuse/src/node/plugin.ts index 1f19eb6c..496103b0 100644 --- a/packages/plugin-caniuse/src/node/plugin.ts +++ b/plugins/plugin-caniuse/src/node/plugin.ts @@ -16,7 +16,7 @@ export const caniusePlugin = ({ const type = 'caniuse' const validateReg = new RegExp(`^${type}\\s+(.*)$`) const pluginObj: PluginObject = { - name: '@vuepress-plume/vuepress-plugin-caniuse', + name: '@vuepress-plume/plugin-caniuse', clientConfigFile: path.resolve(__dirname, '../client/clientConfig.js'), define: { __CAN_I_USE_INJECT_MODE__: mode, diff --git a/packages/plugin-caniuse/src/node/resolveCanIUse.ts b/plugins/plugin-caniuse/src/node/resolveCanIUse.ts similarity index 100% rename from packages/plugin-caniuse/src/node/resolveCanIUse.ts rename to plugins/plugin-caniuse/src/node/resolveCanIUse.ts diff --git a/packages/plugin-caniuse/src/shared/caniuse.ts b/plugins/plugin-caniuse/src/shared/caniuse.ts similarity index 100% rename from packages/plugin-caniuse/src/shared/caniuse.ts rename to plugins/plugin-caniuse/src/shared/caniuse.ts diff --git a/packages/plugin-caniuse/src/shared/index.ts b/plugins/plugin-caniuse/src/shared/index.ts similarity index 100% rename from packages/plugin-caniuse/src/shared/index.ts rename to plugins/plugin-caniuse/src/shared/index.ts diff --git a/packages/plugin-caniuse/tsconfig.build.json b/plugins/plugin-caniuse/tsconfig.build.json similarity index 100% rename from packages/plugin-caniuse/tsconfig.build.json rename to plugins/plugin-caniuse/tsconfig.build.json diff --git a/packages/plugin-copy-code/LICENSE b/plugins/plugin-copy-code/LICENSE similarity index 100% rename from packages/plugin-copy-code/LICENSE rename to plugins/plugin-copy-code/LICENSE diff --git a/plugins/plugin-copy-code/README.md b/plugins/plugin-copy-code/README.md new file mode 100644 index 00000000..9135f4ca --- /dev/null +++ b/plugins/plugin-copy-code/README.md @@ -0,0 +1,18 @@ +# `@vuepress-plume/plugin-copy-code` + +## Install +``` +yarn add @vuepress-plume/plugin-copy-code +``` +## Usage +``` js +// .vuepress/config.js +const { copyCodePlugin } = require('@vuepress-plume/plugin-copy-code') +module.exports = { + //... + plugins: [ + copyCodePlugin() + ] + // ... +} +``` diff --git a/packages/plugin-copy-code/package.json b/plugins/plugin-copy-code/package.json similarity index 95% rename from packages/plugin-copy-code/package.json rename to plugins/plugin-copy-code/package.json index 21f4d9bc..fe49e821 100644 --- a/packages/plugin-copy-code/package.json +++ b/plugins/plugin-copy-code/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-copy-code", + "name": "@vuepress-plume/plugin-copy-code", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-copy-code/src/client/clientConfig.ts b/plugins/plugin-copy-code/src/client/clientConfig.ts similarity index 100% rename from packages/plugin-copy-code/src/client/clientConfig.ts rename to plugins/plugin-copy-code/src/client/clientConfig.ts diff --git a/packages/plugin-copy-code/src/client/composables/copyToClipboard.ts b/plugins/plugin-copy-code/src/client/composables/copyToClipboard.ts similarity index 100% rename from packages/plugin-copy-code/src/client/composables/copyToClipboard.ts rename to plugins/plugin-copy-code/src/client/composables/copyToClipboard.ts diff --git a/packages/plugin-copy-code/src/client/composables/index.ts b/plugins/plugin-copy-code/src/client/composables/index.ts similarity index 100% rename from packages/plugin-copy-code/src/client/composables/index.ts rename to plugins/plugin-copy-code/src/client/composables/index.ts diff --git a/packages/plugin-copy-code/src/client/composables/setup.ts b/plugins/plugin-copy-code/src/client/composables/setup.ts similarity index 100% rename from packages/plugin-copy-code/src/client/composables/setup.ts rename to plugins/plugin-copy-code/src/client/composables/setup.ts diff --git a/packages/plugin-copy-code/src/client/index.ts b/plugins/plugin-copy-code/src/client/index.ts similarity index 100% rename from packages/plugin-copy-code/src/client/index.ts rename to plugins/plugin-copy-code/src/client/index.ts diff --git a/packages/plugin-copy-code/src/client/styles/button.scss b/plugins/plugin-copy-code/src/client/styles/button.scss similarity index 100% rename from packages/plugin-copy-code/src/client/styles/button.scss rename to plugins/plugin-copy-code/src/client/styles/button.scss diff --git a/packages/plugin-copy-code/src/client/svg.ts b/plugins/plugin-copy-code/src/client/svg.ts similarity index 100% rename from packages/plugin-copy-code/src/client/svg.ts rename to plugins/plugin-copy-code/src/client/svg.ts diff --git a/packages/plugin-copy-code/src/node/index.ts b/plugins/plugin-copy-code/src/node/index.ts similarity index 100% rename from packages/plugin-copy-code/src/node/index.ts rename to plugins/plugin-copy-code/src/node/index.ts diff --git a/packages/plugin-copy-code/src/node/plugin.ts b/plugins/plugin-copy-code/src/node/plugin.ts similarity index 95% rename from packages/plugin-copy-code/src/node/plugin.ts rename to plugins/plugin-copy-code/src/node/plugin.ts index 3f4ff5eb..4497b020 100644 --- a/packages/plugin-copy-code/src/node/plugin.ts +++ b/plugins/plugin-copy-code/src/node/plugin.ts @@ -30,7 +30,7 @@ export const copyCodePlugin = (options: CopyCodeOptions): Plugin => { const localesOption = Object.assign({}, defaultLocalesOption, locales) return { - name: '@vuepress-plume/vuepress-plugin-copy-code', + name: '@vuepress-plume/plugin-copy-code', define: (): Record => ({ __COPY_CODE_OPTIONS__: options, diff --git a/packages/plugin-copy-code/src/shared/index.ts b/plugins/plugin-copy-code/src/shared/index.ts similarity index 100% rename from packages/plugin-copy-code/src/shared/index.ts rename to plugins/plugin-copy-code/src/shared/index.ts diff --git a/packages/plugin-copy-code/tsconfig.build.json b/plugins/plugin-copy-code/tsconfig.build.json similarity index 100% rename from packages/plugin-copy-code/tsconfig.build.json rename to plugins/plugin-copy-code/tsconfig.build.json diff --git a/packages/plugin-iconify/LICENSE b/plugins/plugin-iconify/LICENSE similarity index 100% rename from packages/plugin-iconify/LICENSE rename to plugins/plugin-iconify/LICENSE diff --git a/packages/plugin-iconify/README.md b/plugins/plugin-iconify/README.md similarity index 74% rename from packages/plugin-iconify/README.md rename to plugins/plugin-iconify/README.md index a637038f..e7b80342 100644 --- a/packages/plugin-iconify/README.md +++ b/plugins/plugin-iconify/README.md @@ -1,15 +1,15 @@ -# `@vuepress-plume/vuepress-plugin-iconify` +# `@vuepress-plume/plugin-iconify` 添加 `iconify` 图标库支持。并注入全局组件 `` ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-iconify +yarn add @vuepress-plume/plugin-iconify ``` ## Usage ``` js // .vuepress/config.js -const iconifyPlugin = require('@vuepress-plume/vuepress-plugin-iconify') +const iconifyPlugin = require('@vuepress-plume/plugin-iconify') module.exports = { //... plugins: [ diff --git a/packages/plugin-iconify/package.json b/plugins/plugin-iconify/package.json similarity index 96% rename from packages/plugin-iconify/package.json rename to plugins/plugin-iconify/package.json index 6859ef51..6f8423c6 100644 --- a/packages/plugin-iconify/package.json +++ b/plugins/plugin-iconify/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-iconify", + "name": "@vuepress-plume/plugin-iconify", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-iconify/src/client/clientConfig.ts b/plugins/plugin-iconify/src/client/clientConfig.ts similarity index 100% rename from packages/plugin-iconify/src/client/clientConfig.ts rename to plugins/plugin-iconify/src/client/clientConfig.ts diff --git a/packages/plugin-iconify/src/client/components/Iconify.vue b/plugins/plugin-iconify/src/client/components/Iconify.vue similarity index 100% rename from packages/plugin-iconify/src/client/components/Iconify.vue rename to plugins/plugin-iconify/src/client/components/Iconify.vue diff --git a/packages/plugin-iconify/src/client/composables/iconify.ts b/plugins/plugin-iconify/src/client/composables/iconify.ts similarity index 100% rename from packages/plugin-iconify/src/client/composables/iconify.ts rename to plugins/plugin-iconify/src/client/composables/iconify.ts diff --git a/packages/plugin-iconify/src/client/index.ts b/plugins/plugin-iconify/src/client/index.ts similarity index 100% rename from packages/plugin-iconify/src/client/index.ts rename to plugins/plugin-iconify/src/client/index.ts diff --git a/packages/plugin-iconify/src/node/index.ts b/plugins/plugin-iconify/src/node/index.ts similarity index 100% rename from packages/plugin-iconify/src/node/index.ts rename to plugins/plugin-iconify/src/node/index.ts diff --git a/packages/plugin-iconify/src/node/plugin.ts b/plugins/plugin-iconify/src/node/plugin.ts similarity index 92% rename from packages/plugin-iconify/src/node/plugin.ts rename to plugins/plugin-iconify/src/node/plugin.ts index a0b5fa1f..23d5c0b4 100644 --- a/packages/plugin-iconify/src/node/plugin.ts +++ b/plugins/plugin-iconify/src/node/plugin.ts @@ -9,7 +9,7 @@ export const iconifyPlugin = ({ }: IconifyOptions = {}): Plugin => { return (app: App) => { return { - name: '@vuepress-plume/vuepress-plugin-iconify', + name: '@vuepress-plume/plugin-iconify', define: { __VUEPRESS_PLUGIN_ICONIFY_COMPONENT_NAME__: componentName, __VUEPRESS_PLUGIN_ICONIFY_DEFAULT_SIZE__: size, diff --git a/packages/plugin-iconify/src/shared/index.ts b/plugins/plugin-iconify/src/shared/index.ts similarity index 100% rename from packages/plugin-iconify/src/shared/index.ts rename to plugins/plugin-iconify/src/shared/index.ts diff --git a/packages/plugin-iconify/src/shim.d.ts b/plugins/plugin-iconify/src/shim.d.ts similarity index 100% rename from packages/plugin-iconify/src/shim.d.ts rename to plugins/plugin-iconify/src/shim.d.ts diff --git a/packages/plugin-iconify/tsconfig.build.json b/plugins/plugin-iconify/tsconfig.build.json similarity index 100% rename from packages/plugin-iconify/tsconfig.build.json rename to plugins/plugin-iconify/tsconfig.build.json diff --git a/packages/plugin-netlify-functions/LICENSE b/plugins/plugin-netlify-functions/LICENSE similarity index 100% rename from packages/plugin-netlify-functions/LICENSE rename to plugins/plugin-netlify-functions/LICENSE diff --git a/packages/plugin-netlify-functions/README.md b/plugins/plugin-netlify-functions/README.md similarity index 93% rename from packages/plugin-netlify-functions/README.md rename to plugins/plugin-netlify-functions/README.md index 58d56c32..e9938e16 100644 --- a/packages/plugin-netlify-functions/README.md +++ b/plugins/plugin-netlify-functions/README.md @@ -1,4 +1,4 @@ -# `@vuepress-plume/vuepress-plugin-netlify-functions` +# `@vuepress-plume/plugin-netlify-functions` If your vuepress site is deployed on `netlify` and you want to be able to use `netlify functions` for ` serverless`. @@ -24,7 +24,7 @@ You may need this plugin to provide support. ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-netlify-functions +yarn add @vuepress-plume/plugin-netlify-functions ``` ## Usage @@ -33,7 +33,7 @@ yarn add @vuepress-plume/vuepress-plugin-netlify-functions 在 vuepress 项目中,或者在一个 vuepress 主题中 ``` js // .vuepress/config.js - import { netlifyFunctionsPlugin } from '@vuepress-plume/vuepress-plugin-netlify-functions' + import { netlifyFunctionsPlugin } from '@vuepress-plume/plugin-netlify-functions' module.exports = { //... plugins: [ @@ -47,7 +47,7 @@ yarn add @vuepress-plume/vuepress-plugin-netlify-functions 在 vuepress plugin 中: ``` js - import { useNetlifyFunctionsPlugin } from '@vuepress-plume/vuepress-plugin-netlify-functions' + import { useNetlifyFunctionsPlugin } from '@vuepress-plume/plugin-netlify-functions' const myPlugin = (): Plugin => { return (app: App) => { diff --git a/packages/plugin-netlify-functions/package.json b/plugins/plugin-netlify-functions/package.json similarity index 96% rename from packages/plugin-netlify-functions/package.json rename to plugins/plugin-netlify-functions/package.json index 5596bfb3..d3368fd8 100644 --- a/packages/plugin-netlify-functions/package.json +++ b/plugins/plugin-netlify-functions/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-netlify-functions", + "name": "@vuepress-plume/plugin-netlify-functions", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2, Support Netlify Functions", "keywords": [ diff --git a/packages/plugin-netlify-functions/src/node/extendsBundlerOptions.ts b/plugins/plugin-netlify-functions/src/node/extendsBundlerOptions.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/extendsBundlerOptions.ts rename to plugins/plugin-netlify-functions/src/node/extendsBundlerOptions.ts diff --git a/packages/plugin-netlify-functions/src/node/index.ts b/plugins/plugin-netlify-functions/src/node/index.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/index.ts rename to plugins/plugin-netlify-functions/src/node/index.ts diff --git a/packages/plugin-netlify-functions/src/node/netlify/index.ts b/plugins/plugin-netlify-functions/src/node/netlify/index.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/netlify/index.ts rename to plugins/plugin-netlify-functions/src/node/netlify/index.ts diff --git a/packages/plugin-netlify-functions/src/node/netlify/initFunctions.ts b/plugins/plugin-netlify-functions/src/node/netlify/initFunctions.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/netlify/initFunctions.ts rename to plugins/plugin-netlify-functions/src/node/netlify/initFunctions.ts diff --git a/packages/plugin-netlify-functions/src/node/netlify/netlifyConfig.ts b/plugins/plugin-netlify-functions/src/node/netlify/netlifyConfig.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/netlify/netlifyConfig.ts rename to plugins/plugin-netlify-functions/src/node/netlify/netlifyConfig.ts diff --git a/packages/plugin-netlify-functions/src/node/netlify/netlifyServer.ts b/plugins/plugin-netlify-functions/src/node/netlify/netlifyServer.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/netlify/netlifyServer.ts rename to plugins/plugin-netlify-functions/src/node/netlify/netlifyServer.ts diff --git a/packages/plugin-netlify-functions/src/node/plugin.ts b/plugins/plugin-netlify-functions/src/node/plugin.ts similarity index 98% rename from packages/plugin-netlify-functions/src/node/plugin.ts rename to plugins/plugin-netlify-functions/src/node/plugin.ts index 81bd424b..644cf484 100644 --- a/packages/plugin-netlify-functions/src/node/plugin.ts +++ b/plugins/plugin-netlify-functions/src/node/plugin.ts @@ -78,7 +78,7 @@ export const netlifyFunctionsPlugin = ( let server: NetlifyServe cache.options = opts return { - name: '@vuepress-plume/vuepress-plugin-netlify-functions', + name: '@vuepress-plume/plugin-netlify-functions', onInitialized: async (app) => { // 启动netlify functions server diff --git a/packages/plugin-netlify-functions/src/node/shim.d.ts b/plugins/plugin-netlify-functions/src/node/shim.d.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/shim.d.ts rename to plugins/plugin-netlify-functions/src/node/shim.d.ts diff --git a/packages/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts b/plugins/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts similarity index 95% rename from packages/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts rename to plugins/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts index b538a19f..ce941877 100644 --- a/packages/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts +++ b/plugins/plugin-netlify-functions/src/node/useNetlifyFunctionsPlugins.ts @@ -35,7 +35,7 @@ export const useNetlifyFunctionsPlugin = ( if ( !plugins.some( (plugin: PluginObject) => - plugin.name === '@vuepress-plume/vuepress-plugin-netlify-functions' + plugin.name === '@vuepress-plume/plugin-netlify-functions' ) ) { app.use(netlifyFunctionsPlugin()) diff --git a/packages/plugin-netlify-functions/src/node/utils/index.ts b/plugins/plugin-netlify-functions/src/node/utils/index.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/utils/index.ts rename to plugins/plugin-netlify-functions/src/node/utils/index.ts diff --git a/packages/plugin-netlify-functions/src/node/utils/readFileList.ts b/plugins/plugin-netlify-functions/src/node/utils/readFileList.ts similarity index 100% rename from packages/plugin-netlify-functions/src/node/utils/readFileList.ts rename to plugins/plugin-netlify-functions/src/node/utils/readFileList.ts diff --git a/packages/plugin-netlify-functions/src/shared/index.ts b/plugins/plugin-netlify-functions/src/shared/index.ts similarity index 100% rename from packages/plugin-netlify-functions/src/shared/index.ts rename to plugins/plugin-netlify-functions/src/shared/index.ts diff --git a/packages/plugin-netlify-functions/tsconfig.build.json b/plugins/plugin-netlify-functions/tsconfig.build.json similarity index 100% rename from packages/plugin-netlify-functions/tsconfig.build.json rename to plugins/plugin-netlify-functions/tsconfig.build.json diff --git a/packages/plugin-notes-data/LICENSE b/plugins/plugin-notes-data/LICENSE similarity index 100% rename from packages/plugin-notes-data/LICENSE rename to plugins/plugin-notes-data/LICENSE diff --git a/packages/plugin-notes-data/README.md b/plugins/plugin-notes-data/README.md similarity index 76% rename from packages/plugin-notes-data/README.md rename to plugins/plugin-notes-data/README.md index a81bc06e..7429c080 100644 --- a/packages/plugin-notes-data/README.md +++ b/plugins/plugin-notes-data/README.md @@ -1,13 +1,13 @@ -# `@vuepress-plume/vuepress-plugin-notes-data` +# `@vuepress-plume/plugin-notes-data` ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-notes-data +yarn add @vuepress-plume/plugin-notes-data ``` ## Usage ``` js // .vuepress/config.js -const notesDataPlugin = require('@vuepress-plume/vuepress-plugin-notes-data') +const notesDataPlugin = require('@vuepress-plume/plugin-notes-data') module.exports = { //... plugins: [ diff --git a/packages/plugin-notes-data/package.json b/plugins/plugin-notes-data/package.json similarity index 96% rename from packages/plugin-notes-data/package.json rename to plugins/plugin-notes-data/package.json index 40570cde..d74f0f1c 100644 --- a/packages/plugin-notes-data/package.json +++ b/plugins/plugin-notes-data/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-notes-data", + "name": "@vuepress-plume/plugin-notes-data", "version": "1.0.0-beta.89", "description": "The Plugin for VuePres 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-notes-data/src/client/clientConfig.ts b/plugins/plugin-notes-data/src/client/clientConfig.ts similarity index 100% rename from packages/plugin-notes-data/src/client/clientConfig.ts rename to plugins/plugin-notes-data/src/client/clientConfig.ts diff --git a/packages/plugin-notes-data/src/client/composables/index.ts b/plugins/plugin-notes-data/src/client/composables/index.ts similarity index 100% rename from packages/plugin-notes-data/src/client/composables/index.ts rename to plugins/plugin-notes-data/src/client/composables/index.ts diff --git a/packages/plugin-notes-data/src/client/composables/notesDate.ts b/plugins/plugin-notes-data/src/client/composables/notesDate.ts similarity index 100% rename from packages/plugin-notes-data/src/client/composables/notesDate.ts rename to plugins/plugin-notes-data/src/client/composables/notesDate.ts diff --git a/packages/plugin-notes-data/src/client/index.ts b/plugins/plugin-notes-data/src/client/index.ts similarity index 100% rename from packages/plugin-notes-data/src/client/index.ts rename to plugins/plugin-notes-data/src/client/index.ts diff --git a/packages/plugin-notes-data/src/client/notesData.d.ts b/plugins/plugin-notes-data/src/client/notesData.d.ts similarity index 100% rename from packages/plugin-notes-data/src/client/notesData.d.ts rename to plugins/plugin-notes-data/src/client/notesData.d.ts diff --git a/packages/plugin-notes-data/src/node/index.ts b/plugins/plugin-notes-data/src/node/index.ts similarity index 100% rename from packages/plugin-notes-data/src/node/index.ts rename to plugins/plugin-notes-data/src/node/index.ts diff --git a/packages/plugin-notes-data/src/node/plugin.ts b/plugins/plugin-notes-data/src/node/plugin.ts similarity index 91% rename from packages/plugin-notes-data/src/node/plugin.ts rename to plugins/plugin-notes-data/src/node/plugin.ts index 1a9b64af..76c146ee 100644 --- a/packages/plugin-notes-data/src/node/plugin.ts +++ b/plugins/plugin-notes-data/src/node/plugin.ts @@ -6,7 +6,7 @@ import { prepareNotesData, watchNotesData } from './prepareNotesData.js' export const notesDataPlugin = (options: NotesDataOptions): Plugin => { return (app: App) => { return { - name: '@vuepress-plume/vuepress-plugin-notes-data', + name: '@vuepress-plume/plugin-notes-data', clientConfigFile: path.resolve( getDirname(import.meta.url), '../client/clientConfig.js' diff --git a/packages/plugin-notes-data/src/node/prepareNotesData.ts b/plugins/plugin-notes-data/src/node/prepareNotesData.ts similarity index 100% rename from packages/plugin-notes-data/src/node/prepareNotesData.ts rename to plugins/plugin-notes-data/src/node/prepareNotesData.ts diff --git a/packages/plugin-notes-data/src/node/utils.ts b/plugins/plugin-notes-data/src/node/utils.ts similarity index 100% rename from packages/plugin-notes-data/src/node/utils.ts rename to plugins/plugin-notes-data/src/node/utils.ts diff --git a/packages/plugin-notes-data/src/shared/index.ts b/plugins/plugin-notes-data/src/shared/index.ts similarity index 100% rename from packages/plugin-notes-data/src/shared/index.ts rename to plugins/plugin-notes-data/src/shared/index.ts diff --git a/packages/plugin-notes-data/tsconfig.build.json b/plugins/plugin-notes-data/tsconfig.build.json similarity index 100% rename from packages/plugin-notes-data/tsconfig.build.json rename to plugins/plugin-notes-data/tsconfig.build.json diff --git a/packages/plugin-page-collection/LICENSE b/plugins/plugin-page-collection/LICENSE similarity index 100% rename from packages/plugin-page-collection/LICENSE rename to plugins/plugin-page-collection/LICENSE diff --git a/packages/plugin-page-collection/README.md b/plugins/plugin-page-collection/README.md similarity index 97% rename from packages/plugin-page-collection/README.md rename to plugins/plugin-page-collection/README.md index bc1371bb..32fbd7af 100644 --- a/packages/plugin-page-collection/README.md +++ b/plugins/plugin-page-collection/README.md @@ -1,4 +1,4 @@ -# `@vuepress-plume/vuepress-plugin-page-collection` +# `@vuepress-plume/plugin-page-collection` 这是一个使用了 `netlify functions` + `leancloud` 的 `VuePress2` 插件示例。 diff --git a/packages/plugin-page-collection/database/Page.json b/plugins/plugin-page-collection/database/Page.json similarity index 100% rename from packages/plugin-page-collection/database/Page.json rename to plugins/plugin-page-collection/database/Page.json diff --git a/packages/plugin-page-collection/package.json b/plugins/plugin-page-collection/package.json similarity index 86% rename from packages/plugin-page-collection/package.json rename to plugins/plugin-page-collection/package.json index cb64ae09..b7cf42b5 100644 --- a/packages/plugin-page-collection/package.json +++ b/plugins/plugin-page-collection/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-page-collection", + "name": "@vuepress-plume/plugin-page-collection", "version": "1.0.0-beta.89", "private": true, "description": "The Plugin for VuePres 2", @@ -32,7 +32,7 @@ }, "dependencies": { "@netlify/functions": "^2.4.1", - "@vuepress-plume/vuepress-plugin-netlify-functions": "workspace:*", + "@vuepress-plume/plugin-netlify-functions": "workspace:*", "@vuepress/client": "2.0.0-rc.0", "@vuepress/core": "2.0.0-rc.0", "@vuepress/shared": "2.0.0-rc.0", @@ -47,7 +47,7 @@ "keyword": [ "VuePress", "vuepress plugin", - "pageCollection", - "vuepress-plugin-plugin-page-collection" + "page collection", + "vuepress-plugin-page-collection" ] } diff --git a/packages/plugin-page-collection/src/client/clientConfig.ts b/plugins/plugin-page-collection/src/client/clientConfig.ts similarity index 100% rename from packages/plugin-page-collection/src/client/clientConfig.ts rename to plugins/plugin-page-collection/src/client/clientConfig.ts diff --git a/packages/plugin-page-collection/src/client/components/PageCollection.ts b/plugins/plugin-page-collection/src/client/components/PageCollection.ts similarity index 100% rename from packages/plugin-page-collection/src/client/components/PageCollection.ts rename to plugins/plugin-page-collection/src/client/components/PageCollection.ts diff --git a/packages/plugin-page-collection/src/client/composables/index.ts b/plugins/plugin-page-collection/src/client/composables/index.ts similarity index 100% rename from packages/plugin-page-collection/src/client/composables/index.ts rename to plugins/plugin-page-collection/src/client/composables/index.ts diff --git a/packages/plugin-page-collection/src/client/composables/usePageCollection.ts b/plugins/plugin-page-collection/src/client/composables/usePageCollection.ts similarity index 100% rename from packages/plugin-page-collection/src/client/composables/usePageCollection.ts rename to plugins/plugin-page-collection/src/client/composables/usePageCollection.ts diff --git a/packages/plugin-page-collection/src/client/index.ts b/plugins/plugin-page-collection/src/client/index.ts similarity index 100% rename from packages/plugin-page-collection/src/client/index.ts rename to plugins/plugin-page-collection/src/client/index.ts diff --git a/packages/plugin-page-collection/src/node/functions/page_collection.ts b/plugins/plugin-page-collection/src/node/functions/page_collection.ts similarity index 100% rename from packages/plugin-page-collection/src/node/functions/page_collection.ts rename to plugins/plugin-page-collection/src/node/functions/page_collection.ts diff --git a/packages/plugin-page-collection/src/node/index.ts b/plugins/plugin-page-collection/src/node/index.ts similarity index 100% rename from packages/plugin-page-collection/src/node/index.ts rename to plugins/plugin-page-collection/src/node/index.ts diff --git a/packages/plugin-page-collection/src/node/plugin.ts b/plugins/plugin-page-collection/src/node/plugin.ts similarity index 87% rename from packages/plugin-page-collection/src/node/plugin.ts rename to plugins/plugin-page-collection/src/node/plugin.ts index f6403bda..608a9be4 100644 --- a/packages/plugin-page-collection/src/node/plugin.ts +++ b/plugins/plugin-page-collection/src/node/plugin.ts @@ -4,11 +4,11 @@ * 然后在此基础上进行修改 */ -// 通过引入 '@vuepress-plume/vuepress-plugin-netlify-functions' 插件,来为本插件提供 +// 通过引入 '@vuepress-plume/plugin-netlify-functions' 插件,来为本插件提供 // netlify functions 开发时支持 import type { App, Plugin } from '@vuepress/core' import { getDirname, path } from '@vuepress/utils' -import { useNetlifyFunctionsPlugin } from '@vuepress-plume/vuepress-plugin-netlify-functions' +import { useNetlifyFunctionsPlugin } from '@vuepress-plume/plugin-netlify-functions' import type { PageCollectionOptions } from '../shared/index.js' const __dirname = getDirname(import.meta.url) @@ -34,7 +34,7 @@ export const pageCollectionPlugin = ( directory: path.join(__dirname, 'functions'), }) return { - name: '@vuepress-plume/vuepress-plugin-page-collection', + name: '@vuepress-plume/plugin-page-collection', define: () => ({ // 将 proxyPrefix 注入到 客户端中 // 以便获取使用 diff --git a/packages/plugin-page-collection/src/shared/index.ts b/plugins/plugin-page-collection/src/shared/index.ts similarity index 100% rename from packages/plugin-page-collection/src/shared/index.ts rename to plugins/plugin-page-collection/src/shared/index.ts diff --git a/packages/plugin-page-collection/tsconfig.build.json b/plugins/plugin-page-collection/tsconfig.build.json similarity index 100% rename from packages/plugin-page-collection/tsconfig.build.json rename to plugins/plugin-page-collection/tsconfig.build.json diff --git a/packages/plugin-windicss/LICENSE b/plugins/plugin-windicss/LICENSE similarity index 100% rename from packages/plugin-windicss/LICENSE rename to plugins/plugin-windicss/LICENSE diff --git a/packages/plugin-windicss/README.md b/plugins/plugin-windicss/README.md similarity index 71% rename from packages/plugin-windicss/README.md rename to plugins/plugin-windicss/README.md index ae35c26d..34859179 100644 --- a/packages/plugin-windicss/README.md +++ b/plugins/plugin-windicss/README.md @@ -1,15 +1,15 @@ -# `@vuepress-plume/vuepress-plugin-windicss` +# `@vuepress-plume/plugin-windicss` 添加 `windicss` 支持 ## Install ``` -yarn add @vuepress-plume/vuepress-plugin-windicss +yarn add @vuepress-plume/plugin-windicss ``` ## Usage ``` js // .vuepress/config.js -const { windicssPlugin } = require('@vuepress-plume/vuepress-plugin-windicss') +const { windicssPlugin } = require('@vuepress-plume/plugin-windicss') const path = require('path') module.exports = { //... diff --git a/packages/plugin-windicss/package.json b/plugins/plugin-windicss/package.json similarity index 95% rename from packages/plugin-windicss/package.json rename to plugins/plugin-windicss/package.json index ab6e0b3d..f5a2077f 100644 --- a/packages/plugin-windicss/package.json +++ b/plugins/plugin-windicss/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-plugin-windicss", + "name": "@vuepress-plume/plugin-windicss", "version": "1.0.0-beta.89", "description": "The Plugin for VuePress 2", "homepage": "https://github.com/pengzhanbo/vuepress-theme-plume#readme", diff --git a/packages/plugin-windicss/src/client/config.vite.ts b/plugins/plugin-windicss/src/client/config.vite.ts similarity index 100% rename from packages/plugin-windicss/src/client/config.vite.ts rename to plugins/plugin-windicss/src/client/config.vite.ts diff --git a/packages/plugin-windicss/src/client/config.webpack.ts b/plugins/plugin-windicss/src/client/config.webpack.ts similarity index 100% rename from packages/plugin-windicss/src/client/config.webpack.ts rename to plugins/plugin-windicss/src/client/config.webpack.ts diff --git a/packages/plugin-windicss/src/node/index.ts b/plugins/plugin-windicss/src/node/index.ts similarity index 100% rename from packages/plugin-windicss/src/node/index.ts rename to plugins/plugin-windicss/src/node/index.ts diff --git a/packages/plugin-windicss/src/node/plugin.ts b/plugins/plugin-windicss/src/node/plugin.ts similarity index 97% rename from packages/plugin-windicss/src/node/plugin.ts rename to plugins/plugin-windicss/src/node/plugin.ts index 21383873..e32f6e67 100644 --- a/packages/plugin-windicss/src/node/plugin.ts +++ b/plugins/plugin-windicss/src/node/plugin.ts @@ -31,7 +31,7 @@ export const windiCSSPlugin = (options?: WindiCSSOptions | string): Plugin => { ? path.resolve(__dirname, '../client/config.vite.js') : path.resolve(__dirname, '../client/config.webpack.js') return { - name: '@vuepress-plume/vuepress-plugin-windicss', + name: '@vuepress-plume/plugin-windicss', clientConfigFile, extendsBundlerOptions: (bundlerOptions, app: App) => { if (app.options.bundler.name === '@vuepress/bundler-vite') { diff --git a/packages/plugin-windicss/src/node/windicss.d.ts b/plugins/plugin-windicss/src/node/windicss.d.ts similarity index 100% rename from packages/plugin-windicss/src/node/windicss.d.ts rename to plugins/plugin-windicss/src/node/windicss.d.ts diff --git a/packages/plugin-windicss/tsconfig.build.json b/plugins/plugin-windicss/tsconfig.build.json similarity index 100% rename from packages/plugin-windicss/tsconfig.build.json rename to plugins/plugin-windicss/tsconfig.build.json diff --git a/packages/tsconfig.build.json b/plugins/tsconfig.build.json similarity index 86% rename from packages/tsconfig.build.json rename to plugins/tsconfig.build.json index 93158846..649e7a3c 100644 --- a/packages/tsconfig.build.json +++ b/plugins/tsconfig.build.json @@ -14,7 +14,6 @@ { "path": "./plugin-netlify-functions/tsconfig.build.json" }, { "path": "./plugin-notes-data/tsconfig.build.json" }, { "path": "./plugin-page-collection/tsconfig.build.json" }, - { "path": "./plugin-windicss/tsconfig.build.json" }, - { "path": "./theme/tsconfig.build.json" } + { "path": "./plugin-windicss/tsconfig.build.json" } ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bcb5ebd6..27681cb8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,9 +92,6 @@ importers: taze: specifier: ^0.13.0 version: 0.13.0 - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@20.9.1)(typescript@5.3.3) tsconfig-vuepress: specifier: ^4.5.0 version: 4.5.0 @@ -107,12 +104,9 @@ importers: docs: dependencies: - '@vuepress-plume/vuepress-theme-plume': - specifier: workspace:* - version: link:../packages/theme '@vuepress/bundler-vite': specifier: 2.0.0-rc.0 - version: 2.0.0-rc.0(@types/node@20.9.1)(sass@1.69.5)(ts-node@10.9.2)(typescript@5.3.3) + version: 2.0.0-rc.0(@types/node@20.9.1)(sass@1.69.5)(typescript@5.3.3) '@vuepress/bundler-webpack': specifier: 2.0.0-rc.0 version: 2.0.0-rc.0(typescript@5.3.3) @@ -140,8 +134,11 @@ importers: vue: specifier: ^3.3.13 version: 3.3.13(typescript@5.3.3) + vuepress-theme-plume: + specifier: workspace:* + version: link:../theme - packages/plugin-auto-frontmatter: + plugins/plugin-auto-frontmatter: dependencies: '@vuepress/core': specifier: 2.0.0-rc.0 @@ -165,7 +162,7 @@ importers: specifier: ^1.1.0 version: 1.1.0 - packages/plugin-baidu-tongji: + plugins/plugin-baidu-tongji: dependencies: '@vuepress/client': specifier: 2.0.0-rc.0 @@ -180,7 +177,7 @@ importers: specifier: 2.0.0-rc.0 version: 2.0.0-rc.0 - packages/plugin-blog-data: + plugins/plugin-blog-data: dependencies: '@vue/devtools-api': specifier: ^6.5.1 @@ -207,7 +204,7 @@ importers: specifier: ^3.3.13 version: 3.3.13(typescript@5.3.3) - packages/plugin-caniuse: + plugins/plugin-caniuse: dependencies: '@types/markdown-it': specifier: ^13.0.7 @@ -228,7 +225,7 @@ importers: specifier: ^4.0.0 version: 4.0.0 - packages/plugin-copy-code: + plugins/plugin-copy-code: dependencies: '@vuepress/client': specifier: 2.0.0-rc.0 @@ -249,7 +246,7 @@ importers: specifier: 4.2.5 version: 4.2.5(vue@3.3.13) - packages/plugin-iconify: + plugins/plugin-iconify: dependencies: '@iconify/vue': specifier: ^4.1.1 @@ -270,7 +267,7 @@ importers: specifier: ^3.3.13 version: 3.3.13(typescript@5.3.3) - packages/plugin-netlify-functions: + plugins/plugin-netlify-functions: dependencies: '@iarna/toml': specifier: ^2.2.5 @@ -316,7 +313,7 @@ importers: specifier: ^20.10.5 version: 20.10.5 - packages/plugin-notes-data: + plugins/plugin-notes-data: dependencies: '@vue/devtools-api': specifier: ^6.5.1 @@ -343,12 +340,12 @@ importers: specifier: ^3.3.13 version: 3.3.13(typescript@5.3.3) - packages/plugin-page-collection: + plugins/plugin-page-collection: dependencies: '@netlify/functions': specifier: ^2.4.1 version: 2.4.1 - '@vuepress-plume/vuepress-plugin-netlify-functions': + '@vuepress-plume/plugin-netlify-functions': specifier: workspace:* version: link:../plugin-netlify-functions '@vuepress/client': @@ -373,7 +370,7 @@ importers: specifier: 4.2.5 version: 4.2.5(vue@3.3.13) - packages/plugin-windicss: + plugins/plugin-windicss: dependencies: '@vuepress/client': specifier: 2.0.0-rc.0 @@ -397,29 +394,29 @@ importers: specifier: ^1.8.0 version: 1.8.0 - packages/theme: + theme: dependencies: - '@vuepress-plume/vuepress-plugin-auto-frontmatter': + '@vuepress-plume/plugin-auto-frontmatter': specifier: workspace:* - version: link:../plugin-auto-frontmatter - '@vuepress-plume/vuepress-plugin-baidu-tongji': + version: link:../plugins/plugin-auto-frontmatter + '@vuepress-plume/plugin-baidu-tongji': specifier: workspace:* - version: link:../plugin-baidu-tongji - '@vuepress-plume/vuepress-plugin-blog-data': + version: link:../plugins/plugin-baidu-tongji + '@vuepress-plume/plugin-blog-data': specifier: workspace:* - version: link:../plugin-blog-data - '@vuepress-plume/vuepress-plugin-caniuse': + version: link:../plugins/plugin-blog-data + '@vuepress-plume/plugin-caniuse': specifier: workspace:* - version: link:../plugin-caniuse - '@vuepress-plume/vuepress-plugin-copy-code': + version: link:../plugins/plugin-caniuse + '@vuepress-plume/plugin-copy-code': specifier: workspace:* - version: link:../plugin-copy-code - '@vuepress-plume/vuepress-plugin-iconify': + version: link:../plugins/plugin-copy-code + '@vuepress-plume/plugin-iconify': specifier: workspace:* - version: link:../plugin-iconify - '@vuepress-plume/vuepress-plugin-notes-data': + version: link:../plugins/plugin-iconify + '@vuepress-plume/plugin-notes-data': specifier: workspace:* - version: link:../plugin-notes-data + version: link:../plugins/plugin-notes-data '@vuepress/client': specifier: 2.0.0-rc.0 version: 2.0.0-rc.0(typescript@5.3.3) @@ -670,10 +667,6 @@ packages: hasBin: true dev: true - /@antfu/utils@0.7.2: - resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==} - dev: false - /@antfu/utils@0.7.6: resolution: {integrity: sha512-pvFiLP2BeOKA/ZOS6jxx4XhKzdVLHDhGlFEaZ2flWWYf2xOqVniqpk38I04DFRyz+L0ASggl7SkItTc+ZLju4w==} @@ -706,10 +699,10 @@ packages: '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.3) '@babel/helpers': 7.23.2 - '@babel/parser': 7.23.3 + '@babel/parser': 7.23.6 '@babel/template': 7.22.15 '@babel/traverse': 7.23.3 - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 convert-source-map: 2.0.0 debug: 4.3.4(supports-color@9.2.2) gensync: 1.0.0-beta.2 @@ -723,7 +716,7 @@ packages: resolution: {integrity: sha512-keeZWAV4LU3tW0qRi19HRpabC/ilM0HRBBzf9/k8FFiG4KVpiv0FIy4hHfLfFQZNhziCTPTmd59zoyv6DNISzg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 '@jridgewell/gen-mapping': 0.3.2 '@jridgewell/trace-mapping': 0.3.18 jsesc: 2.5.2 @@ -750,21 +743,21 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.22.15 - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 dev: false /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 dev: false /@babel/helper-module-imports@7.22.15: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 dev: false /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.3): @@ -785,19 +778,14 @@ packages: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 dev: false /@babel/helper-split-export-declaration@7.22.6: resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.3 - dev: false - - /@babel/helper-string-parser@7.22.5: - resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} - engines: {node: '>=6.9.0'} + '@babel/types': 7.23.5 dev: false /@babel/helper-string-parser@7.23.4: @@ -825,7 +813,7 @@ packages: dependencies: '@babel/template': 7.22.15 '@babel/traverse': 7.23.3 - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 transitivePeerDependencies: - supports-color dev: false @@ -847,20 +835,12 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser@7.23.3: - resolution: {integrity: sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.23.3 - dev: false - /@babel/parser@7.23.6: resolution: {integrity: sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==} engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.23.3 + '@babel/types': 7.23.5 dev: false /@babel/runtime-corejs3@7.18.9: @@ -882,8 +862,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.22.13 - '@babel/parser': 7.23.3 - '@babel/types': 7.23.3 + '@babel/parser': 7.23.6 + '@babel/types': 7.23.5 dev: false /@babel/traverse@7.23.3: @@ -896,23 +876,14 @@ packages: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.3 - '@babel/types': 7.23.3 + '@babel/parser': 7.23.6 + '@babel/types': 7.23.5 debug: 4.3.4(supports-color@9.2.2) globals: 11.12.0 transitivePeerDependencies: - supports-color dev: false - /@babel/types@7.23.3: - resolution: {integrity: sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 - to-fast-properties: 2.0.0 - dev: false - /@babel/types@7.23.4: resolution: {integrity: sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==} engines: {node: '>=6.9.0'} @@ -1151,6 +1122,7 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/trace-mapping': 0.3.9 + dev: false /@dabh/diagnostics@2.0.3: resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==} @@ -1227,15 +1199,6 @@ packages: requiresBuild: true optional: true - /@esbuild/android-arm64@0.19.5: - resolution: {integrity: sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: false - optional: true - /@esbuild/android-arm64@0.19.6: resolution: {integrity: sha512-KQ/hbe9SJvIJ4sR+2PcZ41IBV+LPJyYp6V1K1P1xcMRup9iYsBoQn4MzE3mhMLOld27Au2eDcLlIREeKGUXpHQ==} engines: {node: '>=12'} @@ -1262,15 +1225,6 @@ packages: requiresBuild: true optional: true - /@esbuild/android-arm@0.19.5: - resolution: {integrity: sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: false - optional: true - /@esbuild/android-arm@0.19.6: resolution: {integrity: sha512-muPzBqXJKCbMYoNbb1JpZh/ynl0xS6/+pLjrofcR3Nad82SbsCogYzUE6Aq9QT3cLP0jR/IVK/NHC9b90mSHtg==} engines: {node: '>=12'} @@ -1297,15 +1251,6 @@ packages: requiresBuild: true optional: true - /@esbuild/android-x64@0.19.5: - resolution: {integrity: sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: false - optional: true - /@esbuild/android-x64@0.19.6: resolution: {integrity: sha512-VVJVZQ7p5BBOKoNxd0Ly3xUM78Y4DyOoFKdkdAe2m11jbh0LEU4bPles4e/72EMl4tapko8o915UalN/5zhspg==} engines: {node: '>=12'} @@ -1332,15 +1277,6 @@ packages: requiresBuild: true optional: true - /@esbuild/darwin-arm64@0.19.5: - resolution: {integrity: sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@esbuild/darwin-arm64@0.19.6: resolution: {integrity: sha512-91LoRp/uZAKx6ESNspL3I46ypwzdqyDLXZH7x2QYCLgtnaU08+AXEbabY2yExIz03/am0DivsTtbdxzGejfXpA==} engines: {node: '>=12'} @@ -1367,15 +1303,6 @@ packages: requiresBuild: true optional: true - /@esbuild/darwin-x64@0.19.5: - resolution: {integrity: sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@esbuild/darwin-x64@0.19.6: resolution: {integrity: sha512-QCGHw770ubjBU1J3ZkFJh671MFajGTYMZumPs9E/rqU52md6lIil97BR0CbPq6U+vTh3xnTNDHKRdR8ggHnmxQ==} engines: {node: '>=12'} @@ -1402,15 +1329,6 @@ packages: requiresBuild: true optional: true - /@esbuild/freebsd-arm64@0.19.5: - resolution: {integrity: sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: false - optional: true - /@esbuild/freebsd-arm64@0.19.6: resolution: {integrity: sha512-J53d0jGsDcLzWk9d9SPmlyF+wzVxjXpOH7jVW5ae7PvrDst4kiAz6sX+E8btz0GB6oH12zC+aHRD945jdjF2Vg==} engines: {node: '>=12'} @@ -1437,15 +1355,6 @@ packages: requiresBuild: true optional: true - /@esbuild/freebsd-x64@0.19.5: - resolution: {integrity: sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: false - optional: true - /@esbuild/freebsd-x64@0.19.6: resolution: {integrity: sha512-hn9qvkjHSIB5Z9JgCCjED6YYVGCNpqB7dEGavBdG6EjBD8S/UcNUIlGcB35NCkMETkdYwfZSvD9VoDJX6VeUVA==} engines: {node: '>=12'} @@ -1472,15 +1381,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-arm64@0.19.5: - resolution: {integrity: sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-arm64@0.19.6: resolution: {integrity: sha512-HQCOrk9XlH3KngASLaBfHpcoYEGUt829A9MyxaI8RMkfRA8SakG6YQEITAuwmtzFdEu5GU4eyhKcpv27dFaOBg==} engines: {node: '>=12'} @@ -1507,15 +1407,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-arm@0.19.5: - resolution: {integrity: sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-arm@0.19.6: resolution: {integrity: sha512-G8IR5zFgpXad/Zp7gr7ZyTKyqZuThU6z1JjmRyN1vSF8j0bOlGzUwFSMTbctLAdd7QHpeyu0cRiuKrqK1ZTwvQ==} engines: {node: '>=12'} @@ -1542,15 +1433,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-ia32@0.19.5: - resolution: {integrity: sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-ia32@0.19.6: resolution: {integrity: sha512-22eOR08zL/OXkmEhxOfshfOGo8P69k8oKHkwkDrUlcB12S/sw/+COM4PhAPT0cAYW/gpqY2uXp3TpjQVJitz7w==} engines: {node: '>=12'} @@ -1577,15 +1459,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-loong64@0.19.5: - resolution: {integrity: sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-loong64@0.19.6: resolution: {integrity: sha512-82RvaYAh/SUJyjWA8jDpyZCHQjmEggL//sC7F3VKYcBMumQjUL3C5WDl/tJpEiKtt7XrWmgjaLkrk205zfvwTA==} engines: {node: '>=12'} @@ -1612,15 +1485,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-mips64el@0.19.5: - resolution: {integrity: sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-mips64el@0.19.6: resolution: {integrity: sha512-8tvnwyYJpR618vboIv2l8tK2SuK/RqUIGMfMENkeDGo3hsEIrpGldMGYFcWxWeEILe5Fi72zoXLmhZ7PR23oQA==} engines: {node: '>=12'} @@ -1647,15 +1511,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-ppc64@0.19.5: - resolution: {integrity: sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-ppc64@0.19.6: resolution: {integrity: sha512-Qt+D7xiPajxVNk5tQiEJwhmarNnLPdjXAoA5uWMpbfStZB0+YU6a3CtbWYSy+sgAsnyx4IGZjWsTzBzrvg/fMA==} engines: {node: '>=12'} @@ -1682,15 +1537,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-riscv64@0.19.5: - resolution: {integrity: sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-riscv64@0.19.6: resolution: {integrity: sha512-lxRdk0iJ9CWYDH1Wpnnnc640ajF4RmQ+w6oHFZmAIYu577meE9Ka/DCtpOrwr9McMY11ocbp4jirgGgCi7Ls/g==} engines: {node: '>=12'} @@ -1717,15 +1563,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-s390x@0.19.5: - resolution: {integrity: sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-s390x@0.19.6: resolution: {integrity: sha512-MopyYV39vnfuykHanRWHGRcRC3AwU7b0QY4TI8ISLfAGfK+tMkXyFuyT1epw/lM0pflQlS53JoD22yN83DHZgA==} engines: {node: '>=12'} @@ -1752,15 +1589,6 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-x64@0.19.5: - resolution: {integrity: sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@esbuild/linux-x64@0.19.6: resolution: {integrity: sha512-UWcieaBzsN8WYbzFF5Jq7QULETPcQvlX7KL4xWGIB54OknXJjBO37sPqk7N82WU13JGWvmDzFBi1weVBajPovg==} engines: {node: '>=12'} @@ -1787,15 +1615,6 @@ packages: requiresBuild: true optional: true - /@esbuild/netbsd-x64@0.19.5: - resolution: {integrity: sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: false - optional: true - /@esbuild/netbsd-x64@0.19.6: resolution: {integrity: sha512-EpWiLX0fzvZn1wxtLxZrEW+oQED9Pwpnh+w4Ffv8ZLuMhUoqR9q9rL4+qHW8F4Mg5oQEKxAoT0G+8JYNqCiR6g==} engines: {node: '>=12'} @@ -1822,15 +1641,6 @@ packages: requiresBuild: true optional: true - /@esbuild/openbsd-x64@0.19.5: - resolution: {integrity: sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: false - optional: true - /@esbuild/openbsd-x64@0.19.6: resolution: {integrity: sha512-fFqTVEktM1PGs2sLKH4M5mhAVEzGpeZJuasAMRnvDZNCV0Cjvm1Hu35moL2vC0DOrAQjNTvj4zWrol/lwQ8Deg==} engines: {node: '>=12'} @@ -1857,15 +1667,6 @@ packages: requiresBuild: true optional: true - /@esbuild/sunos-x64@0.19.5: - resolution: {integrity: sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: false - optional: true - /@esbuild/sunos-x64@0.19.6: resolution: {integrity: sha512-M+XIAnBpaNvaVAhbe3uBXtgWyWynSdlww/JNZws0FlMPSBy+EpatPXNIlKAdtbFVII9OpX91ZfMb17TU3JKTBA==} engines: {node: '>=12'} @@ -1892,15 +1693,6 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-arm64@0.19.5: - resolution: {integrity: sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@esbuild/win32-arm64@0.19.6: resolution: {integrity: sha512-2DchFXn7vp/B6Tc2eKdTsLzE0ygqKkNUhUBCNtMx2Llk4POIVMUq5rUYjdcedFlGLeRe1uLCpVvCmE+G8XYybA==} engines: {node: '>=12'} @@ -1927,15 +1719,6 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-ia32@0.19.5: - resolution: {integrity: sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@esbuild/win32-ia32@0.19.6: resolution: {integrity: sha512-PBo/HPDQllyWdjwAVX+Gl2hH0dfBydL97BAH/grHKC8fubqp02aL4S63otZ25q3sBdINtOBbz1qTZQfXbP4VBg==} engines: {node: '>=12'} @@ -1962,15 +1745,6 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-x64@0.19.5: - resolution: {integrity: sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@esbuild/win32-x64@0.19.6: resolution: {integrity: sha512-OE7yIdbDif2kKfrGa+V0vx/B3FJv2L4KnIiLlvtibPyO9UkgO3rzYE0HhpREo2vmJ1Ixq1zwm9/0er+3VOSZJA==} engines: {node: '>=12'} @@ -2222,6 +1996,7 @@ packages: /@jridgewell/resolve-uri@3.1.0: resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} + dev: false /@jridgewell/set-array@1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} @@ -2241,6 +2016,7 @@ packages: /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + dev: false /@jridgewell/trace-mapping@0.3.18: resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} @@ -2254,6 +2030,7 @@ packages: dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.15 + dev: false /@jsdevtools/ez-spawn@3.0.4: resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==} @@ -2351,7 +2128,7 @@ packages: npmlog: 5.0.1 rimraf: 3.0.2 semver: 7.5.4 - tar: 6.1.13 + tar: 6.2.0 transitivePeerDependencies: - encoding - supports-color @@ -2824,7 +2601,7 @@ packages: netlify: 13.1.11 netlify-headers-parser: 7.1.2 netlify-redirect-parser: 14.2.0 - node-fetch: 3.3.1 + node-fetch: 3.3.2 omit.js: 2.0.2 p-locate: 6.0.0 path-type: 5.0.0 @@ -2852,7 +2629,7 @@ packages: get-port: 6.1.2 is-path-inside: 4.0.0 jsonc-parser: 3.2.0 - node-fetch: 3.3.1 + node-fetch: 3.3.2 node-stream-zip: 1.15.0 p-retry: 5.1.1 p-wait-for: 4.1.0 @@ -3081,7 +2858,7 @@ packages: engines: {node: ^14.18.0 || >=16.0.0} hasBin: true dependencies: - '@babel/parser': 7.23.3 + '@babel/parser': 7.23.6 '@babel/types': 7.23.4 '@netlify/binary-info': 1.0.0 '@netlify/serverless-functions-api': 1.13.0 @@ -3096,7 +2873,7 @@ packages: filter-obj: 5.1.0 find-up: 6.3.0 glob: 8.0.3 - is-builtin-module: 3.2.0 + is-builtin-module: 3.2.1 is-path-inside: 4.0.0 junk: 4.0.0 locate-path: 7.2.0 @@ -3124,7 +2901,7 @@ packages: engines: {node: ^14.18.0 || >=16.0.0} hasBin: true dependencies: - '@babel/parser': 7.23.3 + '@babel/parser': 7.23.6 '@babel/types': 7.23.5 '@netlify/binary-info': 1.0.0 '@netlify/serverless-functions-api': 1.13.0 @@ -3139,7 +2916,7 @@ packages: filter-obj: 5.1.0 find-up: 6.3.0 glob: 8.0.3 - is-builtin-module: 3.2.0 + is-builtin-module: 3.2.1 is-path-inside: 4.0.0 junk: 4.0.0 locate-path: 7.2.0 @@ -4318,15 +4095,19 @@ packages: /@tsconfig/node10@1.0.9: resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} + dev: false /@tsconfig/node12@1.0.11: resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} + dev: false /@tsconfig/node14@1.0.3: resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} + dev: false /@tsconfig/node16@1.0.3: resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} + dev: false /@tufjs/canonical-json@2.0.0: resolution: {integrity: sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==} @@ -4947,11 +4728,7 @@ packages: resolution: {integrity: sha512-/zYUwiHD8j7gKx2argXEMCUXVST6q/21DFU0sTfNX0URJroCe3b1UF6vLJ3lQDfLNIiiRl2ONp7Nh5UVWS6QnA==} dev: false - /@vue/shared@3.3.8: - resolution: {integrity: sha512-8PGwybFwM4x8pcfgqEQFy70NaQxASvOC5DJwLQfpArw1UDfUXrJkdxD3BhVTMS+0Lef/TU7YO0Jvr0jJY8T+mw==} - dev: false - - /@vuepress/bundler-vite@2.0.0-rc.0(@types/node@20.9.1)(sass@1.69.5)(ts-node@10.9.2)(typescript@5.3.3): + /@vuepress/bundler-vite@2.0.0-rc.0(@types/node@20.9.1)(sass@1.69.5)(typescript@5.3.3): resolution: {integrity: sha512-rX8S8IYpqqlJfNPstS/joorpxXx/4WuE7+gDM31i2HUrxOKGZVzq8ZsRRRU2UdoTwHZSd3LpUS4sMtxE5xLK1A==} dependencies: '@vitejs/plugin-vue': 4.5.0(vite@5.0.10)(vue@3.3.13) @@ -4962,7 +4739,7 @@ packages: autoprefixer: 10.4.16(postcss@8.4.31) connect-history-api-fallback: 2.0.0 postcss: 8.4.31 - postcss-load-config: 4.0.1(postcss@8.4.31)(ts-node@10.9.2) + postcss-load-config: 4.0.1(postcss@8.4.31) rollup: 4.4.1 vite: 5.0.10(@types/node@20.9.1)(sass@1.69.5) vue: 3.3.13(typescript@5.3.3) @@ -5033,7 +4810,7 @@ packages: cac: 6.7.14 chokidar: 3.5.3 envinfo: 7.11.0 - esbuild: 0.19.5 + esbuild: 0.19.10 transitivePeerDependencies: - '@vue/composition-api' - supports-color @@ -5045,7 +4822,7 @@ packages: dependencies: '@vue/devtools-api': 6.5.1 '@vuepress/shared': 2.0.0-rc.0 - '@vueuse/core': 10.6.1(vue@3.3.13) + '@vueuse/core': 10.7.0(vue@3.3.13) vue: 3.3.13(typescript@5.3.3) vue-router: 4.2.5(vue@3.3.13) transitivePeerDependencies: @@ -5284,7 +5061,7 @@ packages: resolution: {integrity: sha512-ikdSfjRv5LGM1iv4HHwF9P6gqTjaFCXKPK+hzlkHFHNZO1GLqk7/BPc4F51tAG1s8TcLhUZc+54LrfgS7PkXXA==} dependencies: '@mdit-vue/types': 1.0.0 - '@vue/shared': 3.3.8 + '@vue/shared': 3.3.13 dev: false /@vuepress/utils@2.0.0-rc.0: @@ -5305,18 +5082,6 @@ packages: - supports-color dev: false - /@vueuse/core@10.6.1(vue@3.3.13): - resolution: {integrity: sha512-Pc26IJbqgC9VG1u6VY/xrXXfxD33hnvxBnKrLlA2LJlyHII+BSrRoTPJgGYq7qZOu61itITFUnm6QbacwZ4H8Q==} - dependencies: - '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 10.6.1 - '@vueuse/shared': 10.6.1(vue@3.3.13) - vue-demi: 0.14.6(vue@3.3.13) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - dev: false - /@vueuse/core@10.7.0(vue@3.3.13): resolution: {integrity: sha512-4EUDESCHtwu44ZWK3Gc/hZUVhVo/ysvdtwocB5vcauSV4B7NiGY5972WnsojB3vRNdxvAt7kzJWE2h9h7C9d5w==} dependencies: @@ -5329,23 +5094,10 @@ packages: - vue dev: false - /@vueuse/metadata@10.6.1: - resolution: {integrity: sha512-qhdwPI65Bgcj23e5lpGfQsxcy0bMjCAsUGoXkJ7DsoeDUdasbZ2DBa4dinFCOER3lF4gwUv+UD2AlA11zdzMFw==} - dev: false - /@vueuse/metadata@10.7.0: resolution: {integrity: sha512-GlaH7tKP2iBCZ3bHNZ6b0cl9g0CJK8lttkBNUX156gWvNYhTKEtbweWLm9rxCPIiwzYcr/5xML6T8ZUEt+DkvA==} dev: false - /@vueuse/shared@10.6.1(vue@3.3.13): - resolution: {integrity: sha512-TECVDTIedFlL0NUfHWncf3zF9Gc4VfdxfQc8JFwoVZQmxpONhLxFrlm0eHQeidHj4rdTPL3KXJa0TZCk1wnc5Q==} - dependencies: - vue-demi: 0.14.6(vue@3.3.13) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - dev: false - /@vueuse/shared@10.7.0(vue@3.3.13): resolution: {integrity: sha512-kc00uV6CiaTdc3i1CDC4a3lBxzaBE9AgYNtFN87B5OOscqeWElj/uza8qVDmk7/U8JbqoONLbtqiLJ5LGRuqlw==} dependencies: @@ -5461,16 +5213,6 @@ packages: '@xtuc/long': 4.2.2 dev: false - /@windicss/config@1.9.1: - resolution: {integrity: sha512-MjutTiS9XIteriwkH9D+que+bILbpulekYzjJGQDg3Sb2H87aOcO30f7N11ZiHF5OYoZn4yJz4lDbB3A6IuXfQ==} - dependencies: - debug: 4.3.4(supports-color@9.2.2) - jiti: 1.18.2 - windicss: 3.5.6 - transitivePeerDependencies: - - supports-color - dev: false - /@windicss/config@1.9.2: resolution: {integrity: sha512-5yOaarc7Yce08i3NCNRNMUb/tfmVcFo801UwgM27/dXWWfG30wuPONms8VrQurPZlcZTayPKX0svOx0doWdnPQ==} dependencies: @@ -5481,20 +5223,6 @@ packages: - supports-color dev: false - /@windicss/plugin-utils@1.9.1: - resolution: {integrity: sha512-sz/Z2sxUZIkJ2nVeTmtYTtXhWxe/yTTkM5nqU6eKhP0n6waipTCJJdLvWoZcgzQBbBCL/JLRQd/9BYsBqKuLDQ==} - dependencies: - '@antfu/utils': 0.7.2 - '@windicss/config': 1.9.1 - debug: 4.3.4(supports-color@9.2.2) - fast-glob: 3.3.2 - magic-string: 0.30.0 - micromatch: 4.0.5 - windicss: 3.5.6 - transitivePeerDependencies: - - supports-color - dev: false - /@windicss/plugin-utils@1.9.2: resolution: {integrity: sha512-P019ZVYJSBVzMBhYSzcMIWpMjZZWEynF4s7oXgP9+5msH4/Ek55erFXY6r+e3sysBFohnIr3hosQ5dp9FMG16Q==} dependencies: @@ -5644,6 +5372,7 @@ packages: /acorn-walk@8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} + dev: false /acorn@8.10.0: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} @@ -5878,20 +5607,12 @@ packages: entities: 2.2.0 dev: false - /anymatch@3.1.2: - resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==} - engines: {node: '>= 8'} - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - /anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} dependencies: normalize-path: 3.0.0 picomatch: 2.3.1 - dev: false /anywhere@1.6.0: resolution: {integrity: sha512-X+MpvNGoZNAFsQkyvgBcCdAoz8yHULnW5gfmNrjkGXr6VrtWxsCSlT3bAbbmAE2/umhU9TMF2ffRBL/H2hHvzA==} @@ -5962,6 +5683,7 @@ packages: /arg@4.1.3: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + dev: false /arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -6524,7 +6246,7 @@ packages: promise-inflight: 1.0.1 rimraf: 3.0.2 ssri: 9.0.1 - tar: 6.1.13 + tar: 6.2.0 unique-filename: 2.0.1 transitivePeerDependencies: - bluebird @@ -6700,7 +6422,7 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} dependencies: - anymatch: 3.1.2 + anymatch: 3.1.3 braces: 3.0.2 glob-parent: 5.1.2 is-binary-path: 2.1.0 @@ -7671,6 +7393,7 @@ packages: /create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + dev: false /cron-parser@4.8.1: resolution: {integrity: sha512-jbokKWGcyU4gl6jAfX97E1gDpY12DJ1cLJZmoDzaAln/shZ+S3KBFBuA2Q6WeUN4gJf/8klnV1EfvhA2lK5IRQ==} @@ -8090,8 +7813,8 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dependencies: is-url: 1.2.4 - postcss: 8.4.31 - postcss-values-parser: 6.0.2(postcss@8.4.31) + postcss: 8.4.32 + postcss-values-parser: 6.0.2(postcss@8.4.32) dev: false /detective-sass@5.0.0: @@ -8137,6 +7860,7 @@ packages: /diff@4.0.2: resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} engines: {node: '>=0.3.1'} + dev: false /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} @@ -8510,36 +8234,6 @@ packages: '@esbuild/win32-ia32': 0.19.10 '@esbuild/win32-x64': 0.19.10 - /esbuild@0.19.5: - resolution: {integrity: sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.19.5 - '@esbuild/android-arm64': 0.19.5 - '@esbuild/android-x64': 0.19.5 - '@esbuild/darwin-arm64': 0.19.5 - '@esbuild/darwin-x64': 0.19.5 - '@esbuild/freebsd-arm64': 0.19.5 - '@esbuild/freebsd-x64': 0.19.5 - '@esbuild/linux-arm': 0.19.5 - '@esbuild/linux-arm64': 0.19.5 - '@esbuild/linux-ia32': 0.19.5 - '@esbuild/linux-loong64': 0.19.5 - '@esbuild/linux-mips64el': 0.19.5 - '@esbuild/linux-ppc64': 0.19.5 - '@esbuild/linux-riscv64': 0.19.5 - '@esbuild/linux-s390x': 0.19.5 - '@esbuild/linux-x64': 0.19.5 - '@esbuild/netbsd-x64': 0.19.5 - '@esbuild/openbsd-x64': 0.19.5 - '@esbuild/sunos-x64': 0.19.5 - '@esbuild/win32-arm64': 0.19.5 - '@esbuild/win32-ia32': 0.19.5 - '@esbuild/win32-x64': 0.19.5 - dev: false - /esbuild@0.19.6: resolution: {integrity: sha512-Xl7dntjA2OEIvpr9j0DVxxnog2fyTGnyVoQXAMQI6eR3mf9zCQds7VIKUDCotDgE/p4ncTgeRqgX8t5d6oP4Gw==} engines: {node: '>=12'} @@ -9716,7 +9410,6 @@ packages: /function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - dev: true /function.prototype.name@1.1.6: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} @@ -9877,7 +9570,7 @@ packages: engines: {node: ^14.18.0 || ^16.13.0 || >=18.0.0} dependencies: '@xhmikosr/downloader': 13.0.1 - node-fetch: 3.3.1 + node-fetch: 3.3.2 semver: 7.5.4 dev: false @@ -10323,7 +10016,6 @@ packages: engines: {node: '>= 0.4'} dependencies: function-bind: 1.1.2 - dev: true /he@1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} @@ -10933,19 +10625,11 @@ packages: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} dev: false - /is-builtin-module@3.2.0: - resolution: {integrity: sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==} - engines: {node: '>=6'} - dependencies: - builtin-modules: 3.3.0 - dev: false - /is-builtin-module@3.2.1: resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} engines: {node: '>=6'} dependencies: builtin-modules: 3.3.0 - dev: true /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} @@ -10968,12 +10652,12 @@ packages: resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} dependencies: has: 1.0.3 + dev: true /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: hasown: 2.0.0 - dev: true /is-data-descriptor@0.1.4: resolution: {integrity: sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==} @@ -11361,11 +11045,6 @@ packages: supports-color: 8.1.1 dev: false - /jiti@1.18.2: - resolution: {integrity: sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==} - hasBin: true - dev: false - /jiti@1.20.0: resolution: {integrity: sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==} hasBin: true @@ -12046,13 +11725,6 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: false - /magic-string@0.30.0: - resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 - dev: false - /magic-string@0.30.5: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} @@ -12076,6 +11748,7 @@ packages: /make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + dev: false /make-fetch-happen@10.2.1: resolution: {integrity: sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==} @@ -12505,6 +12178,7 @@ packages: /minipass@4.2.7: resolution: {integrity: sha512-ScVIgqHcXRMyfflqHmEW0bm8z8rb5McHyOY3ewX9JBgZaR77G7nxq9L/mtV96/QbAAwtbCAHVVLzD1kkyfFQEw==} engines: {node: '>=8'} + dev: true /minipass@5.0.0: resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} @@ -12634,12 +12308,6 @@ packages: dev: false optional: true - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: false - /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -12868,7 +12536,7 @@ packages: '@netlify/open-api': 2.26.0 lodash-es: 4.17.21 micro-api-client: 3.3.0 - node-fetch: 3.3.1 + node-fetch: 3.3.2 omit.js: 2.0.2 p-wait-for: 4.1.0 qs: 6.11.0 @@ -12916,15 +12584,6 @@ packages: whatwg-url: 5.0.0 dev: false - /node-fetch@3.3.1: - resolution: {integrity: sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - data-uri-to-buffer: 4.0.0 - fetch-blob: 3.2.0 - formdata-polyfill: 4.0.10 - dev: false - /node-fetch@3.3.2: resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -12976,7 +12635,7 @@ packages: resolution: {integrity: sha512-QUlkJYzrNewUCp4c7CCPN8Mh8c+pwNs23JsQfHKUwIkCxYa6c0AFLuUJIZxU6BdnarfytPSGKm1YMAz06hj9cw==} engines: {node: '>=14'} dependencies: - '@babel/parser': 7.23.3 + '@babel/parser': 7.23.6 dev: false /node-stream-zip@1.15.0: @@ -13037,7 +12696,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.2 + resolve: 1.22.8 semver: 5.7.1 validate-npm-package-license: 3.0.4 @@ -13800,10 +13459,6 @@ packages: engines: {node: '>=12'} dev: false - /pathe@1.1.0: - resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} - dev: false - /pathe@1.1.1: resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} @@ -13920,7 +13575,7 @@ packages: postcss: 8.4.31 dev: false - /postcss-load-config@4.0.1(postcss@8.4.31)(ts-node@10.9.2): + /postcss-load-config@4.0.1(postcss@8.4.31): resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} engines: {node: '>= 14'} peerDependencies: @@ -13934,7 +13589,6 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.31 - ts-node: 10.9.2(@types/node@20.9.1)(typescript@5.3.3) yaml: 2.3.4 dev: false @@ -14021,7 +13675,7 @@ packages: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} dev: false - /postcss-values-parser@6.0.2(postcss@8.4.31): + /postcss-values-parser@6.0.2(postcss@8.4.32): resolution: {integrity: sha512-YLJpK0N1brcNJrs9WatuJFtHaV9q5aAOj+S4DI5S7jgHlRfm0PIbDCAFRYMQD5SHq7Fy6xsDhyutgS0QOAs0qw==} engines: {node: '>=10'} peerDependencies: @@ -14032,7 +13686,7 @@ packages: dependencies: color-name: 1.1.4 is-url-superb: 4.0.0 - postcss: 8.4.31 + postcss: 8.4.32 quote-unquote: 1.0.0 dev: false @@ -14040,7 +13694,7 @@ packages: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.6 + nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 dev: false @@ -14644,7 +14298,7 @@ packages: dependencies: debug: 4.3.4(supports-color@9.2.2) module-details-from-path: 1.0.3 - resolve: 1.22.2 + resolve: 1.22.8 transitivePeerDependencies: - supports-color dev: false @@ -14707,13 +14361,12 @@ packages: is-core-module: 2.13.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: true /resolve@2.0.0-next.4: resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} hasBin: true dependencies: - is-core-module: 2.13.0 + is-core-module: 2.13.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: false @@ -15883,6 +15536,7 @@ packages: minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 + dev: true /tar@6.2.0: resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} @@ -15894,7 +15548,6 @@ packages: minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 - dev: true /taze@0.13.0: resolution: {integrity: sha512-o17Y6miF+44sDJ7haRHTqZefTlGOaBSdDHRwRcrt+s3WeGSPBUtPSG18XNwToIXN//eh58hyYnyDwTnpYLp4sg==} @@ -16223,36 +15876,6 @@ packages: yn: 3.1.1 dev: false - /ts-node@10.9.2(@types/node@20.9.1)(typescript@5.3.3): - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.3 - '@types/node': 20.9.1 - acorn: 8.10.0 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.3.3 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - /tsconfig-paths@3.15.0: resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} dependencies: @@ -16739,6 +16362,7 @@ packages: /v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + dev: false /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -17414,12 +17038,12 @@ packages: /windicss-webpack-plugin@1.8.0: resolution: {integrity: sha512-zCzNLJ4hjgl5A2+mq8XlPtbvM5RONNz/ol93YG9tcMSn+aH/6Ll/lA5UDnVJluBr8b2Ch5C/GIqXcIMGG8mmdA==} dependencies: - '@windicss/plugin-utils': 1.9.1 + '@windicss/plugin-utils': 1.9.2 debug: 4.3.4(supports-color@9.2.2) get-port: 6.1.2 loader-utils: 2.0.4 lodash: 4.17.21 - pathe: 1.1.0 + pathe: 1.1.1 webpack-virtual-modules: 0.5.0 windicss: 3.5.6 transitivePeerDependencies: @@ -17681,6 +17305,7 @@ packages: /yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'} + dev: false /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 196993a9..012a5c0f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ packages: - docs - - packages/* + - theme + - plugins/* diff --git a/readme.md b/readme.md index b9015948..e04533eb 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -## @vuepress-plume/vuepress-theme-plume +## vuepress-theme-plume 一个简约的 vuepress 主题。 @@ -12,14 +12,14 @@ ## Install ``` sh -yarn add vuepress@next @vuepress-plume/vuepress-theme-plume +yarn add vuepress@next vuepress-theme-plume ``` ## Usage ``` ts import { defineUserConfig } from 'vuepress' -import { plumeTheme } from '@vuepress-plume/vuepress-theme-plume' +import { plumeTheme } from 'vuepress-theme-plume' export default defineUserConfig({ theme: plumeTheme({ // theme config @@ -48,10 +48,10 @@ __options__ : `PlumeThemeOptions` ## 内置插件 -- [plugin-caniuse](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/packages/plugin-caniuse) 在文档中使用 caniuse 提供的 web feature support list -- [plugin-auto-frontmatter](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/packages/plugin-auto-frontmatter) 在 md 文件中根据匹配规则自动生成 frontmatter -- [plugin-notes-data](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/packages/plugin-notes-data) 根据规则,将 md文件归类为 note,并生成 sidebar -- [plugin-blog-data](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/packages/plugin-blog-data) 根据规则,将md文件归类为 blog post,并生成 post list +- [plugin-caniuse](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/plugins/plugin-caniuse) 在文档中使用 caniuse 提供的 web feature support list +- [plugin-auto-frontmatter](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/plugins/plugin-auto-frontmatter) 在 md 文件中根据匹配规则自动生成 frontmatter +- [plugin-notes-data](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/plugins/plugin-notes-data) 根据规则,将 md文件归类为 note,并生成 sidebar +- [plugin-blog-data](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/plugins/plugin-blog-data) 根据规则,将md文件归类为 blog post,并生成 post list - [vuepress-plugin-mdEnhance](https://vuepress-theme-hope.github.io/v2/md-enhance/zh/) 增强markdown功能插件 - [vuepress-plugin-comment](https://vuepress-theme-hope.github.io/v2/comment/zh/) 文章评论插件,支持 "giscus" | "twikoo" | "waline" - [vuepress-plugin-copy-code](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/packages/plugin-copy-code) 文章内代码块复制插件 @@ -65,7 +65,7 @@ __options__ : `PlumeThemeOptions` ## 非内置插件 -- [vuepress-plugin-netlify-functions](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/packages/plugin-netlify-functions) 当站点部署在 netlify 时,希望使用 netlify functions 可选择此插件提供支持 +- [vuepress-plugin-netlify-functions](https://github.com/pengzhanbo/vuepress-theme-plume/tree/main/plugins/plugin-netlify-functions) 当站点部署在 netlify 时,希望使用 netlify functions 可选择此插件提供支持 ### 注意 本主题基于 `VuePress2` ,仍处于 Beta 阶段。 diff --git a/scripts/create/template/README.md.tpl b/scripts/create/template/README.md.tpl index 09c05f20..4c2c83fe 100644 --- a/scripts/create/template/README.md.tpl +++ b/scripts/create/template/README.md.tpl @@ -1,13 +1,13 @@ -# `@vuepress-plume/vuepress-{{ pkgName }}` +# `@vuepress-plume/{{ pkgName }}` ## Install ``` -yarn add @vuepress-plume/vuepress-{{ pkgName }} +yarn add @vuepress-plume/{{ pkgName }} ``` ## Usage ``` js // .vuepress/config.js -const {{ lowerName }}Plugin = require('@vuepress-plume/vuepress-{{ pkgName }}') +const {{ lowerName }}Plugin = require('@vuepress-plume/{{ pkgName }}') module.exports = { //... plugins: [ diff --git a/scripts/create/template/package.json.tpl b/scripts/create/template/package.json.tpl index d7beed33..ea1e0361 100644 --- a/scripts/create/template/package.json.tpl +++ b/scripts/create/template/package.json.tpl @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-{{ pkgName }}", + "name": "@vuepress-plume/{{ pkgName }}", "version": "{{ version }}", "description": "The Plugin for VuePres 2", "keyword": [ diff --git a/scripts/create/template/src/node/plugin.ts.tpl b/scripts/create/template/src/node/plugin.ts.tpl index 7c533057..5561d9e2 100644 --- a/scripts/create/template/src/node/plugin.ts.tpl +++ b/scripts/create/template/src/node/plugin.ts.tpl @@ -14,7 +14,7 @@ export interface {{ upperName }}Options { export const {{ lowerName }}Plugin = (options: {{ upperName }}Options): Plugin => { return (app: App) => { return { - name: '@vuepress-plume/vuepress-{{ pkgName }}', + name: '@vuepress-plume/{{ pkgName }}', {{#if client}} clientConfigFile: path.resolve(__dirname, '../client/clientConfig.js'), {{/if}} diff --git a/packages/theme/README.md b/theme/README.md similarity index 62% rename from packages/theme/README.md rename to theme/README.md index cbd94ed7..01977b48 100644 --- a/packages/theme/README.md +++ b/theme/README.md @@ -1,4 +1,4 @@ -# `@vuepress-plume/vuepress-theme-plume` +# `vuepress-theme-plume` 一款基于 VuePress@2 的博客皮肤。 @@ -7,9 +7,9 @@ ## Install ``` sh # use yarn -yarn add @vuepress-plume/vuepress-theme-plume +yarn add vuepress-theme-plume # or npm -npm i @vuepress-plume/vuepress-theme-plume +npm i vuepress-theme-plume ``` ## Usage @@ -17,7 +17,7 @@ npm i @vuepress-plume/vuepress-theme-plume ``` js // .vuepress/config.ts import { defineUserConfig } from 'vuepress' -import { plumeTheme } from '@vuepress-plume/vuepress-theme-plume' +import { plumeTheme } from 'vuepress-theme-plume' export default defineUserConfig({ theme: plumeTheme({ diff --git a/packages/theme/package.json b/theme/package.json similarity index 83% rename from packages/theme/package.json rename to theme/package.json index 2c88db4a..15276340 100644 --- a/packages/theme/package.json +++ b/theme/package.json @@ -1,5 +1,5 @@ { - "name": "@vuepress-plume/vuepress-theme-plume", + "name": "vuepress-theme-plume", "version": "1.0.0-beta.89", "description": "A Blog Theme for VuePress 2.0", "keywords": [ @@ -43,13 +43,13 @@ "ts:watch": "tsc -b tsconfig.build.json --watch" }, "dependencies": { - "@vuepress-plume/vuepress-plugin-auto-frontmatter": "workspace:*", - "@vuepress-plume/vuepress-plugin-baidu-tongji": "workspace:*", - "@vuepress-plume/vuepress-plugin-blog-data": "workspace:*", - "@vuepress-plume/vuepress-plugin-caniuse": "workspace:*", - "@vuepress-plume/vuepress-plugin-copy-code": "workspace:*", - "@vuepress-plume/vuepress-plugin-iconify": "workspace:*", - "@vuepress-plume/vuepress-plugin-notes-data": "workspace:*", + "@vuepress-plume/plugin-auto-frontmatter": "workspace:*", + "@vuepress-plume/plugin-baidu-tongji": "workspace:*", + "@vuepress-plume/plugin-blog-data": "workspace:*", + "@vuepress-plume/plugin-caniuse": "workspace:*", + "@vuepress-plume/plugin-copy-code": "workspace:*", + "@vuepress-plume/plugin-iconify": "workspace:*", + "@vuepress-plume/plugin-notes-data": "workspace:*", "@vuepress/client": "2.0.0-rc.0", "@vuepress/core": "2.0.0-rc.0", "@vuepress/plugin-active-header-links": "2.0.0-rc.0", diff --git a/packages/theme/src/client/components/AutoLink.vue b/theme/src/client/components/AutoLink.vue similarity index 100% rename from packages/theme/src/client/components/AutoLink.vue rename to theme/src/client/components/AutoLink.vue diff --git a/packages/theme/src/client/components/Backdrop.vue b/theme/src/client/components/Backdrop.vue similarity index 100% rename from packages/theme/src/client/components/Backdrop.vue rename to theme/src/client/components/Backdrop.vue diff --git a/packages/theme/src/client/components/Blog.vue b/theme/src/client/components/Blog.vue similarity index 100% rename from packages/theme/src/client/components/Blog.vue rename to theme/src/client/components/Blog.vue diff --git a/packages/theme/src/client/components/BlogAvatar.vue b/theme/src/client/components/BlogAvatar.vue similarity index 100% rename from packages/theme/src/client/components/BlogAvatar.vue rename to theme/src/client/components/BlogAvatar.vue diff --git a/packages/theme/src/client/components/DocOutlineItem.vue b/theme/src/client/components/DocOutlineItem.vue similarity index 100% rename from packages/theme/src/client/components/DocOutlineItem.vue rename to theme/src/client/components/DocOutlineItem.vue diff --git a/packages/theme/src/client/components/Flyout/MenuGroup.vue b/theme/src/client/components/Flyout/MenuGroup.vue similarity index 100% rename from packages/theme/src/client/components/Flyout/MenuGroup.vue rename to theme/src/client/components/Flyout/MenuGroup.vue diff --git a/packages/theme/src/client/components/Flyout/MenuLink.vue b/theme/src/client/components/Flyout/MenuLink.vue similarity index 100% rename from packages/theme/src/client/components/Flyout/MenuLink.vue rename to theme/src/client/components/Flyout/MenuLink.vue diff --git a/packages/theme/src/client/components/Flyout/VMenu.vue b/theme/src/client/components/Flyout/VMenu.vue similarity index 100% rename from packages/theme/src/client/components/Flyout/VMenu.vue rename to theme/src/client/components/Flyout/VMenu.vue diff --git a/packages/theme/src/client/components/Flyout/index.vue b/theme/src/client/components/Flyout/index.vue similarity index 100% rename from packages/theme/src/client/components/Flyout/index.vue rename to theme/src/client/components/Flyout/index.vue diff --git a/packages/theme/src/client/components/Home.vue b/theme/src/client/components/Home.vue similarity index 100% rename from packages/theme/src/client/components/Home.vue rename to theme/src/client/components/Home.vue diff --git a/packages/theme/src/client/components/LayoutContent.vue b/theme/src/client/components/LayoutContent.vue similarity index 100% rename from packages/theme/src/client/components/LayoutContent.vue rename to theme/src/client/components/LayoutContent.vue diff --git a/packages/theme/src/client/components/LocalNav.vue b/theme/src/client/components/LocalNav.vue similarity index 100% rename from packages/theme/src/client/components/LocalNav.vue rename to theme/src/client/components/LocalNav.vue diff --git a/packages/theme/src/client/components/LocalNavOutlineDropdown.vue b/theme/src/client/components/LocalNavOutlineDropdown.vue similarity index 98% rename from packages/theme/src/client/components/LocalNavOutlineDropdown.vue rename to theme/src/client/components/LocalNavOutlineDropdown.vue index 765cead7..d5c60f6e 100644 --- a/packages/theme/src/client/components/LocalNavOutlineDropdown.vue +++ b/theme/src/client/components/LocalNavOutlineDropdown.vue @@ -51,7 +51,7 @@ function scrollToTop() {