feat: update deps
This commit is contained in:
parent
af606816a2
commit
cf02e578c2
|
@ -1,4 +1 @@
|
||||||
#!/bin/sh
|
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
pnpm nano-staged
|
pnpm nano-staged
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { viteBundler } from "@vuepress/bundler-vite";
|
||||||
import { defineUserConfig } from "vuepress";
|
import { defineUserConfig } from "vuepress";
|
||||||
import theme from "./theme.js";
|
import theme from "./theme.js";
|
||||||
|
|
||||||
|
@ -53,6 +54,8 @@ export default defineUserConfig({
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
bundler: viteBundler(),
|
||||||
|
|
||||||
theme,
|
theme,
|
||||||
|
|
||||||
pagePatterns: ["**/*.md", "!**/*.snippet.md", "!.vuepress", "!node_modules"],
|
pagePatterns: ["**/*.md", "!**/*.snippet.md", "!.vuepress", "!node_modules"],
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { getDirname, path } from "@vuepress/utils";
|
import { getDirname, path } from "vuepress/utils";
|
||||||
import { hopeTheme } from "vuepress-theme-hope";
|
import { hopeTheme } from "vuepress-theme-hope";
|
||||||
import { componentsPlugin } from "vuepress-plugin-components";
|
|
||||||
|
|
||||||
import navbar from "./navbar.js";
|
import navbar from "./navbar.js";
|
||||||
import sidebar from "./sidebar/index.js";
|
import sidebar from "./sidebar/index.js";
|
||||||
|
@ -30,15 +29,7 @@ export default hopeTheme({
|
||||||
'<a href="https://beian.miit.gov.cn/" target="_blank">鄂ICP备2020015769号-1</a>',
|
'<a href="https://beian.miit.gov.cn/" target="_blank">鄂ICP备2020015769号-1</a>',
|
||||||
displayFooter: true,
|
displayFooter: true,
|
||||||
|
|
||||||
pageInfo: [
|
pageInfo: ["Author", "Category", "Tag", "Original", "Word", "ReadingTime"],
|
||||||
"Author",
|
|
||||||
"Category",
|
|
||||||
"Tag",
|
|
||||||
// "Date",
|
|
||||||
"Original",
|
|
||||||
"Word",
|
|
||||||
"ReadingTime",
|
|
||||||
],
|
|
||||||
|
|
||||||
blog: {
|
blog: {
|
||||||
intro: "/about-the-author/",
|
intro: "/about-the-author/",
|
||||||
|
@ -72,7 +63,9 @@ export default hopeTheme({
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
blog: true,
|
blog: true,
|
||||||
|
|
||||||
copyright: {
|
copyright: {
|
||||||
author: "JavaGuide(javaguide.cn)",
|
author: "JavaGuide(javaguide.cn)",
|
||||||
license: "MIT",
|
license: "MIT",
|
||||||
|
|
28
package.json
28
package.json
|
@ -12,31 +12,27 @@
|
||||||
"lint": "pnpm lint:prettier && pnpm lint:md",
|
"lint": "pnpm lint:prettier && pnpm lint:md",
|
||||||
"lint:md": "markdownlint-cli2 '**/*.md'",
|
"lint:md": "markdownlint-cli2 '**/*.md'",
|
||||||
"lint:prettier": "prettier --check --write .",
|
"lint:prettier": "prettier --check --write .",
|
||||||
"prepare": "husky install",
|
"prepare": "husky",
|
||||||
"update": "pnpm dlx vp-update"
|
"update": "pnpm dlx vp-update"
|
||||||
},
|
},
|
||||||
"nano-staged": {
|
"nano-staged": {
|
||||||
"**/*": "prettier --write --ignore-unknown",
|
"**/*": "prettier --write --ignore-unknown",
|
||||||
".md": "markdownlint-cli2"
|
".md": "markdownlint-cli2"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@8.13.1",
|
"packageManager": "pnpm@8.15.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vuepress/client": "2.0.0-rc.0",
|
"@vuepress/bundler-vite": "2.0.0-rc.6",
|
||||||
"@vuepress/plugin-search": "2.0.0-rc.0",
|
"@vuepress/plugin-copyright": "2.0.0-rc.11",
|
||||||
"@vuepress/utils": "2.0.0-rc.0",
|
"@vuepress/plugin-feed": "2.0.0-rc.11",
|
||||||
"husky": "8.0.3",
|
"@vuepress/plugin-search": "2.0.0-rc.11",
|
||||||
"markdownlint-cli2": "0.11.0",
|
"husky": "9.0.10",
|
||||||
|
"markdownlint-cli2": "0.12.1",
|
||||||
"mathjax-full": "3.2.2",
|
"mathjax-full": "3.2.2",
|
||||||
"nano-staged": "0.8.0",
|
"nano-staged": "0.8.0",
|
||||||
"nodejs-jieba": "0.1.2",
|
"nodejs-jieba": "0.1.2",
|
||||||
"prettier": "3.1.1",
|
"prettier": "3.2.5",
|
||||||
"vue": "^3.4.13",
|
"vue": "3.4.15",
|
||||||
"vuepress": "2.0.0-rc.0",
|
"vuepress": "2.0.0-rc.6",
|
||||||
"vuepress-plugin-copyright2": "2.0.0-rc.11",
|
"vuepress-theme-hope": "2.0.0-rc.22"
|
||||||
"vuepress-plugin-feed2": "2.0.0-rc.11",
|
|
||||||
"vuepress-theme-hope": "2.0.0-rc.11"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"vuepress-plugin-components": "2.0.0-rc.11"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2459
pnpm-lock.yaml
2459
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue