fix: resolve plugin installation failures for workspace resolution and missing dependencies

- Add pnpm-workspace.yaml to plugin distribution so workspace:* deps resolve on install
- Add devlop and hast-util-to-jsx-runtime as explicit dashboard dependencies (pnpm strict hoisting)
- Make tsconfig.json files self-contained to work outside monorepo root
- Add prepare script to auto-build core package after pnpm install
- Bump version to 1.0.2
This commit is contained in:
Lum1104
2026-03-15 19:12:55 +08:00
Unverified
parent 99840b16a0
commit bdf6cf6856
8 changed files with 37 additions and 4 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.1",
"version": "1.0.2",
"source": "./understand-anything-plugin"
}
]
+1
View File
@@ -4,6 +4,7 @@
"type": "module",
"packageManager": "pnpm@10.6.2+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b",
"scripts": {
"prepare": "pnpm --filter @understand-anything/core build",
"build": "pnpm -r build",
"test": "vitest",
"dev:dashboard": "pnpm --filter @understand-anything/dashboard dev",
+6
View File
@@ -70,6 +70,12 @@ importers:
'@xyflow/react':
specifier: ^12.0.0
version: 12.10.1(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
devlop:
specifier: ^1.1.0
version: 1.1.0
hast-util-to-jsx-runtime:
specifier: ^2.3.6
version: 2.3.6
react:
specifier: ^19.0.0
version: 19.2.4
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@understand-anything/skill",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -1,6 +1,17 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022"],
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "dist",
"rootDir": "src"
},
@@ -14,6 +14,8 @@
"@xyflow/react": "^12.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"devlop": "^1.1.0",
"hast-util-to-jsx-runtime": "^2.3.6",
"react-markdown": "^10.1.0",
"zustand": "^5.0.0"
},
@@ -0,0 +1,2 @@
packages:
- "packages/*"
+12 -1
View File
@@ -1,6 +1,17 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022"],
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "dist",
"rootDir": "src"
},