From a11c692c99825a55d860b3fc20fe64735c0f7f2e Mon Sep 17 00:00:00 2001 From: Lum1104 Date: Sun, 3 May 2026 10:46:53 +0800 Subject: [PATCH] chore(dashboard): add graphology-types as direct dep Code review flagged that without it as a direct dep, TypeScript would fail to resolve types like Attributes/NodeKey from transitive graphology-types when later tasks import them. Co-Authored-By: Claude Opus 4.7 (1M context) --- pnpm-lock.yaml | 3 +++ understand-anything-plugin/packages/dashboard/package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 64dddbd..b86b7a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,6 +124,9 @@ importers: graphology-communities-louvain: specifier: ^2.0.1 version: 2.0.2(graphology-types@0.24.8) + graphology-types: + specifier: ^0.24.8 + version: 0.24.8 hast-util-to-jsx-runtime: specifier: ^2.3.6 version: 2.3.6 diff --git a/understand-anything-plugin/packages/dashboard/package.json b/understand-anything-plugin/packages/dashboard/package.json index 626db7d..7b2b54e 100644 --- a/understand-anything-plugin/packages/dashboard/package.json +++ b/understand-anything-plugin/packages/dashboard/package.json @@ -20,6 +20,7 @@ "elkjs": "^0.9.3", "graphology": "^0.25.4", "graphology-communities-louvain": "^2.0.1", + "graphology-types": "^0.24.8", "hast-util-to-jsx-runtime": "^2.3.6", "prism-react-renderer": "^2.4.1", "react": "^19.0.0",