fix: add missing calcMeleeDamage barrel export in utils/index.ts
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m19s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m19s
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-04T17:28:40.127Z
|
||||
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
Generated: 2026-06-04T17:32:36.437Z
|
||||
|
||||
1. 1) stores/combat-descent-actions.ts > stores/non-combat-room-actions.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)
|
||||
No circular dependencies found. ✅
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"_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.",
|
||||
"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": [
|
||||
"constants.ts",
|
||||
"stores/attunementStore.ts",
|
||||
"stores/combat-descent-actions.ts",
|
||||
"stores/combat-state.types.ts",
|
||||
"stores/discipline-slice.ts",
|
||||
"stores/manaStore.ts"
|
||||
|
||||
@@ -21,6 +21,7 @@ export {
|
||||
getMultiElementBonus,
|
||||
getBoonBonuses,
|
||||
calcDamage,
|
||||
calcMeleeDamage,
|
||||
calcInsight,
|
||||
getIncursionStrength,
|
||||
canAffordSpellCost,
|
||||
|
||||
Reference in New Issue
Block a user