Lerna vs Nx
Nx file src/utils/versions reaches 555 modules. Lerna file libs/core/src/lib/npmlog/gauge/validate reaches 71 modules.
Snapshot
Stored analysis for both repositories.
ArcSight CLI (simulated)
$ arc analyze lerna
Architecture Score: 94.3
Modules: 353
Cycles: 2
Hotspots: 15
Primary Pattern: Modular Monolith
$ arc analyze nx
Architecture Score: 70.7
Modules: 718
Cycles: 100
Hotspots: 15
Primary Pattern: High Coupling
Snapshot from commit 2a7ecf2 and 78fdfd4. The browser did not re-run the scan.
| Metric | Lerna | Nx |
|---|---|---|
| Architecture score | 94.3 | 70.7 |
| Architecture complexity | 25 | 100 |
| Modules | 353 | 718 |
| Dependency edges | 358 | 3735 |
| Dependency cycles | 2 | 100 |
| Subsystem count | 8 | 3 |
| Duplicate authorities | 5 | 45 |
| Dependency density | 1.0 | 5.2 |