mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -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");
|
import { defaultTheme, defineUserConfig } from "vuepress";
|
||||||
const { searchPlugin } = require("@vuepress/plugin-search");
|
import { searchPlugin } from "@vuepress/plugin-search";
|
||||||
const { shikiPlugin } = require("@vuepress/plugin-shiki");
|
import { shikiPlugin } from "@vuepress/plugin-shiki";
|
||||||
const {
|
import {
|
||||||
activeHeaderLinksPlugin,
|
activeHeaderLinksPlugin,
|
||||||
} = require("@vuepress/plugin-active-header-links");
|
} from "@vuepress/plugin-active-header-links";
|
||||||
|
|
||||||
const navbar = require("./navbar");
|
import navbar from "./navbar";
|
||||||
const sidebar = require("./sidebar");
|
import sidebar from "./sidebar";
|
||||||
|
|
||||||
module.exports = {
|
export default defineUserConfig({
|
||||||
base: "/",
|
base: "/",
|
||||||
head: [],
|
head: [],
|
||||||
locales: {
|
locales: {
|
||||||
@ -84,4 +84,4 @@ module.exports = {
|
|||||||
theme: "monokai",
|
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}'"
|
"format": "npx -y prettier --write '{.vuepress/{config,navbar,sidebar}.js,./**/*.md}'"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vuepress/plugin-active-header-links": "^2.0.0-beta.48",
|
"@vuepress/plugin-active-header-links": "^2.0.0-beta.51",
|
||||||
"@vuepress/plugin-search": "^2.0.0-beta.49",
|
"@vuepress/plugin-search": "^2.0.0-beta.51",
|
||||||
"@vuepress/plugin-shiki": "^2.0.0-beta.49",
|
"@vuepress/plugin-shiki": "^2.0.0-beta.51",
|
||||||
"vuepress": "^2.0.0-beta.49"
|
"vuepress": "^2.0.0-beta.51"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user