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 <noreply@anthropic.com>
This commit is contained in:
Lum1104
2026-03-16 12:23:48 +08:00
Unverified
parent 4e9539b20d
commit 5c0afb35ff
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -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"
}
]
+1 -1
View File
@@ -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",
@@ -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(),