Files
Mana-Loop/docs/circular-deps.txt
T
n8n-gitea 56ac50f465
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
refactor: break circular deps in equipment and golems data modules
2026-05-20 12:00:46 +02:00

13 lines
573 B
Plaintext

# Circular Dependencies
Generated: 2026-05-20T07:28:09.937Z
Found: 3 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 125 files (1.3s) (4 warnings)
2. 1) data/equipment/index.ts > data/equipment/utils.ts
3. 2) data/golems/index.ts > data/golems/utils.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)