refactor: cleanup codebase — remove hydration guards, extract constants, fix bugs
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s

This commit is contained in:
2026-05-26 11:20:36 +02:00
parent 5c64bb00fa
commit b402b8f56e
23 changed files with 579 additions and 979 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
# Circular Dependencies
Generated: 2026-05-25T18:44:15.053Z
Generated: 2026-05-26T08:53:53.586Z
Found: 6 circular chain(s) — these MUST be fixed before modifying involved files.
1. Processed 135 files (1.7s) (2 warnings)
1. Processed 135 files (1.5s) (2 warnings)
2. 1) utils/floor-utils.ts > utils/room-utils.ts > utils/enemy-utils.ts
3. 2) utils/floor-utils.ts > utils/room-utils.ts
4. 3) stores/gameStore.ts > stores/gameActions.ts
+5 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-25T18:44:13.132Z",
"generated": "2026-05-26T08:53:51.901Z",
"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."
},
@@ -123,6 +123,7 @@
"stores/craftingStore.types.ts"
],
"crafting-apply.ts": [
"constants.ts",
"crafting-utils.ts",
"data/attunements.ts",
"data/enchantment-effects.ts",
@@ -135,6 +136,7 @@
"types.ts"
],
"crafting-design.ts": [
"constants.ts",
"data/attunements.ts",
"data/enchantment-effects.ts",
"data/equipment/index.ts",
@@ -143,6 +145,7 @@
"types.ts"
],
"crafting-equipment.ts": [
"constants.ts",
"data/crafting-recipes.ts",
"data/equipment/index.ts",
"types.ts",
@@ -153,6 +156,7 @@
"types.ts"
],
"crafting-prep.ts": [
"constants.ts",
"crafting-utils.ts",
"types.ts"
],