diff --git a/CHANGELOG.md b/CHANGELOG.md index e69d448a0..493ce09e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# [1.0.0-rc.170](https://github.com/pengzhanbo/vuepress-theme-plume/compare/v1.0.0-rc.169...v1.0.0-rc.170) (2025-10-12) + + +### Bug Fixes + +* **theme:** fix page transition flickering ([#717](https://github.com/pengzhanbo/vuepress-theme-plume/issues/717)) ([8cec3f2](https://github.com/pengzhanbo/vuepress-theme-plume/commit/8cec3f23e4765560424b160ac17891098c8ee97a)) +* **theme:** incorrect sidebar link prefix, close [#714](https://github.com/pengzhanbo/vuepress-theme-plume/issues/714), [#710](https://github.com/pengzhanbo/vuepress-theme-plume/issues/710) ([#715](https://github.com/pengzhanbo/vuepress-theme-plume/issues/715)) ([3a07f59](https://github.com/pengzhanbo/vuepress-theme-plume/commit/3a07f590cbed071eaaea6f99703e1791a1794550)) +* **theme:** optimize post category styles ([338ca4a](https://github.com/pengzhanbo/vuepress-theme-plume/commit/338ca4ad7c3479a4821f53771e485faaecc0d075)) + + + # [1.0.0-rc.169](https://github.com/pengzhanbo/vuepress-theme-plume/compare/v1.0.0-rc.168...v1.0.0-rc.169) (2025-10-09) diff --git a/cli/package.json b/cli/package.json index 569b689d1..9bb27400f 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,7 +1,7 @@ { "name": "create-vuepress-theme-plume", "type": "module", - "version": "1.0.0-rc.169", + "version": "1.0.0-rc.170", "description": "The cli for create vuepress-theme-plume's project", "author": "pengzhanbo (https://github.com/pengzhanbo/)", "license": "MIT", diff --git a/docs/lunaria.config.json b/docs/lunaria.config.json new file mode 100644 index 000000000..7d14b6b40 --- /dev/null +++ b/docs/lunaria.config.json @@ -0,0 +1,31 @@ +{ + "$schema": "./node_modules/@lunariajs/core/config.schema.json", + "repository": { + "name": "pengzhanbo/vuepress-theme-plume", + "rootDir": "docs" + }, + "files": [ + { + "location": "**/*.md", + "pattern": "@lang/@path", + "type": "universal", + "ignore": [".vuepress/**", "./snippet/**", "node_modules", "**/*.snippet.md"] + } + ], + "defaultLocale": { + "label": "简体中文", + "lang": "zh" + }, + "locales": [ + { + "label": "简体中文", + "lang": "zh" + }, + { + "label": "English", + "lang": "en" + } + ], + "outDir": ".vuepress/dist/_translations", + "ignoreKeywords": ["lunaria-ignore"] +} diff --git a/docs/package.json b/docs/package.json index 09dccaefb..c5f5b52c9 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,16 +3,19 @@ "type": "module", "private": true, "scripts": { - "docs:build": "vuepress build --clean-cache --clean-temp", + "docs:build": "vuepress build --clean-cache --clean-temp && pnpm lunaria:build", "docs:clean": "rimraf .vuepress/.temp .vuepress/.cache .vuepress/dist", "docs:dev": "vuepress dev", - "docs:serve": "http-server .vuepress/dist -d 0" + "docs:serve": "http-server .vuepress/dist -d 0", + "lunaria:build": "lunaria build", + "lunaria:preview": "lunaria preview" }, "peerDependencies": { "vuepress": "catalog:vuepress" }, "dependencies": { "@iconify/json": "catalog:peer", + "@lunariajs/core": "catalog:dev", "@simonwep/pickr": "catalog:dev", "@vuepress/bundler-vite": "catalog:vuepress", "@vuepress/plugin-llms": "catalog:vuepress", diff --git a/docs/sponsor.md b/docs/sponsor.md index 9c5137fe9..5f3510707 100644 --- a/docs/sponsor.md +++ b/docs/sponsor.md @@ -86,6 +86,8 @@ search: false | G*k | 2025-08-21 | 20.00 | 请你喝一杯咖啡 | | g*y | 2025-09-09 | 20.00 | 用过的最棒的博客系统!作者也很积极耐心的解答问题 | | *士 | 2025-09-30 | 30.00 | 感谢大佬制作的漂亮好用的主题!希望 plume 越来越好 | +| N*~ | 2025-10-12 | 27.00 | 一杯奶茶~ | +| r*7 | 2025-10-12 | 10.00 | 秋天的第一杯🧋 | diff --git a/package.json b/package.json index 48ef17002..4a5bf48a2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vuepress-theme-plume-monorepo", "type": "module", - "version": "1.0.0-rc.169", + "version": "1.0.0-rc.170", "private": true, "packageManager": "pnpm@10.18.1", "author": "pengzhanbo (https://github.com/pengzhanbo/)", diff --git a/plugins/plugin-fonts/package.json b/plugins/plugin-fonts/package.json index a3f94293a..40bebec7d 100644 --- a/plugins/plugin-fonts/package.json +++ b/plugins/plugin-fonts/package.json @@ -1,7 +1,7 @@ { "name": "@vuepress-plume/plugin-fonts", "type": "module", - "version": "1.0.0-rc.169", + "version": "1.0.0-rc.170", "description": "The Plugin for VuePress 2 - fonts", "author": "pengzhanbo ", "license": "MIT", diff --git a/plugins/plugin-md-power/package.json b/plugins/plugin-md-power/package.json index 474d9ed4e..b0e98a4b6 100644 --- a/plugins/plugin-md-power/package.json +++ b/plugins/plugin-md-power/package.json @@ -1,7 +1,7 @@ { "name": "vuepress-plugin-md-power", "type": "module", - "version": "1.0.0-rc.169", + "version": "1.0.0-rc.170", "description": "The Plugin for VuePress 2 - markdown power", "author": "pengzhanbo ", "license": "MIT", diff --git a/plugins/plugin-search/package.json b/plugins/plugin-search/package.json index 7a44b3415..06be71906 100644 --- a/plugins/plugin-search/package.json +++ b/plugins/plugin-search/package.json @@ -1,7 +1,7 @@ { "name": "@vuepress-plume/plugin-search", "type": "module", - "version": "1.0.0-rc.169", + "version": "1.0.0-rc.170", "description": "The Plugin for VuePress 2 - local search", "author": "pengzhanbo ", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 914499e49..71b0a6deb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,6 +12,9 @@ catalogs: '@commitlint/config-conventional': specifier: ^20.0.0 version: 20.0.0 + '@lunariajs/core': + specifier: ^0.1.1 + version: 0.1.1 '@pengzhanbo/eslint-config-vue': specifier: ^1.38.0 version: 1.38.0 @@ -520,6 +523,9 @@ importers: '@iconify/json': specifier: catalog:peer version: 2.2.393 + '@lunariajs/core': + specifier: catalog:dev + version: 0.1.1 '@simonwep/pickr': specifier: catalog:dev version: 1.9.1 @@ -1074,6 +1080,9 @@ packages: '@chevrotain/utils@11.0.3': resolution: {integrity: sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==} + '@clack/core@0.3.5': + resolution: {integrity: sha512-5cfhQNH+1VQ2xLQlmzXMqUoiaH0lRBq9/CLW9lTyMbuKLC3+xEK01tHVvyut++mLOn5urSHmkm6I0Lg9MaJSTQ==} + '@clack/core@0.5.0': resolution: {integrity: sha512-p3y0FIOwaYRUPRcMO7+dlmLh8PSRcrjuTndsiA0WAFbWES0mLZlrjVoBRZ9DzkPFJZG6KGkJmoEAY0ZcVWTkow==} @@ -1615,12 +1624,23 @@ packages: '@kurkle/color@0.3.4': resolution: {integrity: sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==} + '@kwsites/file-exists@1.1.1': + resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==} + + '@kwsites/promise-deferred@1.1.1': + resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} + '@lit-labs/ssr-dom-shim@1.4.0': resolution: {integrity: sha512-ficsEARKnmmW5njugNYKipTm4SFnbik7CXtoencDZzmzo/dQ+2Q0bgkzJuoJP20Aj0F+izzJjOqsnkd6F/o1bw==} '@lit/reactive-element@2.1.1': resolution: {integrity: sha512-N+dm5PAYdQ8e6UlywyyrgI2t++wFGXfHx+dSJ1oBrg6FAxUj40jId++EaRm80MKX5JnlH1sBsyZ5h0bcZKemCg==} + '@lunariajs/core@0.1.1': + resolution: {integrity: sha512-sAqM9+DVsLe3xHM9wu2pEnKGYMs/bWS9qpR+CGHol3RihOELnOQTzHddXbdB1MtgesbI8dnQuG64Ocd8KkWsng==} + engines: {node: '>=18.17.0'} + hasBin: true + '@mdit-vue/plugin-component@2.1.4': resolution: {integrity: sha512-fiLbwcaE6gZE4c8Mkdkc4X38ltXh/EdnuPE1hepFT2dLiW6I4X8ho2Wq7nhYuT8RmV4OKlCFENwCuXlKcpV/sw==} @@ -4533,6 +4553,10 @@ packages: resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} engines: {node: '>= 0.4'} + get-port@7.1.0: + resolution: {integrity: sha512-QB9NKEeDg3xxVwCCwJQ9+xycaz6pBB6iQ76wiWMl1927n0Kir6alPiP+yuiICLLU4jpMe08dXfpebuQppFA2zw==} + engines: {node: '>=16'} + get-proto@1.0.1: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} @@ -5105,6 +5129,10 @@ packages: resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==} engines: {node: 20 || >=22} + jiti@1.21.7: + resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} + hasBin: true + jiti@2.5.1: resolution: {integrity: sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==} hasBin: true @@ -5933,6 +5961,9 @@ packages: resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} engines: {node: 20 || >=22} + path-to-regexp@6.3.0: + resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} + path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -6513,6 +6544,9 @@ packages: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + simple-git@3.28.0: + resolution: {integrity: sha512-Rs/vQRwsn1ILH1oBUy8NucJlXmnnLeLCfcvbSehkPzbv3wwoFWIdtfd6Ndo6ZPhlPsCZ60CPI4rxurnwAa+a2w==} + sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -6996,6 +7030,9 @@ packages: engines: {node: '>=0.8.0'} hasBin: true + ultramatter@0.0.4: + resolution: {integrity: sha512-1f/hO3mR+/Hgue4eInOF/Qm/wzDqwhYha4DxM0hre9YIUyso3fE2XtrAU6B4njLqTC8CM49EZaYgsVSa+dXHGw==} + unbox-primitive@1.1.0: resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==} engines: {node: '>= 0.4'} @@ -7412,6 +7449,9 @@ packages: resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==} engines: {node: '>=12.20'} + zod@3.25.76: + resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + zrender@6.0.0: resolution: {integrity: sha512-41dFXEEXuJpNecuUQq6JlbybmnHaqqpGlbH1yxnA5V9MMP4SbohSVZsJIwz+zdjQXSSlR1Vc34EgH1zxyTDvhg==} @@ -7686,6 +7726,11 @@ snapshots: '@chevrotain/utils@11.0.3': {} + '@clack/core@0.3.5': + dependencies: + picocolors: 1.1.1 + sisteransi: 1.0.5 + '@clack/core@0.5.0': dependencies: picocolors: 1.1.1 @@ -8241,12 +8286,35 @@ snapshots: '@kurkle/color@0.3.4': {} + '@kwsites/file-exists@1.1.1': + dependencies: + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + '@kwsites/promise-deferred@1.1.1': {} + '@lit-labs/ssr-dom-shim@1.4.0': {} '@lit/reactive-element@2.1.1': dependencies: '@lit-labs/ssr-dom-shim': 1.4.0 + '@lunariajs/core@0.1.1': + dependencies: + '@clack/core': 0.3.5 + fast-glob: 3.3.3 + get-port: 7.1.0 + jiti: 1.21.7 + micromatch: 4.0.8 + path-to-regexp: 6.3.0 + picocolors: 1.1.1 + simple-git: 3.28.0 + ultramatter: 0.0.4 + zod: 3.25.76 + transitivePeerDependencies: + - supports-color + '@mdit-vue/plugin-component@2.1.4': dependencies: '@types/markdown-it': 14.1.2 @@ -11623,6 +11691,8 @@ snapshots: hasown: 2.0.2 math-intrinsics: 1.1.0 + get-port@7.1.0: {} + get-proto@1.0.1: dependencies: dunder-proto: 1.0.1 @@ -12257,6 +12327,8 @@ snapshots: dependencies: '@isaacs/cliui': 8.0.2 + jiti@1.21.7: {} + jiti@2.5.1: {} joi@18.0.1: @@ -13311,6 +13383,8 @@ snapshots: lru-cache: 11.2.1 minipass: 7.1.2 + path-to-regexp@6.3.0: {} + path-type@4.0.0: {} path-type@6.0.0: {} @@ -13937,6 +14011,14 @@ snapshots: signal-exit@4.1.0: {} + simple-git@3.28.0: + dependencies: + '@kwsites/file-exists': 1.1.1 + '@kwsites/promise-deferred': 1.1.1 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + sisteransi@1.0.5: {} sitemap@8.0.0: @@ -14443,6 +14525,8 @@ snapshots: uglify-js@3.19.3: optional: true + ultramatter@0.0.4: {} + unbox-primitive@1.1.0: dependencies: call-bound: 1.0.4 @@ -14883,6 +14967,8 @@ snapshots: yocto-queue@1.2.1: {} + zod@3.25.76: {} + zrender@6.0.0: dependencies: tslib: 2.3.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 9a4ab565a..cfc63427c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -18,6 +18,7 @@ catalogs: dev: '@commitlint/cli': ^20.1.0 '@commitlint/config-conventional': ^20.0.0 + '@lunariajs/core': ^0.1.1 '@pengzhanbo/eslint-config-vue': ^1.38.0 '@pengzhanbo/stylelint-config': ^1.38.0 '@simonwep/pickr': ^1.9.1 diff --git a/theme/package.json b/theme/package.json index f3ebfce81..044acdf1f 100644 --- a/theme/package.json +++ b/theme/package.json @@ -1,7 +1,7 @@ { "name": "vuepress-theme-plume", "type": "module", - "version": "1.0.0-rc.169", + "version": "1.0.0-rc.170", "description": "A Blog&Document Theme for VuePress 2.0", "author": "pengzhanbo (https://github.com/pengzhanbo/)", "license": "MIT", diff --git a/theme/src/client/components/Posts/VPPostsCategories.vue b/theme/src/client/components/Posts/VPPostsCategories.vue index 4b47cc745..ccf706e98 100644 --- a/theme/src/client/components/Posts/VPPostsCategories.vue +++ b/theme/src/client/components/Posts/VPPostsCategories.vue @@ -7,7 +7,7 @@ const { categories } = usePostsCategory() diff --git a/theme/src/client/components/VPSwitchAppearance.vue b/theme/src/client/components/VPSwitchAppearance.vue index ff2c21630..a52eeebe4 100644 --- a/theme/src/client/components/VPSwitchAppearance.vue +++ b/theme/src/client/components/VPSwitchAppearance.vue @@ -71,6 +71,7 @@ const toggleAppearance = inject('toggle-appearance', async ({ clientX: x, client { duration, easing: 'ease-in', + fill: 'forwards', pseudoElement: `::view-transition-${isDark.value ? 'old' : 'new'}(root)`, }, ) @@ -120,10 +121,15 @@ watchPostEffect(() => {