From 39b21bb5c17b5a46a82bc1fedbeef0bc9e47ca90 Mon Sep 17 00:00:00 2001 From: arlo Date: Thu, 28 Nov 2024 22:59:51 +0800 Subject: [PATCH] fix(vite): pin `vite-plugin-inspect` to be compatible with both vite 5 & 6, close #716 --- packages/playground/applet/package.json | 2 +- packages/playground/basic/package.json | 2 +- packages/playground/multi-app/package.json | 2 +- packages/vite/package.json | 2 +- pnpm-lock.yaml | 26 +++++++++++----------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/playground/applet/package.json b/packages/playground/applet/package.json index f924c9a87..393ccf79e 100644 --- a/packages/playground/applet/package.json +++ b/packages/playground/applet/package.json @@ -28,7 +28,7 @@ "typescript": "^5.7.2", "unocss": "^0.64.1", "vite": "^6.0.1", - "vite-plugin-inspect": "^0.10.1", + "vite-plugin-inspect": "0.8.8", "vite-plugin-vue-devtools": "workspace:*" } } diff --git a/packages/playground/basic/package.json b/packages/playground/basic/package.json index 2d7f98d7a..e936c7f85 100644 --- a/packages/playground/basic/package.json +++ b/packages/playground/basic/package.json @@ -27,7 +27,7 @@ "typescript": "^5.7.2", "unocss": "^0.64.1", "vite": "^6.0.1", - "vite-plugin-inspect": "^0.10.1", + "vite-plugin-inspect": "0.8.8", "vite-plugin-vue-devtools": "workspace:*" } } diff --git a/packages/playground/multi-app/package.json b/packages/playground/multi-app/package.json index 87b476468..e41c3bc61 100644 --- a/packages/playground/multi-app/package.json +++ b/packages/playground/multi-app/package.json @@ -20,7 +20,7 @@ "typescript": "^5.7.2", "unocss": "^0.64.1", "vite": "^6.0.1", - "vite-plugin-inspect": "^0.10.1", + "vite-plugin-inspect": "0.8.8", "vite-plugin-vue-devtools": "workspace:*" } } diff --git a/packages/vite/package.json b/packages/vite/package.json index ebb515c8b..241b19197 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -55,7 +55,7 @@ "@vue/devtools-shared": "workspace:^", "execa": "^9.5.1", "sirv": "^3.0.0", - "vite-plugin-inspect": "^0.10.1", + "vite-plugin-inspect": "0.8.8", "vite-plugin-vue-inspector": "^5.3.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 854bef30f..33f078183 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -579,8 +579,8 @@ importers: specifier: ^6.0.1 version: 6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0) vite-plugin-inspect: - specifier: ^0.10.1 - version: 0.10.1(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)) + specifier: 0.8.8 + version: 0.8.8(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)) vite-plugin-vue-devtools: specifier: workspace:* version: link:../../vite @@ -643,8 +643,8 @@ importers: specifier: ^6.0.1 version: 6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0) vite-plugin-inspect: - specifier: ^0.10.1 - version: 0.10.1(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)) + specifier: 0.8.8 + version: 0.8.8(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)) vite-plugin-vue-devtools: specifier: workspace:* version: link:../../vite @@ -686,8 +686,8 @@ importers: specifier: ^6.0.1 version: 6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0) vite-plugin-inspect: - specifier: ^0.10.1 - version: 0.10.1(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)) + specifier: 0.8.8 + version: 0.8.8(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)) vite-plugin-vue-devtools: specifier: workspace:* version: link:../../vite @@ -859,8 +859,8 @@ importers: specifier: ^3.1.0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.0-0 version: 5.4.11(@types/node@22.10.1)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0) vite-plugin-inspect: - specifier: ^0.10.1 - version: 0.10.1(rollup@4.24.4)(vite@5.4.11(@types/node@22.10.1)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)) + specifier: 0.8.8 + version: 0.8.8(rollup@4.24.4)(vite@5.4.11(@types/node@22.10.1)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)) vite-plugin-vue-inspector: specifier: ^5.3.1 version: 5.3.1(vite@5.4.11(@types/node@22.10.1)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)) @@ -8985,12 +8985,12 @@ packages: vite: optional: true - vite-plugin-inspect@0.10.1: - resolution: {integrity: sha512-psgxZmE3qL5w/B9sgG+AEG06VhO/SDqf+Rd2Zztu5YdigIjBPdvA86z8yaLj5S/HXfYTk2Y3zu58QiwuLf/jqw==} + vite-plugin-inspect@0.8.8: + resolution: {integrity: sha512-aZlBuXsWUPJFmMK92GIv6lH7LrwG2POu4KJ+aEdcqnu92OAf+rhBnfMDQvxIJPEB7hE2t5EyY/PMgf5aDLT8EA==} engines: {node: '>=14'} peerDependencies: '@nuxt/kit': '*' - vite: ^6.0.0 + vite: ^3.1.0 || ^4.0.0 || ^5.0.0-0 peerDependenciesMeta: '@nuxt/kit': optional: true @@ -18566,7 +18566,7 @@ snapshots: - rollup - supports-color - vite-plugin-inspect@0.10.1(rollup@4.24.4)(vite@5.4.11(@types/node@22.10.1)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)): + vite-plugin-inspect@0.8.8(rollup@4.24.4)(vite@5.4.11(@types/node@22.10.1)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.24.4) @@ -18582,7 +18582,7 @@ snapshots: - rollup - supports-color - vite-plugin-inspect@0.10.1(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)): + vite-plugin-inspect@0.8.8(rollup@4.24.4)(vite@6.0.1(@types/node@22.10.1)(jiti@2.0.0)(sass-embedded@1.81.0)(sass@1.80.3)(terser@5.26.0)(tsx@4.19.2)(yaml@2.5.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.24.4)