From 5c0afb35ffebc372433b49759f3cfcffedd3ff12 Mon Sep 17 00:00:00 2001 From: Lum1104 Date: Mon, 16 Mar 2026 12:23:48 +0800 Subject: [PATCH] fix: resolve plugin installation failures for workspace resolution and missing dependencies Add Vite resolve aliases for core subpath exports (schema, search, types) to fix import resolution on Windows where Node.js package exports are not properly followed by Vite's import analysis. Bump version to 1.0.3. Co-Authored-By: Claude Opus 4.6 --- .claude-plugin/marketplace.json | 2 +- understand-anything-plugin/package.json | 2 +- .../packages/dashboard/vite.config.ts | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index fbec5b4..c1d1868 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -9,7 +9,7 @@ { "name": "understand-anything", "description": "Multi-agent codebase analysis with interactive dashboard, guided tours, and skill commands", - "version": "1.0.2", + "version": "1.0.3", "source": "./understand-anything-plugin" } ] diff --git a/understand-anything-plugin/package.json b/understand-anything-plugin/package.json index adec36d..0aa2376 100644 --- a/understand-anything-plugin/package.json +++ b/understand-anything-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@understand-anything/skill", - "version": "1.0.2", + "version": "1.0.3", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/understand-anything-plugin/packages/dashboard/vite.config.ts b/understand-anything-plugin/packages/dashboard/vite.config.ts index 833d53b..c05bc61 100644 --- a/understand-anything-plugin/packages/dashboard/vite.config.ts +++ b/understand-anything-plugin/packages/dashboard/vite.config.ts @@ -5,6 +5,13 @@ import path from "path"; import fs from "fs"; export default defineConfig({ + resolve: { + alias: { + "@understand-anything/core/schema": path.resolve(__dirname, "../core/dist/schema.js"), + "@understand-anything/core/search": path.resolve(__dirname, "../core/dist/search.js"), + "@understand-anything/core/types": path.resolve(__dirname, "../core/dist/types.js"), + }, + }, plugins: [ react(), tailwindcss(),