d7b822d965
- pact-utils.ts: Replace GUARDIANS[floor] with getGuardianForFloor() so pact multipliers work for extended guardians (floors 110+) - SpireSummaryTab.tsx: Use getGuardianForFloor()/getAllGuardianFloors() instead of static GUARDIANS constant; update type annotations to GuardianDef - PactDebug.tsx: Use unified guardian lookup; add null guards for getGuardianForFloor return type - PactDebugSection.tsx: Use unified guardian lookup; add null guards for getGuardianForFloor return type
14 lines
623 B
Plaintext
14 lines
623 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-05-23T11:46:22.135Z
|
|
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. Processed 129 files (1.5s) (3 warnings)
|
|
2. 1) stores/gameStore.ts > stores/gameActions.ts
|
|
3. 2) stores/gameStore.ts > stores/gameLoopActions.ts
|
|
4. 3) stores/gameStore.ts > stores/tick-pipeline.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) |