b5996d5b6e
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m30s
Replaced computeDisciplineEffects() import in discipline-slice.ts with inline XP bonus calculation using calculateStatBonus from discipline-math. This avoids the circular chain: discipline-effects → discipline-slice → discipline-effects.
11 lines
489 B
Plaintext
11 lines
489 B
Plaintext
# Circular Dependencies
|
|
Generated: 2026-05-28T07:32:48.513Z
|
|
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
|
|
|
|
1. 1) effects/discipline-effects.ts > stores/discipline-slice.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) |