diff --git a/guide/api-plugin.md b/guide/api-plugin.md index 69ba8b52..1b823472 100644 --- a/guide/api-plugin.md +++ b/guide/api-plugin.md @@ -416,6 +416,7 @@ Vite プラグインは Vite 特有の目的を果たすフックを提供する server: ViteDevServer } ``` + - `modules` は変更されたファイルに影響を受けるモジュールの配列です。単一のファイルが複数の提供モジュールに対応している場合があるため(Vue の SFC など)、配列になっています。 - `read` はファイルの内容を返す非同期の read 関数です。システムによってはファイル変更コールバックがエディタのファイル更新完了前に発生してしまい、`fs.readFile` が空の内容を返すため、この関数が提供されています。渡される read 関数は、この動作を正規化します。 diff --git a/guide/backend-integration.md b/guide/backend-integration.md index e909d0da..8315e4e6 100644 --- a/guide/backend-integration.md +++ b/guide/backend-integration.md @@ -99,6 +99,7 @@ } } ``` + - マニフェストは `Record` 構造になっています。 - エントリーまたはダイナミックエントリーのチャンクの場合、プロジェクトルートからの相対パスがキーとなります。 - エントリー以外のチャンクでは、生成されたファイル名の前に `_` を付けたものがキーとなります。 diff --git a/package.json b/package.json index 305f9813..fff55768 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@shikijs/vitepress-twoslash": "^3.7.0", "@type-challenges/utils": "^0.1.1", "@types/express": "^5.0.3", - "@types/node": "^22.15.32", + "@types/node": "^22.15.34", "feed": "^5.1.0", "gsap": "^3.13.0", "lint-staged": "^16.1.0", @@ -20,9 +20,9 @@ "textlint-filter-rule-comments": "^1.2.2", "textlint-rule-preset-vuejs-jp": "git+https://github.com/vuejs-jp/textlint-rule-preset-vuejs-jp.git", "vite": "7.0.0-beta.2", - "vitepress": "^2.0.0-alpha.6", - "vitepress-plugin-group-icons": "^1.6.0", - "vitepress-plugin-llms": "^1.5.1", + "vitepress": "^2.0.0-alpha.7", + "vitepress-plugin-group-icons": "^1.6.1", + "vitepress-plugin-llms": "^1.6.0", "vue": "^3.5.17", "yorkie": "^2.0.0" }, @@ -32,7 +32,7 @@ "lint-staged": { "*.md": "textlint --format pretty-error" }, - "packageManager": "pnpm@10.12.2", + "packageManager": "pnpm@10.12.4", "pnpm": { "onlyBuiltDependencies": [ "esbuild", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d886ad6..4cef729c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: ^5.0.3 version: 5.0.3 '@types/node': - specifier: ^22.15.32 - version: 22.15.32 + specifier: ^22.15.34 + version: 22.15.34 feed: specifier: ^5.1.0 version: 5.1.0 @@ -43,16 +43,16 @@ importers: version: https://codeload.github.com/vuejs-jp/textlint-rule-preset-vuejs-jp/tar.gz/d62d64c25aed61a5f7455028b31aca7640181a13(textlint@13.4.1) vite: specifier: 7.0.0-beta.2 - version: 7.0.0-beta.2(@types/node@22.15.32)(yaml@2.8.0) + version: 7.0.0-beta.2(@types/node@22.15.34)(yaml@2.8.0) vitepress: - specifier: ^2.0.0-alpha.6 - version: 2.0.0-alpha.7(@algolia/client-search@5.20.0)(@types/node@22.15.32)(postcss@8.5.6)(search-insights@2.14.0)(typescript@5.4.5)(yaml@2.8.0) + specifier: ^2.0.0-alpha.7 + version: 2.0.0-alpha.7(@algolia/client-search@5.20.0)(@types/node@22.15.34)(postcss@8.5.6)(search-insights@2.14.0)(typescript@5.4.5)(yaml@2.8.0) vitepress-plugin-group-icons: - specifier: ^1.6.0 - version: 1.6.0(markdown-it@14.1.0)(vite@7.0.0-beta.2(@types/node@22.15.32)(yaml@2.8.0)) + specifier: ^1.6.1 + version: 1.6.1(markdown-it@14.1.0)(vite@7.0.0-beta.2(@types/node@22.15.34)(yaml@2.8.0)) vitepress-plugin-llms: - specifier: ^1.5.1 - version: 1.5.1 + specifier: ^1.6.0 + version: 1.6.0 vue: specifier: ^3.5.17 version: 3.5.17(typescript@5.4.5) @@ -360,8 +360,8 @@ packages: '@iconify-json/simple-icons@1.2.40': resolution: {integrity: sha512-sr2fbrS8rRhJNap41ucTStctxTcWQ3lcsHkY3loc4Yt1KNOne6D+l1JTOQCDj9f/VrUktVIEdaRQoYTvqfuSSw==} - '@iconify-json/vscode-icons@1.2.19': - resolution: {integrity: sha512-M6Ujx2Ncmr/jfHhLJ+unqaILOJ/wWAkfc84Eh3+e8PccFmB1TS4KwOSyqbawybbqKK7JaaEk5uhFYSFpYOeuOA==} + '@iconify-json/vscode-icons@1.2.23': + resolution: {integrity: sha512-gFTcKecKra2/b5SbGDgHGI/l8CuikHyBPmqGlK+YCmS8AK72dtDQbUekdoACsju/3TYS37QvdPoOQwnyx2LdYg==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -369,6 +369,14 @@ packages: '@iconify/utils@2.3.0': resolution: {integrity: sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==} + '@isaacs/balanced-match@4.0.1': + resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==} + engines: {node: 20 || >=22} + + '@isaacs/brace-expansion@5.0.0': + resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==} + engines: {node: 20 || >=22} + '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} @@ -612,8 +620,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.15.32': - resolution: {integrity: sha512-3jigKqgSjsH6gYZv2nEsqdXfZqIFGAV36XYYjf9KGZ3PSG+IhLecqPnI310RvjutyMwifE2hhhNEklOUrvx/wA==} + '@types/node@22.15.34': + resolution: {integrity: sha512-8Y6E5WUupYy1Dd0II32BsWAx5MWdcnRd8L84Oys3veg1YrYtNtzgO4CFhiBg6MDSjk7Ay36HYOnU7/tuOzIzcw==} '@types/qs@6.9.15': resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} @@ -1799,8 +1807,8 @@ packages: resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==} engines: {node: '>=18'} - minimatch@10.0.1: - resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} + minimatch@10.0.3: + resolution: {integrity: sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==} engines: {node: 20 || >=22} minimatch@3.1.2: @@ -2385,8 +2393,8 @@ packages: resolution: {integrity: sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==} engines: {node: '>=0.10.0'} - tokenx@1.0.1: - resolution: {integrity: sha512-MhOngUHRuVE0CHP4cNEZ/XpdXETFL65nJpEvoTW+VYPuXsT/MTeNj+UNnekNsnxecmj2DEvUYPebqz+CsPTUSg==} + tokenx@1.1.0: + resolution: {integrity: sha512-KCjtiC2niPwTSuz4ktM82Ki5bjqBwYpssiHDsGr5BpejN/B3ksacRvrsdoxljdMIh2nCX78alnDkeemBmYUmTA==} traverse@0.6.9: resolution: {integrity: sha512-7bBrcF+/LQzSgFmT0X5YclVqQxtv7TDJ1f8Wj7ibBu/U6BMLeOpUxuZjV7rMc44UtKxlnMFigdhFAIszSX1DMg==} @@ -2622,14 +2630,14 @@ packages: yaml: optional: true - vitepress-plugin-group-icons@1.6.0: - resolution: {integrity: sha512-+nxuVETpFkOYR5qHdvj3M5otWusJyS3ozEvVf1aQaE5Oz5e6NR0naYKTtH0Zf3Qss4vnhqaYt2Lq4jUTn9JVuA==} + vitepress-plugin-group-icons@1.6.1: + resolution: {integrity: sha512-eoFlFAhAy/yTZDbaIgA/nMbjVYXkf8pz8rr75MN2VCw7yH60I3cw6bW5EuwddAeafZtBqbo8OsEGU7TIWFiAjg==} peerDependencies: markdown-it: '>=14' vite: '>=3' - vitepress-plugin-llms@1.5.1: - resolution: {integrity: sha512-dEofHjDDiudwFZCvU6MxmKe9HV6KeBvA9Mz9gnZAYTSwg7AVr6PRreURQRYAvCAxzLEgaJ1WRef/OwtNqvNOCA==} + vitepress-plugin-llms@1.6.0: + resolution: {integrity: sha512-5EjrMvtggY61fAnhC+rldzw1UqPxwdbtsh/w15Z/Gy7u/SOsPQgSdDzoQm1iFet6ofAzUB2TXA8wj5KZX9TKSA==} vitepress@2.0.0-alpha.7: resolution: {integrity: sha512-75xXvCWymnSgA7BFt1BmiXnusl4aeV4sM6DpIo9sf2OvkNER3cMLWN6xqZrLGu3SNaQccfS5u3ikCqAnA4p70w==} @@ -2985,7 +2993,7 @@ snapshots: dependencies: '@iconify/types': 2.0.0 - '@iconify-json/vscode-icons@1.2.19': + '@iconify-json/vscode-icons@1.2.23': dependencies: '@iconify/types': 2.0.0 @@ -2996,7 +3004,7 @@ snapshots: '@antfu/install-pkg': 1.0.0 '@antfu/utils': 8.1.1 '@iconify/types': 2.0.0 - debug: 4.4.0 + debug: 4.4.1 globals: 15.14.0 kolorist: 1.8.0 local-pkg: 1.0.0 @@ -3004,6 +3012,12 @@ snapshots: transitivePeerDependencies: - supports-color + '@isaacs/balanced-match@4.0.1': {} + + '@isaacs/brace-expansion@5.0.0': + dependencies: + '@isaacs/balanced-match': 4.0.1 + '@jridgewell/sourcemap-codec@1.5.0': {} '@rolldown/pluginutils@1.0.0-beta.19': {} @@ -3281,11 +3295,11 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.15.32 + '@types/node': 22.15.34 '@types/connect@3.4.38': dependencies: - '@types/node': 22.15.32 + '@types/node': 22.15.34 '@types/debug@4.1.12': dependencies: @@ -3295,7 +3309,7 @@ snapshots: '@types/express-serve-static-core@5.0.6': dependencies: - '@types/node': 22.15.32 + '@types/node': 22.15.34 '@types/qs': 6.9.15 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -3324,7 +3338,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.15.32': + '@types/node@22.15.34': dependencies: undici-types: 6.21.0 @@ -3335,12 +3349,12 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.15.32 + '@types/node': 22.15.34 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.15.32 + '@types/node': 22.15.34 '@types/send': 0.17.4 '@types/unist@2.0.10': {} @@ -3358,10 +3372,10 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@6.0.0(vite@7.0.0(@types/node@22.15.32)(yaml@2.8.0))(vue@3.5.17(typescript@5.4.5))': + '@vitejs/plugin-vue@6.0.0(vite@7.0.0(@types/node@22.15.34)(yaml@2.8.0))(vue@3.5.17(typescript@5.4.5))': dependencies: '@rolldown/pluginutils': 1.0.0-beta.19 - vite: 7.0.0(@types/node@22.15.32)(yaml@2.8.0) + vite: 7.0.0(@types/node@22.15.34)(yaml@2.8.0) vue: 3.5.17(typescript@5.4.5) '@volar/language-core@2.4.15': @@ -4774,9 +4788,9 @@ snapshots: mimic-function@5.0.1: {} - minimatch@10.0.1: + minimatch@10.0.3: dependencies: - brace-expansion: 2.0.1 + '@isaacs/brace-expansion': 5.0.0 minimatch@3.1.2: dependencies: @@ -5507,7 +5521,7 @@ snapshots: regex-not: 1.0.2 safe-regex: 1.1.0 - tokenx@1.0.1: {} + tokenx@1.1.0: {} traverse@0.6.9: dependencies: @@ -5731,7 +5745,7 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite@7.0.0(@types/node@22.15.32)(yaml@2.8.0): + vite@7.0.0(@types/node@22.15.34)(yaml@2.8.0): dependencies: esbuild: 0.25.1 fdir: 6.4.6(picomatch@4.0.2) @@ -5740,11 +5754,11 @@ snapshots: rollup: 4.40.2 tinyglobby: 0.2.14 optionalDependencies: - '@types/node': 22.15.32 + '@types/node': 22.15.34 fsevents: 2.3.3 yaml: 2.8.0 - vite@7.0.0-beta.2(@types/node@22.15.32)(yaml@2.8.0): + vite@7.0.0-beta.2(@types/node@22.15.34)(yaml@2.8.0): dependencies: esbuild: 0.25.1 fdir: 6.4.6(picomatch@4.0.2) @@ -5753,39 +5767,40 @@ snapshots: rollup: 4.40.2 tinyglobby: 0.2.14 optionalDependencies: - '@types/node': 22.15.32 + '@types/node': 22.15.34 fsevents: 2.3.3 yaml: 2.8.0 - vitepress-plugin-group-icons@1.6.0(markdown-it@14.1.0)(vite@7.0.0-beta.2(@types/node@22.15.32)(yaml@2.8.0)): + vitepress-plugin-group-icons@1.6.1(markdown-it@14.1.0)(vite@7.0.0-beta.2(@types/node@22.15.34)(yaml@2.8.0)): dependencies: '@iconify-json/logos': 1.2.4 - '@iconify-json/vscode-icons': 1.2.19 + '@iconify-json/vscode-icons': 1.2.23 '@iconify/utils': 2.3.0 markdown-it: 14.1.0 - vite: 7.0.0-beta.2(@types/node@22.15.32)(yaml@2.8.0) + vite: 7.0.0-beta.2(@types/node@22.15.34)(yaml@2.8.0) transitivePeerDependencies: - supports-color - vitepress-plugin-llms@1.5.1: + vitepress-plugin-llms@1.6.0: dependencies: byte-size: 9.0.1 gray-matter: 4.0.3 + markdown-it: 14.1.0 markdown-title: 1.0.2 millify: 6.1.0 - minimatch: 10.0.1 + minimatch: 10.0.3 path-to-regexp: 8.2.0 picocolors: 1.1.1 remark: 15.0.1 remark-frontmatter: 5.0.0 - tokenx: 1.0.1 + tokenx: 1.1.0 unist-util-remove: 4.0.0 unist-util-visit: 5.0.0 transitivePeerDependencies: - '@75lb/nature' - supports-color - vitepress@2.0.0-alpha.7(@algolia/client-search@5.20.0)(@types/node@22.15.32)(postcss@8.5.6)(search-insights@2.14.0)(typescript@5.4.5)(yaml@2.8.0): + vitepress@2.0.0-alpha.7(@algolia/client-search@5.20.0)(@types/node@22.15.34)(postcss@8.5.6)(search-insights@2.14.0)(typescript@5.4.5)(yaml@2.8.0): dependencies: '@docsearch/css': 3.9.0 '@docsearch/js': 3.9.0(@algolia/client-search@5.20.0)(search-insights@2.14.0) @@ -5793,7 +5808,7 @@ snapshots: '@shikijs/core': 3.7.0 '@shikijs/transformers': 3.7.0 '@shikijs/types': 3.7.0 - '@vitejs/plugin-vue': 6.0.0(vite@7.0.0(@types/node@22.15.32)(yaml@2.8.0))(vue@3.5.17(typescript@5.4.5)) + '@vitejs/plugin-vue': 6.0.0(vite@7.0.0(@types/node@22.15.34)(yaml@2.8.0))(vue@3.5.17(typescript@5.4.5)) '@vue/devtools-api': 7.7.7 '@vue/shared': 3.5.17 '@vueuse/core': 13.4.0(vue@3.5.17(typescript@5.4.5)) @@ -5802,7 +5817,7 @@ snapshots: mark.js: 8.11.1 minisearch: 7.1.2 shiki: 3.7.0 - vite: 7.0.0(@types/node@22.15.32)(yaml@2.8.0) + vite: 7.0.0(@types/node@22.15.34)(yaml@2.8.0) vue: 3.5.17(typescript@5.4.5) optionalDependencies: postcss: 8.5.6