perf: bump vuepress to rc.8
This commit is contained in:
parent
90ddf0a72a
commit
96166b2a4d
@ -16,6 +16,7 @@
|
||||
- `plugin-caniuse`: 添加 `caniuse` 内容容器
|
||||
- `plugin-content-update`: 重写 `Content` 组件,提供 `onContentUpdated` 钩子
|
||||
- `plugin-copy-code`: 为 代码块添加 复制 按钮,并适配 `shikiji`
|
||||
- `plugin-search`: 为主题提供 全文模糊搜索 功能
|
||||
- `plugin-shikiji`: 代码高亮插件,支持 highlight、diff、focus、error level
|
||||
- `plugin-iconify`: 添加全局组件 `Iconify`
|
||||
- `plugin-netlify-functions`: 提供 `netlify functions` 支持
|
||||
|
||||
@ -9,14 +9,14 @@
|
||||
"docs:serve": "anywhere -s -h localhost -d .vuepress/dist"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vuepress/bundler-vite": "2.0.0-rc.7",
|
||||
"@vuepress/bundler-webpack": "2.0.0-rc.7",
|
||||
"@vuepress/bundler-vite": "2.0.0-rc.8",
|
||||
"@vuepress/bundler-webpack": "2.0.0-rc.8",
|
||||
"anywhere": "^1.6.0",
|
||||
"sass": "^1.70.0",
|
||||
"sass-loader": "^14.1.0",
|
||||
"sass": "^1.71.1",
|
||||
"sass-loader": "^14.1.1",
|
||||
"vue": "^3.4.19",
|
||||
"vuepress-theme-plume": "workspace:*"
|
||||
}
|
||||
|
||||
@ -40,8 +40,8 @@
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^18.6.1",
|
||||
"@commitlint/config-conventional": "^18.6.2",
|
||||
"@pengzhanbo/eslint-config-vue": "^1.6.0",
|
||||
"@pengzhanbo/stylelint-config": "^1.6.0",
|
||||
"@pengzhanbo/eslint-config-vue": "^1.6.1",
|
||||
"@pengzhanbo/stylelint-config": "^1.6.1",
|
||||
"@types/lodash.merge": "^4.6.9",
|
||||
"@types/node": "20.9.1",
|
||||
"@types/webpack-env": "^1.18.4",
|
||||
@ -58,11 +58,11 @@
|
||||
"stylelint": "^16.2.1",
|
||||
"tsconfig-vuepress": "^4.5.0",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.1.3"
|
||||
"vite": "^5.1.4"
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"@vuepress/markdown@2.0.0-rc.7": "patches/@vuepress__markdown@2.0.0-rc.7.patch"
|
||||
"@vuepress/markdown@2.0.0-rc.8": "patches/@vuepress__markdown@2.0.0-rc.8.patch"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"chokidar": "^3.6.0",
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue/devtools-api": "6.5.1",
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"markdown-it-container": "^4.0.0"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.4.19"
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vuepress-plume/plugin-content-update": "workspace:*",
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify/vue": "^4.1.1",
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iarna/toml": "^2.2.5",
|
||||
@ -49,10 +49,10 @@
|
||||
"chalk": "^5.3.0",
|
||||
"chokidar": "^3.6.0",
|
||||
"cpx2": "^7.0.1",
|
||||
"dotenv": "^16.4.4",
|
||||
"esbuild": "^0.20.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"esbuild": "^0.20.1",
|
||||
"execa": "^8.0.1",
|
||||
"netlify-cli": "^17.16.2",
|
||||
"netlify-cli": "^17.16.4",
|
||||
"portfinder": "^1.0.32"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue/devtools-api": "6.5.1",
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@netlify/functions": "^2.6.0",
|
||||
|
||||
@ -38,12 +38,12 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vuepress/helper": "2.0.0-rc.14",
|
||||
"@vueuse/core": "^10.7.2",
|
||||
"@vueuse/integrations": "^10.7.2",
|
||||
"@vuepress/helper": "2.0.0-rc.15",
|
||||
"@vueuse/core": "^10.8.0",
|
||||
"@vueuse/integrations": "^10.8.0",
|
||||
"chokidar": "^3.6.0",
|
||||
"focus-trap": "^7.5.4",
|
||||
"mark.js": "^8.11.1",
|
||||
|
||||
@ -33,12 +33,12 @@
|
||||
"ts": "tsc -b tsconfig.build.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@shikijs/transformers": "^1.1.6",
|
||||
"@shikijs/twoslash": "^1.1.6",
|
||||
"nanoid": "^5.0.5",
|
||||
"nanoid": "^5.0.6",
|
||||
"shiki": "^1.1.6"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
1295
pnpm-lock.yaml
generated
1295
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -52,7 +52,7 @@
|
||||
"ts:watch": "tsc -b tsconfig.build.json --watch"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vuepress": "2.0.0-rc.7"
|
||||
"vuepress": "2.0.0-rc.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pengzhanbo/utils": "^1.1.1",
|
||||
@ -66,27 +66,27 @@
|
||||
"@vuepress-plume/plugin-notes-data": "workspace:*",
|
||||
"@vuepress-plume/plugin-search": "workspace:*",
|
||||
"@vuepress-plume/plugin-shikiji": "workspace:*",
|
||||
"@vuepress/plugin-active-header-links": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-container": "2.0.0-rc.12",
|
||||
"@vuepress/plugin-docsearch": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-external-link-icon": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-git": "2.0.0-rc.12",
|
||||
"@vuepress/plugin-medium-zoom": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-nprogress": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-palette": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-reading-time": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-seo": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-sitemap": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-theme-data": "2.0.0-rc.14",
|
||||
"@vuepress/plugin-toc": "2.0.0-rc.14",
|
||||
"@vueuse/core": "^10.7.2",
|
||||
"@vuepress/plugin-active-header-links": "2.0.0-rc.17",
|
||||
"@vuepress/plugin-container": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-docsearch": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-external-link-icon": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-git": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-medium-zoom": "2.0.0-rc.17",
|
||||
"@vuepress/plugin-nprogress": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-palette": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-reading-time": "2.0.0-rc.17",
|
||||
"@vuepress/plugin-seo": "2.0.0-rc.17",
|
||||
"@vuepress/plugin-sitemap": "2.0.0-rc.17",
|
||||
"@vuepress/plugin-theme-data": "2.0.0-rc.15",
|
||||
"@vuepress/plugin-toc": "2.0.0-rc.15",
|
||||
"@vueuse/core": "^10.8.0",
|
||||
"date-fns": "^3.3.1",
|
||||
"katex": "^0.16.9",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"nanoid": "^5.0.5",
|
||||
"nanoid": "^5.0.6",
|
||||
"vue": "^3.4.19",
|
||||
"vue-router": "4.2.5",
|
||||
"vuepress-plugin-comment2": "2.0.0-rc.23",
|
||||
"vuepress-plugin-md-enhance": "2.0.0-rc.23"
|
||||
"vuepress-plugin-comment2": "2.0.0-rc.25",
|
||||
"vuepress-plugin-md-enhance": "2.0.0-rc.25"
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,9 +40,7 @@ export function plumeTheme({
|
||||
? `document.documentElement.classList.add('dark')`
|
||||
: `;(function () {
|
||||
const um= localStorage.getItem('vuepress-theme-appearance') || '${appearance}';
|
||||
const sm =
|
||||
window.matchMedia &&
|
||||
window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
const sm = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
if (um === 'dark' || (um !== 'light' && sm)) {
|
||||
document.documentElement.classList.add('dark');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user