fix: add missing calcMeleeDamage barrel export in utils/index.ts
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m19s

This commit is contained in:
2026-06-04 19:51:49 +02:00
parent b54b10a899
commit 69cc8b78d1
3 changed files with 4 additions and 11 deletions
+2 -9
View File
@@ -1,11 +1,4 @@
# Circular Dependencies # Circular Dependencies
Generated: 2026-06-04T17:28:40.127Z Generated: 2026-06-04T17:32:36.437Z
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
1. 1) stores/combat-descent-actions.ts > stores/non-combat-room-actions.ts No circular dependencies found. ✅
## 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)
+1 -2
View File
@@ -1,6 +1,6 @@
{ {
"_meta": { "_meta": {
"generated": "2026-06-04T17:28:38.180Z", "generated": "2026-06-04T17:32:34.521Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.", "description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry." "usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
}, },
@@ -733,7 +733,6 @@
"stores/non-combat-room-actions.ts": [ "stores/non-combat-room-actions.ts": [
"constants.ts", "constants.ts",
"stores/attunementStore.ts", "stores/attunementStore.ts",
"stores/combat-descent-actions.ts",
"stores/combat-state.types.ts", "stores/combat-state.types.ts",
"stores/discipline-slice.ts", "stores/discipline-slice.ts",
"stores/manaStore.ts" "stores/manaStore.ts"
+1
View File
@@ -21,6 +21,7 @@ export {
getMultiElementBonus, getMultiElementBonus,
getBoonBonuses, getBoonBonuses,
calcDamage, calcDamage,
calcMeleeDamage,
calcInsight, calcInsight,
getIncursionStrength, getIncursionStrength,
canAffordSpellCost, canAffordSpellCost,