From e7cb976b9b0cd95eb5f521a1f1263a2374ea33d3 Mon Sep 17 00:00:00 2001 From: Wassim SAMAD Date: Mon, 18 May 2026 10:11:21 -0400 Subject: [PATCH] nodes: declare lucide-react as peer dependency The Stage E kind-owned panels (slab/ceiling) import lucide icons. Without peerDependencies declaring lucide-react, consumers bundling nodes/dist//panel.js fail with "Module not found: Can't resolve 'lucide-react'" because the bundler has no signal that nodes needs it. Matches the same pattern @react-three/drei + @react-three/fiber already use here. Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/nodes/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nodes/package.json b/packages/nodes/package.json index dbd4d42a..0fbfb28f 100644 --- a/packages/nodes/package.json +++ b/packages/nodes/package.json @@ -28,6 +28,7 @@ "@pascal-app/viewer": "^0.8.0", "@react-three/drei": "^10", "@react-three/fiber": "^9", + "lucide-react": "^1", "react": "^18 || ^19", "three": "^0.184" },