mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
chore: bump docs deps & use esm format (#1326)
This commit is contained in:
parent
3208e2e75a
commit
733980f559
@ -1,14 +1,14 @@
|
||||
const { defaultTheme } = require("vuepress");
|
||||
const { searchPlugin } = require("@vuepress/plugin-search");
|
||||
const { shikiPlugin } = require("@vuepress/plugin-shiki");
|
||||
const {
|
||||
import { defaultTheme, defineUserConfig } from "vuepress";
|
||||
import { searchPlugin } from "@vuepress/plugin-search";
|
||||
import { shikiPlugin } from "@vuepress/plugin-shiki";
|
||||
import {
|
||||
activeHeaderLinksPlugin,
|
||||
} = require("@vuepress/plugin-active-header-links");
|
||||
} from "@vuepress/plugin-active-header-links";
|
||||
|
||||
const navbar = require("./navbar");
|
||||
const sidebar = require("./sidebar");
|
||||
import navbar from "./navbar";
|
||||
import sidebar from "./sidebar";
|
||||
|
||||
module.exports = {
|
||||
export default defineUserConfig({
|
||||
base: "/",
|
||||
head: [],
|
||||
locales: {
|
||||
@ -84,4 +84,4 @@ module.exports = {
|
||||
theme: "monokai",
|
||||
}),
|
||||
],
|
||||
};
|
||||
});
|
||||
|
@ -379,4 +379,4 @@ const zh_hans = [
|
||||
},
|
||||
];
|
||||
|
||||
module.exports = { en, pt_br, zh_hans };
|
||||
export default { en, pt_br, zh_hans };
|
||||
|
@ -317,4 +317,4 @@ const zh_hans = {
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = { en, pt_br, zh_hans };
|
||||
export default { en, pt_br, zh_hans };
|
||||
|
2690
docs/package-lock.json
generated
2690
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,9 +5,9 @@
|
||||
"format": "npx -y prettier --write '{.vuepress/{config,navbar,sidebar}.js,./**/*.md}'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/plugin-active-header-links": "^2.0.0-beta.48",
|
||||
"@vuepress/plugin-search": "^2.0.0-beta.49",
|
||||
"@vuepress/plugin-shiki": "^2.0.0-beta.49",
|
||||
"vuepress": "^2.0.0-beta.49"
|
||||
"@vuepress/plugin-active-header-links": "^2.0.0-beta.51",
|
||||
"@vuepress/plugin-search": "^2.0.0-beta.51",
|
||||
"@vuepress/plugin-shiki": "^2.0.0-beta.51",
|
||||
"vuepress": "^2.0.0-beta.51"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user