Files
Mana-Loop/docs/circular-deps.txt
T
n8n-gitea 46013a15c8
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
refactor: Replace natural-regen disciplines with mana conversion speed disciplines
- Add conversionRate + sourceManaTypes fields to DisciplineDefinition
- Rewrite elemental-regen.ts: 8 base disciplines now convert raw→element
- Rewrite elemental-regen-advanced.ts: 6 composite/exotic disciplines with proper source recipes
- Update discipline-effects.ts: produce conversion entries instead of regen bonuses
- Update gameStore.ts tick: drain source mana types, add to target element
- Update discipline-slice.ts: gate activation on source mana type access
- Update discipline-math.ts: resolve mana type IDs to 'X mana' display names
- Update DisciplinesTab.tsx: show conversion info, source requirements, and lock state
- Update DisciplineDebugSection.tsx: pass elements to activate()
- Update effects.ts: remove regen_{element} merge (no longer produced)
2026-05-26 20:40:11 +02:00

17 lines
860 B
Plaintext

# Circular Dependencies
Generated: 2026-05-26T16:39:59.755Z
Found: 7 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 135 files (1.5s) (2 warnings)
2. 1) effects/discipline-effects.ts > stores/discipline-slice.ts > stores/combatStore.ts > stores/combat-actions.ts
3. 2) utils/floor-utils.ts > utils/room-utils.ts > utils/enemy-utils.ts
4. 3) utils/floor-utils.ts > utils/room-utils.ts
5. 4) stores/gameStore.ts > stores/gameActions.ts
6. 5) stores/gameStore.ts > stores/gameLoopActions.ts
7. 6) 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)