diff --git a/packages/bundler-vite/client.d.ts b/packages/bundler-vite/client.d.ts index 11f02fe2a0..36fb3b9a4f 100644 --- a/packages/bundler-vite/client.d.ts +++ b/packages/bundler-vite/client.d.ts @@ -1 +1 @@ -/// +/// diff --git a/packages/bundler-vite/package.json b/packages/bundler-vite/package.json index 1a40ba3125..3ab7400475 100644 --- a/packages/bundler-vite/package.json +++ b/packages/bundler-vite/package.json @@ -35,19 +35,15 @@ "clean": "rimraf dist" }, "dependencies": { - "@vitejs/plugin-vue": "^5.0.5", "@vuepress/client": "workspace:*", "@vuepress/core": "workspace:*", - "@vuepress/shared": "workspace:*", "@vuepress/utils": "workspace:*", - "autoprefixer": "^10.4.19", - "connect-history-api-fallback": "^2.0.0", - "postcss": "^8.4.38", - "postcss-load-config": "^6.0.1", - "rollup": "^4.18.0", + "@vuepress/vite-kit": "workspace:*", "vite": "~5.3.1", - "vue": "^3.4.29", - "vue-router": "^4.3.3" + "vue": "^3.4.29" + }, + "devDependencies": { + "rollup": "^4.18.0" }, "publishConfig": { "access": "public" diff --git a/packages/bundler-vite/src/build/build.ts b/packages/bundler-vite/src/build.ts similarity index 94% rename from packages/bundler-vite/src/build/build.ts rename to packages/bundler-vite/src/build.ts index 4b90aa5137..a38722c438 100644 --- a/packages/bundler-vite/src/build/build.ts +++ b/packages/bundler-vite/src/build.ts @@ -1,11 +1,11 @@ import type { CreateVueAppFunction } from '@vuepress/client' import type { App, Bundler } from '@vuepress/core' import { colors, debug, fs, importFile, withSpinner } from '@vuepress/utils' +import { renderPage } from '@vuepress/vite-kit' import type { OutputAsset, OutputChunk, RollupOutput } from 'rollup' import { build as viteBuild } from 'vite' -import { resolveViteConfig } from '../resolveViteConfig.js' -import type { ViteBundlerOptions } from '../types.js' -import { renderPage } from './renderPage.js' +import { resolveViteConfig } from './resolveViteConfig.js' +import type { ViteBundlerOptions } from './types.js' const log = debug('vuepress:bundler-vite/build') diff --git a/packages/bundler-vite/src/build/index.ts b/packages/bundler-vite/src/build/index.ts deleted file mode 100644 index 33b5713ae3..0000000000 --- a/packages/bundler-vite/src/build/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './build.js' diff --git a/packages/bundler-vite/src/plugins/index.ts b/packages/bundler-vite/src/plugins/index.ts index 396d670398..febec56f2f 100644 --- a/packages/bundler-vite/src/plugins/index.ts +++ b/packages/bundler-vite/src/plugins/index.ts @@ -1,3 +1 @@ -export * from './vuepressMainPlugin.js' export * from './vuepressUserConfigPlugin.js' -export * from './vuepressVuePlugin.js' diff --git a/packages/bundler-vite/src/resolveViteConfig.ts b/packages/bundler-vite/src/resolveViteConfig.ts index ee18480c1e..7b59ec7e2a 100644 --- a/packages/bundler-vite/src/resolveViteConfig.ts +++ b/packages/bundler-vite/src/resolveViteConfig.ts @@ -1,11 +1,8 @@ import type { App } from '@vuepress/core' +import { vuepressMainPlugin, vuepressVuePlugin } from '@vuepress/vite-kit' import type { InlineConfig } from 'vite' import { mergeConfig } from 'vite' -import { - vuepressMainPlugin, - vuepressUserConfigPlugin, - vuepressVuePlugin, -} from './plugins/index.js' +import { vuepressUserConfigPlugin } from './plugins/index.js' import type { ViteBundlerOptions } from './types.js' export const resolveViteConfig = async ({ @@ -28,7 +25,7 @@ export const resolveViteConfig = async ({ charset: 'utf8', }, plugins: [ - vuepressVuePlugin(options), + vuepressVuePlugin(options.vuePluginOptions ?? {}), vuepressMainPlugin({ app, isBuild, isServer }), vuepressUserConfigPlugin(options), ], diff --git a/packages/bundler-vite/src/types.ts b/packages/bundler-vite/src/types.ts index c6f968edf1..f546e26c15 100644 --- a/packages/bundler-vite/src/types.ts +++ b/packages/bundler-vite/src/types.ts @@ -1,4 +1,4 @@ -import type { Options as VuePluginOptions } from '@vitejs/plugin-vue' +import type { VuePluginOptions } from '@vuepress/vite-kit' import type { InlineConfig } from 'vite' /** diff --git a/packages/bundler-vite/src/viteBundler.ts b/packages/bundler-vite/src/viteBundler.ts index d8e85898a1..f94aad3376 100644 --- a/packages/bundler-vite/src/viteBundler.ts +++ b/packages/bundler-vite/src/viteBundler.ts @@ -1,5 +1,5 @@ import type { Bundler } from '@vuepress/core' -import { build } from './build/index.js' +import { build } from './build.js' import { dev } from './dev.js' import type { ViteBundlerOptions } from './types.js' diff --git a/packages/vite-kit/README.md b/packages/vite-kit/README.md new file mode 100644 index 0000000000..48b2cc7843 --- /dev/null +++ b/packages/vite-kit/README.md @@ -0,0 +1,12 @@ +# @vuepress/vite-kit + +[![npm](https://badgen.net/npm/v/@vuepress/bundler-vite/next)](https://www.npmjs.com/package/@vuepress/vite-kit) +[![license](https://badgen.net/github/license/vuepress/core)](https://github.com/vuepress/core/blob/main/LICENSE) + +## Documentation + +https://v2.vuepress.vuejs.org + +## License + +[MIT](https://github.com/vuepress/core/blob/main/LICENSE) diff --git a/packages/vite-kit/client.d.ts b/packages/vite-kit/client.d.ts new file mode 100644 index 0000000000..36fb3b9a4f --- /dev/null +++ b/packages/vite-kit/client.d.ts @@ -0,0 +1 @@ +/// diff --git a/packages/vite-kit/package.json b/packages/vite-kit/package.json new file mode 100644 index 0000000000..a9464f6be2 --- /dev/null +++ b/packages/vite-kit/package.json @@ -0,0 +1,67 @@ +{ + "name": "@vuepress/vite-kit", + "version": "2.0.0-rc.14", + "description": "Utils for vite-compatible VuePress bundlers", + "keywords": [ + "vuepress", + "vite" + ], + "homepage": "https://github.com/vuepress", + "bugs": { + "url": "https://github.com/vuepress/core/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/vuepress/core.git" + }, + "license": "MIT", + "author": "meteorlxy", + "type": "module", + "exports": { + ".": "./dist/index.js", + "./client": "./client.d.ts", + "./package.json": "./package.json" + }, + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "files": [ + "dist", + "client.d.ts" + ], + "scripts": { + "build": "tsup", + "clean": "rimraf dist" + }, + "dependencies": { + "@vitejs/plugin-vue": "^5.0.5", + "@vuepress/client": "workspace:*", + "@vuepress/core": "workspace:*", + "@vuepress/shared": "workspace:*", + "@vuepress/utils": "workspace:*", + "autoprefixer": "^10.4.19", + "connect-history-api-fallback": "^2.0.0", + "postcss": "^8.4.38", + "postcss-load-config": "^6.0.1", + "rollup": "^4.18.0", + "vite": "~5.3.1", + "vue": "^3.4.29", + "vue-router": "^4.3.3" + }, + "publishConfig": { + "access": "public" + }, + "tsup": { + "clean": true, + "dts": "./src/index.ts", + "entry": [ + "./src/index.ts" + ], + "format": [ + "esm" + ], + "outDir": "./dist", + "sourcemap": false, + "target": "es2022", + "tsconfig": "../../tsconfig.dts.json" + } +} diff --git a/packages/vite-kit/src/build/index.ts b/packages/vite-kit/src/build/index.ts new file mode 100644 index 0000000000..03c4476bbb --- /dev/null +++ b/packages/vite-kit/src/build/index.ts @@ -0,0 +1,6 @@ +export * from './renderPage.js' +export * from './renderPagePrefetchLinks.js' +export * from './renderPagePreloadLinks.js' +export * from './renderPageScripts.js' +export * from './renderPageStyles.js' +export * from './resolvePageChunkFiles.js' diff --git a/packages/bundler-vite/src/build/renderPage.ts b/packages/vite-kit/src/build/renderPage.ts similarity index 100% rename from packages/bundler-vite/src/build/renderPage.ts rename to packages/vite-kit/src/build/renderPage.ts diff --git a/packages/bundler-vite/src/build/renderPagePrefetchLinks.ts b/packages/vite-kit/src/build/renderPagePrefetchLinks.ts similarity index 100% rename from packages/bundler-vite/src/build/renderPagePrefetchLinks.ts rename to packages/vite-kit/src/build/renderPagePrefetchLinks.ts diff --git a/packages/bundler-vite/src/build/renderPagePreloadLinks.ts b/packages/vite-kit/src/build/renderPagePreloadLinks.ts similarity index 100% rename from packages/bundler-vite/src/build/renderPagePreloadLinks.ts rename to packages/vite-kit/src/build/renderPagePreloadLinks.ts diff --git a/packages/bundler-vite/src/build/renderPageScripts.ts b/packages/vite-kit/src/build/renderPageScripts.ts similarity index 100% rename from packages/bundler-vite/src/build/renderPageScripts.ts rename to packages/vite-kit/src/build/renderPageScripts.ts diff --git a/packages/bundler-vite/src/build/renderPageStyles.ts b/packages/vite-kit/src/build/renderPageStyles.ts similarity index 100% rename from packages/bundler-vite/src/build/renderPageStyles.ts rename to packages/vite-kit/src/build/renderPageStyles.ts diff --git a/packages/bundler-vite/src/build/resolvePageChunkFiles.ts b/packages/vite-kit/src/build/resolvePageChunkFiles.ts similarity index 100% rename from packages/bundler-vite/src/build/resolvePageChunkFiles.ts rename to packages/vite-kit/src/build/resolvePageChunkFiles.ts diff --git a/packages/vite-kit/src/index.ts b/packages/vite-kit/src/index.ts new file mode 100644 index 0000000000..5fc747dca4 --- /dev/null +++ b/packages/vite-kit/src/index.ts @@ -0,0 +1,3 @@ +export type { Options as VuePluginOptions } from '@vitejs/plugin-vue' +export * from './build/index.js' +export * from './plugins/index.js' diff --git a/packages/vite-kit/src/plugins/index.ts b/packages/vite-kit/src/plugins/index.ts new file mode 100644 index 0000000000..d9016ece4e --- /dev/null +++ b/packages/vite-kit/src/plugins/index.ts @@ -0,0 +1,2 @@ +export * from './vuepressMainPlugin.js' +export * from './vuepressVuePlugin.js' diff --git a/packages/bundler-vite/src/plugins/vuepressMainPlugin.ts b/packages/vite-kit/src/plugins/vuepressMainPlugin.ts similarity index 100% rename from packages/bundler-vite/src/plugins/vuepressMainPlugin.ts rename to packages/vite-kit/src/plugins/vuepressMainPlugin.ts diff --git a/packages/bundler-vite/src/plugins/vuepressVuePlugin.ts b/packages/vite-kit/src/plugins/vuepressVuePlugin.ts similarity index 79% rename from packages/bundler-vite/src/plugins/vuepressVuePlugin.ts rename to packages/vite-kit/src/plugins/vuepressVuePlugin.ts index 35d72951de..f100d5e58c 100644 --- a/packages/bundler-vite/src/plugins/vuepressVuePlugin.ts +++ b/packages/vite-kit/src/plugins/vuepressVuePlugin.ts @@ -1,16 +1,16 @@ import vuePlugin from '@vitejs/plugin-vue' import type { Plugin } from 'vite' import type { AssetURLOptions, AssetURLTagConfig } from 'vue/compiler-sfc' -import type { ViteBundlerOptions } from '../types.js' +import type { VuePluginOptions } from '../types.js' /** * Wrapper of official vue plugin */ -export const vuepressVuePlugin = (options: ViteBundlerOptions): Plugin => { +export const vuepressVuePlugin = (options: VuePluginOptions): Plugin => { return vuePlugin({ - ...options.vuePluginOptions, + ...options, template: { - ...options.vuePluginOptions?.template, + ...options?.template, transformAssetUrls: resolveTransformAssetUrls(options), }, }) @@ -28,14 +28,13 @@ const isAssetURLTagConfig = ( * Resolve `template.transformAssetUrls` option from user config */ const resolveTransformAssetUrls = ( - options: ViteBundlerOptions, + options: VuePluginOptions, ): AssetURLOptions => { // default transformAssetUrls option const defaultTransformAssetUrls = { includeAbsolute: true } // user provided transformAssetUrls option - const { transformAssetUrls: userTransformAssetUrls } = - options.vuePluginOptions?.template ?? {} + const { transformAssetUrls: userTransformAssetUrls } = options?.template ?? {} // if user does not provide an object as transformAssetUrls if (typeof userTransformAssetUrls !== 'object') { diff --git a/packages/vite-kit/src/types.ts b/packages/vite-kit/src/types.ts new file mode 100644 index 0000000000..99ae34cab9 --- /dev/null +++ b/packages/vite-kit/src/types.ts @@ -0,0 +1 @@ +export type { Options as VuePluginOptions } from '@vitejs/plugin-vue' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d713d79b3..72d6c022ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -117,45 +117,28 @@ importers: packages/bundler-vite: dependencies: - '@vitejs/plugin-vue': - specifier: ^5.0.5 - version: 5.0.5(vite@5.3.1(@types/node@20.14.7)(lightningcss@1.25.1)(sass@1.77.6)(terser@5.31.1))(vue@3.4.29(typescript@5.5.2)) '@vuepress/client': specifier: workspace:* version: link:../client '@vuepress/core': specifier: workspace:* version: link:../core - '@vuepress/shared': - specifier: workspace:* - version: link:../shared '@vuepress/utils': specifier: workspace:* version: link:../utils - autoprefixer: - specifier: ^10.4.19 - version: 10.4.19(postcss@8.4.38) - connect-history-api-fallback: - specifier: ^2.0.0 - version: 2.0.0 - postcss: - specifier: ^8.4.38 - version: 8.4.38 - postcss-load-config: - specifier: ^6.0.1 - version: 6.0.1(jiti@1.21.6)(postcss@8.4.38)(yaml@2.4.5) - rollup: - specifier: ^4.18.0 - version: 4.18.0 + '@vuepress/vite-kit': + specifier: workspace:* + version: link:../vite-kit vite: specifier: ~5.3.1 version: 5.3.1(@types/node@20.14.7)(lightningcss@1.25.1)(sass@1.77.6)(terser@5.31.1) vue: specifier: ^3.4.29 version: 3.4.29(typescript@5.5.2) - vue-router: - specifier: ^4.3.3 - version: 4.3.3(vue@3.4.29(typescript@5.5.2)) + devDependencies: + rollup: + specifier: ^4.18.0 + version: 4.18.0 packages/bundler-webpack: dependencies: @@ -396,6 +379,48 @@ importers: specifier: ^2.0.1 version: 2.0.1 + packages/vite-kit: + dependencies: + '@vitejs/plugin-vue': + specifier: ^5.0.5 + version: 5.0.5(vite@5.3.1(@types/node@20.14.7)(lightningcss@1.25.1)(sass@1.77.6)(terser@5.31.1))(vue@3.4.29(typescript@5.5.2)) + '@vuepress/client': + specifier: workspace:* + version: link:../client + '@vuepress/core': + specifier: workspace:* + version: link:../core + '@vuepress/shared': + specifier: workspace:* + version: link:../shared + '@vuepress/utils': + specifier: workspace:* + version: link:../utils + autoprefixer: + specifier: ^10.4.19 + version: 10.4.19(postcss@8.4.38) + connect-history-api-fallback: + specifier: ^2.0.0 + version: 2.0.0 + postcss: + specifier: ^8.4.38 + version: 8.4.38 + postcss-load-config: + specifier: ^6.0.1 + version: 6.0.1(jiti@1.21.6)(postcss@8.4.38)(yaml@2.4.5) + rollup: + specifier: ^4.18.0 + version: 4.18.0 + vite: + specifier: ~5.3.1 + version: 5.3.1(@types/node@20.14.7)(lightningcss@1.25.1)(sass@1.77.6)(terser@5.31.1) + vue: + specifier: ^3.4.29 + version: 3.4.29(typescript@5.5.2) + vue-router: + specifier: ^4.3.3 + version: 4.3.3(vue@3.4.29(typescript@5.5.2)) + packages/vuepress: dependencies: '@vuepress/bundler-vite': @@ -904,46 +929,55 @@ packages: resolution: {integrity: sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.18.0': resolution: {integrity: sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.18.0': resolution: {integrity: sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.18.0': resolution: {integrity: sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-powerpc64le-gnu@4.18.0': resolution: {integrity: sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.18.0': resolution: {integrity: sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.18.0': resolution: {integrity: sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.18.0': resolution: {integrity: sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.18.0': resolution: {integrity: sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.18.0': resolution: {integrity: sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==} @@ -1203,9 +1237,15 @@ packages: '@vue/compiler-core@3.4.29': resolution: {integrity: sha512-TFKiRkKKsRCKvg/jTSSKK7mYLJEQdUiUfykbG49rubC9SfDyvT2JrzTReopWlz2MxqeLyxh9UZhvxEIBgAhtrg==} + '@vue/compiler-core@3.4.31': + resolution: {integrity: sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==} + '@vue/compiler-dom@3.4.29': resolution: {integrity: sha512-A6+iZ2fKIEGnfPJejdB7b1FlJzgiD+Y/sxxKwJWg1EbJu6ZPgzaPQQ51ESGNv0CP6jm6Z7/pO6Ia8Ze6IKrX7w==} + '@vue/compiler-dom@3.4.31': + resolution: {integrity: sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==} + '@vue/compiler-sfc@3.4.29': resolution: {integrity: sha512-zygDcEtn8ZimDlrEQyLUovoWgKQic6aEQqRXce2WXBvSeHbEbcAsXyCk9oG33ZkyWH4sl9D3tkYc1idoOkdqZQ==} @@ -1240,6 +1280,9 @@ packages: '@vue/shared@3.4.29': resolution: {integrity: sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA==} + '@vue/shared@3.4.31': + resolution: {integrity: sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==} + '@vuepress-e2e/conditional-exports@file:e2e/modules/conditional-exports': resolution: {directory: e2e/modules/conditional-exports, type: directory} @@ -3246,24 +3289,28 @@ packages: engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [glibc] lightningcss-linux-arm64-musl@1.25.1: resolution: {integrity: sha512-IhxVFJoTW8wq6yLvxdPvyHv4NjzcpN1B7gjxrY3uaykQNXPHNIpChLB52+wfH+yS58zm1PL4LemUp8u9Cfp6Bw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [musl] lightningcss-linux-x64-gnu@1.25.1: resolution: {integrity: sha512-RXIaru79KrREPEd6WLXfKfIp4QzoppZvD3x7vuTKkDA64PwTzKJ2jaC43RZHRt8BmyIkRRlmywNhTRMbmkPYpA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [glibc] lightningcss-linux-x64-musl@1.25.1: resolution: {integrity: sha512-TdcNqFsAENEEFr8fJWg0Y4fZ/nwuqTRsIr7W7t2wmDUlA8eSXVepeeONYcb+gtTj1RaXn/WgNLB45SFkz+XBZA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [musl] lightningcss-win32-x64-msvc@1.25.1: resolution: {integrity: sha512-9KZZkmmy9oGDSrnyHuxP6iMhbsgChUiu/NSgOx+U1I/wTngBStDf2i2aGRCHvFqj19HqqBEI4WuGVQBa2V6e0A==} @@ -5993,11 +6040,24 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.0 + '@vue/compiler-core@3.4.31': + dependencies: + '@babel/parser': 7.24.7 + '@vue/shared': 3.4.31 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.0 + '@vue/compiler-dom@3.4.29': dependencies: '@vue/compiler-core': 3.4.29 '@vue/shared': 3.4.29 + '@vue/compiler-dom@3.4.31': + dependencies: + '@vue/compiler-core': 3.4.31 + '@vue/shared': 3.4.31 + '@vue/compiler-sfc@3.4.29': dependencies: '@babel/parser': 7.24.7 @@ -6020,8 +6080,8 @@ snapshots: '@vue/language-core@2.0.21(typescript@5.5.2)': dependencies: '@volar/language-core': 2.3.0 - '@vue/compiler-dom': 3.4.29 - '@vue/shared': 3.4.29 + '@vue/compiler-dom': 3.4.31 + '@vue/shared': 3.4.31 computeds: 0.0.1 minimatch: 9.0.4 path-browserify: 1.0.1 @@ -6053,6 +6113,8 @@ snapshots: '@vue/shared@3.4.29': {} + '@vue/shared@3.4.31': {} + '@vuepress-e2e/conditional-exports@file:e2e/modules/conditional-exports': {} '@vuepress-e2e/style-exports@file:e2e/modules/style-exports': {}