From 42d4a6e045799cbfe931e2991e9a56dd2113ab8b Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Thu, 23 Nov 2023 09:43:29 +0100 Subject: [PATCH] chore: fix pending Vite 5 Solid plugin support --- docs/package.json | 2 +- packages/solid/playground/vite.config.ts | 1 + pnpm-lock.yaml | 24 +++++++----------------- 3 files changed, 9 insertions(+), 18 deletions(-) diff --git a/docs/package.json b/docs/package.json index 59c8e0b..7ed7ad3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -10,6 +10,6 @@ "devDependencies": { "@iconify-json/carbon": "^1.1.21", "unocss": "^0.57.7", - "vitepress": "1.0.0-rc.24" + "vitepress": "1.0.0-rc.29" } } diff --git a/packages/solid/playground/vite.config.ts b/packages/solid/playground/vite.config.ts index 2015f2f..738405a 100644 --- a/packages/solid/playground/vite.config.ts +++ b/packages/solid/playground/vite.config.ts @@ -5,6 +5,7 @@ import solid from 'vite-plugin-solid' const currentDir = new URL('.', import.meta.url).pathname export default defineConfig({ + // @ts-expect-error: Vite 5 support pending plugins: [solid()], // Custom alias for unlazy until Jiti issue is resolved diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 860cb9d..84e61be 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,8 +68,8 @@ importers: specifier: ^0.57.7 version: 0.57.7(postcss@8.4.31)(rollup@3.29.4)(vite@5.0.2) vitepress: - specifier: 1.0.0-rc.24 - version: 1.0.0-rc.24(@algolia/client-search@4.20.0)(@types/node@20.9.4)(postcss@8.4.31)(search-insights@2.11.0)(typescript@5.2.2) + specifier: 1.0.0-rc.29 + version: 1.0.0-rc.29(@algolia/client-search@4.20.0)(@types/node@20.9.4)(postcss@8.4.31)(search-insights@2.11.0)(typescript@5.2.2) packages/core: devDependencies: @@ -3277,17 +3277,6 @@ packages: - supports-color dev: true - /@vitejs/plugin-vue@4.3.1(vite@4.5.0)(vue@3.3.8): - resolution: {integrity: sha512-tUBEtWcF7wFtII7ayNiLNDTCE1X1afySEo+XNVMNkFXaThENyCowIEX095QqbJZGTgoOcSVDJGlnde2NG4jtbQ==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - vite: ^4.0.0 - vue: ^3.2.25 - dependencies: - vite: 4.5.0(@types/node@20.9.4) - vue: 3.3.8(typescript@5.2.2) - dev: true - /@vitejs/plugin-vue@4.5.0(vite@4.5.0)(vue@3.3.8): resolution: {integrity: sha512-a2WSpP8X8HTEww/U00bU4mX1QpLINNuz/2KMNpLsdu3BzOpak3AGI1CJYBTXcc4SPhaD0eNRUp7IyQK405L5dQ==} engines: {node: ^14.18.0 || >=16.0.0} @@ -10194,8 +10183,8 @@ packages: vite: 4.5.0(@types/node@20.9.4) dev: true - /vitepress@1.0.0-rc.24(@algolia/client-search@4.20.0)(@types/node@20.9.4)(postcss@8.4.31)(search-insights@2.11.0)(typescript@5.2.2): - resolution: {integrity: sha512-RpnL8cnOGwiRlBbrYQUm9sYkJbtyOt/wYXk2diTcokY4yvks/5lq9LuSt+MURWB6ZqwpSNHvTmxgaSfLoG0/OA==} + /vitepress@1.0.0-rc.29(@algolia/client-search@4.20.0)(@types/node@20.9.4)(postcss@8.4.31)(search-insights@2.11.0)(typescript@5.2.2): + resolution: {integrity: sha512-6sKmyEvH16SgMqkHzRwwadt9Uju13AOIqouzOVEg3Rk6X9mds6jLsq2GxnAJvg0s6bl/0Qs/cw+f8SNki82ltw==} hasBin: true peerDependencies: markdown-it-mathjax3: ^4.3.2 @@ -10209,16 +10198,17 @@ packages: '@docsearch/css': 3.5.2 '@docsearch/js': 3.5.2(@algolia/client-search@4.20.0)(search-insights@2.11.0) '@types/markdown-it': 13.0.7 - '@vitejs/plugin-vue': 4.3.1(vite@4.5.0)(vue@3.3.8) + '@vitejs/plugin-vue': 4.5.0(vite@5.0.2)(vue@3.3.8) '@vue/devtools-api': 6.5.1 '@vueuse/core': 10.6.1(vue@3.3.8) '@vueuse/integrations': 10.6.1(focus-trap@7.5.4)(vue@3.3.8) focus-trap: 7.5.4 mark.js: 8.11.1 minisearch: 6.3.0 + mrmime: 1.0.1 postcss: 8.4.31 shiki: 0.14.5 - vite: 4.5.0(@types/node@20.9.4) + vite: 5.0.2(@types/node@20.9.4) vue: 3.3.8(typescript@5.2.2) transitivePeerDependencies: - '@algolia/client-search'