perf: update deps to latest

This commit is contained in:
pengzhanbo 2025-12-01 11:37:01 +08:00
parent db8a46eb4c
commit 3a907e0ba8
8 changed files with 889 additions and 968 deletions

View File

@ -5,6 +5,7 @@ config:
-
type: hero
full: true
forceDark: true
effect: lightning
hero:
name: Theme Plume

View File

@ -5,6 +5,7 @@ config:
-
type: hero
full: true
forceDark: true
effect: lightning
hero:
name: Theme Plume

View File

@ -3,7 +3,7 @@
"type": "module",
"version": "1.0.0-rc.179",
"private": true,
"packageManager": "pnpm@10.23.0",
"packageManager": "pnpm@10.24.0",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
"license": "MIT",
"keywords": [
@ -14,7 +14,7 @@
"vuepress-theme-plume"
],
"engines": {
"node": "^20.9.0 || >=22.1.0",
"node": "^20.19.0 || >=22.1.0",
"pnpm": ">=9"
},
"scripts": {
@ -47,7 +47,6 @@
"@pengzhanbo/stylelint-config": "catalog:dev",
"@types/js-yaml": "catalog:dev",
"@types/less": "catalog:dev",
"@types/lodash.merge": "catalog:dev",
"@types/minimist": "catalog:dev",
"@types/node": "catalog:dev",
"@types/picomatch": "catalog:dev",

1752
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -8,6 +8,7 @@ packages:
overrides:
'@bufbuild/protobuf': ^2.10.1
'@typescript-eslint/utils': ^8.48.0
chokidar: ^5.0.0
esbuild: ^0.27.0
sass-embedded: ^1.93.3
vue-router: ^4.6.3
@ -19,13 +20,12 @@ catalogs:
'@commitlint/cli': ^20.1.0
'@commitlint/config-conventional': ^20.0.0
'@lunariajs/core': ^0.1.1
'@pengzhanbo/eslint-config-vue': ^1.41.0
'@pengzhanbo/stylelint-config': ^1.41.0
'@pengzhanbo/eslint-config-vue': ^1.43.0
'@pengzhanbo/stylelint-config': ^1.43.0
'@simonwep/pickr': ^1.9.1
'@types/express': ^5.0.5
'@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': ^24.10.1
@ -34,7 +34,7 @@ catalogs:
'@types/three': ^0.181.0
'@types/webpack-env': ^1.18.8
'@vitest/coverage-istanbul': ^4.0.14
bumpp: ^10.3.1
bumpp: ^10.3.2
commitizen: ^4.3.1
conventional-changelog-cli: ^5.0.0
cpx2: ^8.0.0
@ -46,26 +46,26 @@ catalogs:
less: ^4.4.2
lint-staged: ^16.2.7
markdown-it: ^14.1.0
memfs: ^4.51.0
memfs: ^4.51.1
mermaid: ^11.12.1
minimist: ^1.2.8
postcss: ^8.5.6
rimraf: ^6.1.2
stylelint: ^16.26.0
stylelint: ^16.26.1
stylus: ^0.64.0
tsconfig-vuepress: ^7.0.0
tsdown: ^0.16.7
tsdown: ^0.16.8
typescript: ^5.9.3
vitest: ^4.0.14
vue-router: ^4.6.3
wait-on: ^9.0.3
peer:
'@iconify/json': ^2.2.410
'@iconify/json': ^2.2.412
'@mathjax/src': ^4.0.0
artplayer: ^5.3.0
dashjs: ^5.1.0
gsap: ^3.13.0
hls.js: ^1.6.15
mathjax-full: ^3.2.2
mpegts.js: 1.7.3
ogl: ^1.0.11
postprocessing: ^6.38.0
@ -76,7 +76,7 @@ catalogs:
three: ^0.181.2
prod:
'@clack/prompts': ^0.11.0
'@iconify/utils': ^3.0.2
'@iconify/utils': ^3.1.0
'@iconify/vue': ^5.0.0
'@mdit/plugin-attrs': ^0.23.3
'@mdit/plugin-footnote': ^0.22.3
@ -86,12 +86,12 @@ catalogs:
'@mdit/plugin-tab': ^0.22.3
'@mdit/plugin-tasklist': ^0.22.2
'@pengzhanbo/utils': ^2.1.2
'@vueuse/core': ^14.0.0
'@vueuse/integrations': ^14.0.0
'@vueuse/core': ^14.1.0
'@vueuse/integrations': ^14.1.0
bcrypt-ts: ^7.1.0
cac: ^6.7.14
chart.js: ^4.5.1
chokidar: 4.0.3
chokidar: 5.0.0
dayjs: ^1.11.19
echarts: ^6.0.0
esbuild: ^0.27.0
@ -103,7 +103,7 @@ catalogs:
js-yaml: ^4.1.1
katex: ^0.16.25
local-pkg: ^1.1.2
lru-cache: ^11.2.2
lru-cache: ^11.2.4
mark.js: ^8.11.1
markdown-it-container: ^4.0.0
markmap-lib: ^0.18.12
@ -114,37 +114,37 @@ catalogs:
nanoid: ^5.1.6
os-locale: ^6.0.2
p-map: ^7.0.4
package-manager-detector: ^1.5.0
package-manager-detector: ^1.6.0
picocolors: ^1.1.1
picomatch: ^4.0.3
shiki: ^3.15.0
sort-package-json: ^3.4.0
tm-grammars: ^1.25.3
tm-themes: ^1.10.12
shiki: ^3.17.0
sort-package-json: ^3.5.0
tm-grammars: ^1.26.0
tm-themes: ^1.10.13
vue: ^3.5.25
vuepress:
'@vuepress/bundler-vite': 2.0.0-rc.26
'@vuepress/helper': 2.0.0-rc.118
'@vuepress/helper': 2.0.0-rc.120
'@vuepress/plugin-cache': 2.0.0-rc.118
'@vuepress/plugin-comment': 2.0.0-rc.118
'@vuepress/plugin-copy-code': 2.0.0-rc.118
'@vuepress/plugin-docsearch': 2.0.0-rc.118
'@vuepress/plugin-git': 2.0.0-rc.118
'@vuepress/plugin-llms': 2.0.0-rc.118
'@vuepress/plugin-markdown-chart': 2.0.0-rc.118
'@vuepress/plugin-markdown-hint': 2.0.0-rc.118
'@vuepress/plugin-markdown-image': 2.0.0-rc.118
'@vuepress/plugin-markdown-include': 2.0.0-rc.118
'@vuepress/plugin-markdown-math': 2.0.0-rc.118
'@vuepress/plugin-nprogress': 2.0.0-rc.118
'@vuepress/plugin-photo-swipe': 2.0.0-rc.118
'@vuepress/plugin-reading-time': 2.0.0-rc.118
'@vuepress/plugin-replace-assets': 2.0.0-rc.118
'@vuepress/plugin-seo': 2.0.0-rc.118
'@vuepress/plugin-shiki': 2.0.0-rc.118
'@vuepress/plugin-sitemap': 2.0.0-rc.118
'@vuepress/plugin-watermark': 2.0.0-rc.118
'@vuepress/shiki-twoslash': 2.0.0-rc.118
'@vuepress/plugin-comment': 2.0.0-rc.120
'@vuepress/plugin-copy-code': 2.0.0-rc.120
'@vuepress/plugin-docsearch': 2.0.0-rc.120
'@vuepress/plugin-git': 2.0.0-rc.120
'@vuepress/plugin-llms': 2.0.0-rc.120
'@vuepress/plugin-markdown-chart': 2.0.0-rc.120
'@vuepress/plugin-markdown-hint': 2.0.0-rc.120
'@vuepress/plugin-markdown-image': 2.0.0-rc.120
'@vuepress/plugin-markdown-include': 2.0.0-rc.120
'@vuepress/plugin-markdown-math': 2.0.0-rc.120
'@vuepress/plugin-nprogress': 2.0.0-rc.120
'@vuepress/plugin-photo-swipe': 2.0.0-rc.120
'@vuepress/plugin-reading-time': 2.0.0-rc.120
'@vuepress/plugin-replace-assets': 2.0.0-rc.120
'@vuepress/plugin-seo': 2.0.0-rc.120
'@vuepress/plugin-shiki': 2.0.0-rc.120
'@vuepress/plugin-sitemap': 2.0.0-rc.120
'@vuepress/plugin-watermark': 2.0.0-rc.120
'@vuepress/shiki-twoslash': 2.0.0-rc.120
vuepress: 2.0.0-rc.26
onlyBuiltDependencies:
- '@parcel/watcher'

View File

@ -54,7 +54,7 @@
"templates"
],
"engines": {
"node": "^20.6.0 || >=22.0.0"
"node": "^20.19.0 || >=22.0.0"
},
"scripts": {
"dev": "pnpm '/(copy|tsdown):watch/'",
@ -67,9 +67,9 @@
},
"peerDependencies": {
"@iconify/json": ">=2",
"@mathjax/src": "catalog:peer",
"@vuepress/shiki-twoslash": "catalog:vuepress",
"gsap": "catalog:peer",
"mathjax-full": "catalog:peer",
"ogl": "catalog:peer",
"postprocessing": "catalog:peer",
"swiper": "catalog:peer",
@ -80,15 +80,15 @@
"@iconify/json": {
"optional": true
},
"@mathjax/src": {
"optional": true
},
"@vuepress/shiki-twoslash": {
"optional": true
},
"gsap": {
"optional": true
},
"mathjax-full": {
"optional": true
},
"ogl": {
"optional": true
},

View File

@ -9,9 +9,7 @@ import { isPackageExists } from 'local-pkg'
export function extendsBundlerOptions(bundlerOptions: any, app: App): void {
addViteConfig(bundlerOptions, app, {
build: {
chunkSizeWarningLimit: 2048,
},
build: { chunkSizeWarningLimit: 2048 },
})
addViteOptimizeDepsInclude(

View File

@ -49,7 +49,11 @@ export function markdownPlugins(pluginOptions: ThemeBuiltinPlugins): PluginConfi
mdChart ??= pluginOptions.markdownChart
if (mdChart) {
plugins.push(markdownChartPlugin(mdChart))
plugins.push(markdownChartPlugin({
DANGEROUS_ALLOW_SCRIPT_EXECUTION: true,
DANGEROUS_SCRIPT_EXECUTION_ALLOWLIST: '*',
...mdChart,
}))
}
math ??= pluginOptions.markdownMath