Files
Mana-Loop/docs/circular-deps.txt
T
n8n-gitea 742a992d59
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m34s
refactor: eliminate as any type casts across 18 source files
- Fix computeDisciplineEffects() to not require GameState parameter
- Fix getUnifiedEffects() to accept proper partial state type
- Replace upgradeEffects as any with proper UnifiedEffects type
- Replace explicit : any annotations with proper types (ComputedEffects, DesignProgress, SpellDef, etc.)
- Fix activity-log.ts eventType casting
- Fix crafting-design.ts computedEffects and designProgress types
- Fix page.tsx grimoire spell rendering with proper SpellDef property names
- Fix StatsTab ManaStatsSection with proper ManaStatsEffects interface
- Remove unused imports (useDisciplineStore from page.tsx, LeftPanel.tsx)

Remaining: 1 as any in craftingStore.ts (pre-existing CraftingStore/GameState architectural mismatch)
2026-05-20 17:22:52 +02:00

11 lines
467 B
Plaintext

# Circular Dependencies
Generated: 2026-05-20T13:20:47.227Z
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 125 files (1.4s) (4 warnings)
## 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)