perf: update deps to latest

This commit is contained in:
pengzhanbo 2025-05-17 09:33:09 +08:00
parent dcecbfdd8d
commit 9ef8322940
7 changed files with 1414 additions and 1644 deletions

View File

@ -39,9 +39,9 @@
"picocolors": "catalog:prod"
},
"plume-deps": {
"vuepress": "2.0.0-rc.22",
"vue": "^3.5.13",
"sass-embedded": "^1.88.0",
"vuepress": "2.0.0-rc.23",
"vue": "^3.5.14",
"sass-embedded": "^1.89.0",
"sass-loader": "^16.0.5",
"http-server": "^14.1.1",
"typescript": "^5.8.3"

View File

@ -618,10 +618,10 @@ yarn add vuepress@next vuepress-theme-plume
```vue
<script setup lang="ts">
import type { PlumeHomeConfigBase } from 'vuepress-theme-plume'
import type { ThemeHomeConfigBase } from 'vuepress-theme-plume'
import { VPHomeBox } from 'vuepress-theme-plume/client'
const props = defineProps<PlumeHomeConfigBase & {
const props = defineProps<ThemeHomeConfigBase & {
// 组件 props, frontmatter 中的属性将会传递给组件
}>()
</script>

View File

@ -3,7 +3,7 @@
"type": "module",
"version": "1.0.0-rc.148",
"private": true,
"packageManager": "pnpm@10.10.0",
"packageManager": "pnpm@10.11.0",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
"license": "MIT",
"keywords": [

2936
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -6,62 +6,62 @@ packages:
- examples/*
overrides:
'@typescript-eslint/utils': ^8.32.0
'@typescript-eslint/utils': ^8.32.1
esbuild: ^0.25.4
sass: ^1.88.0
sass-embedded: ^1.88.0
sass: ^1.89.0
sass-embedded: ^1.89.0
catalogs:
dev:
'@commitlint/cli': ^19.8.1
'@commitlint/config-conventional': ^19.8.1
'@pengzhanbo/eslint-config-vue': ^1.31.0
'@pengzhanbo/stylelint-config': ^1.31.0
'@pengzhanbo/eslint-config-vue': ^1.32.0
'@pengzhanbo/stylelint-config': ^1.32.0
'@simonwep/pickr': ^1.9.1
'@types/express': ^5.0.1
'@types/express': ^5.0.2
'@types/js-yaml': ^4.0.9
'@types/less': ^3.0.8
'@types/lodash.merge': ^4.6.9
'@types/markdown-it': ^14.1.2
'@types/minimist': ^1.2.5
'@types/node': ^22.15.17
'@types/node': ^22.15.18
'@types/stylus': ^0.48.43
'@types/webpack-env': ^1.18.8
'@vitest/coverage-istanbul': ^3.1.3
bumpp: ^10.1.0
bumpp: ^10.1.1
commitizen: ^4.3.1
conventional-changelog-cli: ^5.0.0
cpx2: ^8.0.0
cross-env: 7.0.3
cz-conventional-changelog: ^3.3.0
eslint: ^9.26.0
eslint: ^9.27.0
http-server: ^14.1.1
husky: ^9.1.7
less: ^4.3.0
lint-staged: ^16.0.0
markdown-it: ^14.1.0
memfs: ^4.17.1
memfs: ^4.17.2
mermaid: ^11.6.0
minimist: ^1.2.8
rimraf: ^6.0.1
stylelint: ^16.19.1
stylus: ^0.64.0
tsconfig-vuepress: ^7.0.0
tsdown: ^0.11.5
tsdown: ^0.11.9
typescript: ^5.8.3
vitest: ^3.1.3
vue-router: ^4.5.1
wait-on: ^8.0.3
peer:
'@iconify/json': ^2.2.337
'@iconify/json': ^2.2.339
artplayer: ^5.2.3
dashjs: ^5.0.1
dashjs: ^5.0.2
hls.js: ^1.6.2
mathjax-full: ^3.2.2
mpegts.js: 1.7.3
sass: ^1.88.0
sass-embedded: ^1.88.0
sass: ^1.89.0
sass-embedded: ^1.89.0
sass-loader: ^16.0.5
swiper: ^11.2.6
@ -77,8 +77,8 @@ catalogs:
'@mdit/plugin-tab': ^0.18.0
'@mdit/plugin-tasklist': ^0.18.0
'@pengzhanbo/utils': ^2.1.0
'@vueuse/core': ^13.1.0
'@vueuse/integrations': ^13.1.0
'@vueuse/core': ^13.2.0
'@vueuse/integrations': ^13.2.0
bcrypt-ts: ^7.0.0
cac: ^6.7.14
chart.js: ^4.4.9
@ -110,35 +110,35 @@ catalogs:
p-map: ^7.0.3
package-manager-detector: ^1.3.0
picocolors: ^1.1.1
shiki: ^3.4.0
shiki: ^3.4.2
tinyglobby: 0.2.13
tm-grammars: ^1.23.18
tm-grammars: ^1.23.21
tm-themes: ^1.10.6
unplugin: ^2.3.2
vue: ^3.5.13
unplugin: ^2.3.4
vue: ^3.5.14
vuepress:
'@vuepress/bundler-vite': 2.0.0-rc.22
'@vuepress/helper': 2.0.0-rc.99
'@vuepress/plugin-cache': 2.0.0-rc.99
'@vuepress/plugin-comment': 2.0.0-rc.99
'@vuepress/plugin-copy-code': 2.0.0-rc.99
'@vuepress/plugin-docsearch': 2.0.0-rc.99
'@vuepress/plugin-git': 2.0.0-rc.99
'@vuepress/plugin-markdown-hint': 2.0.0-rc.101
'@vuepress/plugin-markdown-image': 2.0.0-rc.101
'@vuepress/plugin-markdown-include': 2.0.0-rc.101
'@vuepress/plugin-markdown-math': 2.0.0-rc.101
'@vuepress/plugin-nprogress': 2.0.0-rc.99
'@vuepress/plugin-photo-swipe': 2.0.0-rc.99
'@vuepress/plugin-reading-time': 2.0.0-rc.99
'@vuepress/plugin-seo': 2.0.0-rc.99
'@vuepress/plugin-shiki': 2.0.0-rc.99
'@vuepress/plugin-sitemap': 2.0.0-rc.99
'@vuepress/plugin-watermark': 2.0.0-rc.99
'@vuepress/shiki-twoslash': 2.0.0-rc.99
vuepress: 2.0.0-rc.22
vuepress-plugin-md-enhance: 2.0.0-rc.83
'@vuepress/bundler-vite': 2.0.0-rc.23
'@vuepress/helper': 2.0.0-rc.105
'@vuepress/plugin-cache': 2.0.0-rc.103
'@vuepress/plugin-comment': 2.0.0-rc.105
'@vuepress/plugin-copy-code': 2.0.0-rc.105
'@vuepress/plugin-docsearch': 2.0.0-rc.105
'@vuepress/plugin-git': 2.0.0-rc.105
'@vuepress/plugin-markdown-hint': 2.0.0-rc.105
'@vuepress/plugin-markdown-image': 2.0.0-rc.105
'@vuepress/plugin-markdown-include': 2.0.0-rc.105
'@vuepress/plugin-markdown-math': 2.0.0-rc.105
'@vuepress/plugin-nprogress': 2.0.0-rc.105
'@vuepress/plugin-photo-swipe': 2.0.0-rc.105
'@vuepress/plugin-reading-time': 2.0.0-rc.105
'@vuepress/plugin-seo': 2.0.0-rc.105
'@vuepress/plugin-shiki': 2.0.0-rc.105
'@vuepress/plugin-sitemap': 2.0.0-rc.105
'@vuepress/plugin-watermark': 2.0.0-rc.105
'@vuepress/shiki-twoslash': 2.0.0-rc.105
vuepress: 2.0.0-rc.23
vuepress-plugin-md-enhance: 2.0.0-rc.88
onlyBuiltDependencies:
- '@parcel/watcher'

View File

@ -20,6 +20,21 @@ import { prepareData, watchPrepare } from './prepare/index.js'
import { prepareThemeData } from './prepare/prepareThemeData.js'
import { perf, resolve, setTranslateLang, templates, THEME_NAME } from './utils/index.js'
/**
* VuePress Theme Plume
* @param options
* @example
* ```ts
* import { defineUserConfig } from 'vuepress'
* import { plumeTheme } from 'vuepress-theme-plume'
*
* export default defineUserConfig({
* theme: plumeTheme({
* // ...options
* })
* })
* ```
*/
export function plumeTheme(options: ThemeOptions = {}): Theme {
return (app) => {
setTranslateLang(app.options.lang)

View File

@ -6,16 +6,7 @@
"paths": {
"@internal/md-power/replEditorData": ["./plugins/plugin-md-power/src/client/shim.d.ts"],
"@internal/*": ["./docs/.vuepress/.temp/internal/*"],
"@theme/*": ["./theme/src/client/components/*"],
"@vuepress-plume/*": ["./plugins/*/src/node/index.ts"],
"vuepress-theme-plume": ["./theme/src/node/index.ts"],
"vuepress-theme-plume/client": ["./theme/src/client/index.ts"],
"vuepress-theme-plume/shared": ["./theme/src/shared/index.ts"],
"vuepress-theme-plume/composables": ["./theme/src/client/composables/index.ts"],
"@vuepress-plume/*/client": ["./plugins/*/src/client/index.ts"],
"vuepress-plugin-md-power": ["./plugins/plugin-md-power/src/node/index.ts"]
"@theme/*": ["./theme/src/client/components/*"]
},
"types": ["webpack-env", "vite/client", "vuepress/client-types"]
},