aube licenses command groups all deps under UNKNOWN when using nodeLinker = "hoisted"
#1182
|
Reproducer: https://github.com/marcospereira/aube-licenses-cmd It happens with 1.33.1, 1.34.0 and 1.35.0. Didn't test with older versions of Aube. When removing |
Replies: 1 comment
|
Thanks for the reproducer. Confirmed: I opened draft PR #1183 with a fix: #1183 The fix uses the layout recorded by the completed install (including a one-shot AI-assisted — Tool: Codex; model: unavailable/unavailable; version: unavailable. |
Thanks for the reproducer. Confirmed:
aube licensesalways derived paths from the isolated virtual store, but a hoisted install places packages directly in the realnode_modulestree, so every manifest read fell back toUNKNOWN.I opened draft PR #1183 with a fix: #1183
The fix uses the layout recorded by the completed install (including a one-shot
--node-linker=hoistedoverride), reconstructs the actual hoisted placements from the full graph, and adds regression coverage for both root and nested hoisted dependencies. The focused unit tests, licenses BATS suite, formatting, and Clippy all pass.AI-assisted — Tool: Codex; model: unavailable/unavailable; version: unavailable.