17 lines
831 B
Plaintext
17 lines
831 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-05-18T12:22:03.557Z
|
|
Found: 7 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. Processed 121 files (1.2s) (30 warnings)
|
|
2. 1) data/equipment/index.ts > data/equipment/utils.ts
|
|
3. 2) data/golems/index.ts > data/golems/utils.ts
|
|
4. 3) stores/combatStore.ts > stores/combat-actions.ts
|
|
5. 4) stores/combatStore.ts > stores/gameStore.ts
|
|
6. 5) stores/combatStore.ts > stores/gameStore.ts > stores/gameActions.ts
|
|
7. 6) stores/combatStore.ts > stores/gameStore.ts > stores/gameLoopActions.ts
|
|
|
|
## How to fix
|
|
1. Identify which import in the chain can be extracted to a shared types/utils file.
|
|
2. Move the shared type or function there.
|
|
3. Both files import from the new shared module instead of each other.
|
|
4. Run: bunx madge --circular src/lib/game (should return clean) |