Skip to content

Commit 1105451

Browse files
authored
docs(deps): update to vitepress v2 alpha (#2036)
* docs(deps): update to vitepress v2 alpha * NODE_VERSION
1 parent 5888cfa commit 1105451

File tree

5 files changed

+267
-836
lines changed

5 files changed

+267
-836
lines changed

.vitepress/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ export default defineConfig({
464464
return pageData
465465
},
466466
markdown: {
467+
// languages used for twoslash and jsdocs in twoslash
468+
languages: ['ts', 'js', 'json'],
467469
codeTransformers: [transformerTwoslash()],
468470
config(md) {
469471
md.use(groupIconMdPlugin)

guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## 概要
88

9-
Vite(フランス語で「素早い」という意味の単語で `/vit/`<button style="border:none;padding:3px;border-radius:4px;vertical-align:bottom" id="play-vite-audio" onclick="document.getElementById('vite-audio').play();"><svg style="height:2em;width:2em"><use href="/voice.svg#voice" /></svg></button> ヴィートのように発音)は、現代の Web プロジェクトのために、より速く無駄のない開発体験を提供することを目的としたビルドツールです。2 つの主要な部分で構成されています:
9+
Vite(フランス語で「素早い」という意味の単語で `/vit/`<button style="border:none;padding:3px;border-radius:4px;vertical-align:bottom" id="play-vite-audio" onclick="document.getElementById('vite-audio').play();"><svg style="height:2em;width:2em"><use href="/voice.svg?no-inline#voice" /></svg></button> ヴィートのように発音)は、現代の Web プロジェクトのために、より速く無駄のない開発体験を提供することを目的としたビルドツールです。2 つの主要な部分で構成されています:
1010

1111
- 非常に高速な [Hot Module Replacement (HMR)](./features#hot-module-replacement) など、[ネイティブ ES モジュール](https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Modules)を利用した[豊富な機能拡張](./features)を提供する開発サーバー。
1212

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build.environment]
2-
NODE_VERSION = "18"
2+
NODE_VERSION = "22"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": "textlint --format pretty-error **/*.md"
99
},
1010
"devDependencies": {
11-
"@shikijs/vitepress-twoslash": "^2.5.0",
11+
"@shikijs/vitepress-twoslash": "^3.7.0",
1212
"@type-challenges/utils": "^0.1.1",
1313
"@types/express": "^5.0.3",
1414
"@types/node": "^22.15.32",
@@ -20,7 +20,7 @@
2020
"textlint-filter-rule-comments": "^1.2.2",
2121
"textlint-rule-preset-vuejs-jp": "git+https://github.com/vuejs-jp/textlint-rule-preset-vuejs-jp.git",
2222
"vite": "7.0.0-beta.2",
23-
"vitepress": "1.6.3",
23+
"vitepress": "^2.0.0-alpha.6",
2424
"vitepress-plugin-group-icons": "^1.6.0",
2525
"vitepress-plugin-llms": "^1.5.1",
2626
"vue": "^3.5.17",

0 commit comments

Comments
 (0)