chore: upgrade vuepress

pull/104/head
hmol233 3 years ago
parent c14d709fc5
commit 45697ecdc1
No known key found for this signature in database
GPG Key ID: D617A9DAB0C992D5

@ -3,11 +3,6 @@ import type { DefaultThemeOptions } from "@vuepress/theme-default";
import * as sidebar from "./config/sidebar"; import * as sidebar from "./config/sidebar";
import * as navbar from "./config/navbar"; import * as navbar from "./config/navbar";
import * as path from "path"; import * as path from "path";
import { ThemeConfig } from "@vuepress/core";
import {
DefaultThemeLocaleOptions,
DefaultThemePluginsOptions,
} from "@vuepress/theme-default/lib/shared";
const isProduction = process.env.NODE_ENV === "production"; const isProduction = process.env.NODE_ENV === "production";
@ -149,7 +144,4 @@ export default defineUserConfig<DefaultThemeOptions>({
}); });
}, },
}, },
//postcss: { plugins: [require("autoprefixer")] }
}); });
interface DocsThemeConfig extends ThemeConfig, DefaultThemeLocaleOptions {}

@ -6,27 +6,28 @@
"author": "Arthur Morgan, Project X Community", "author": "Arthur Morgan, Project X Community",
"license": "CC-BY-SA-4.0", "license": "CC-BY-SA-4.0",
"devDependencies": { "devDependencies": {
"@types/bootstrap": "^5.0.17", "@types/bootstrap": "^5.1.4",
"@types/jquery": "^3.5.6", "@types/jquery": "^3.5.6",
"@vuepress/bundler-vite": "^2.0.0-beta.22", "@vuepress/bundler-vite": "^2.0.0-beta.25",
"@vuepress/plugin-back-to-top": "^2.0.0-beta.22", "@vuepress/plugin-back-to-top": "^2.0.0-beta.25",
"@vuepress/plugin-debug": "^2.0.0-beta.22", "@vuepress/plugin-debug": "^2.0.0-beta.25",
"@vuepress/plugin-search": "^2.0.0-beta.22", "@vuepress/plugin-search": "^2.0.0-beta.25",
"postcss-loader": "^6.1.1", "postcss-loader": "^6.1.1",
"prettier": "2.3.2", "prettier": "^2.4.0",
"sass": "1.35.1", "sass": "^1.39.2",
"sass-loader": "^12.1.0", "sass-loader": "^12.1.0",
"vue-property-decorator": "^9.1.2", "vue-property-decorator": "^9.1.2",
"vuepress": "^2.0.0-beta.16" "vuepress": "^2.0.0-beta.25"
}, },
"scripts": { "scripts": {
"docs:dev": "vuepress dev docs", "docs:dev": "vuepress dev docs --clean-temp --clean-cache --host 127.0.0.1",
"docs:build": "vuepress build docs", "docs:build": "vuepress build docs",
"lint": "prettier --write ." "lint": "prettier --write ."
}, },
"dependencies": { "dependencies": {
"@popperjs/core": "^2.9.1", "@popperjs/core": "^2.10.1",
"bootstrap": "^5.0.2", "bootstrap": "^5.1.1",
"esbuild": "^0.12.26",
"jquery": "^3.6.0", "jquery": "^3.6.0",
"markdown-it-footnote": "^3.0.3", "markdown-it-footnote": "^3.0.3",
"vuepress-plugin-mermaidjs": "^1.8.1" "vuepress-plugin-mermaidjs": "^1.8.1"

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save