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/<kind>/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) <noreply@anthropic.com>
This commit is contained in:
Wassim SAMAD
2026-05-18 10:11:21 -04:00
co-authored by Claude Opus 4.7
parent 3c37ff009b
commit e7cb976b9b
+1
View File
@@ -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"
},