refactor: wire design-actions.ts into craftingStore.ts, remove dead code
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
- Delegates startDesigningEnchantment, cancelDesign, saveDesign, deleteDesign to design-actions.ts - Passes enchanter level from attunement store to startDesigningEnchantment (fixes hardcoded 0) - Removes orphaned disenchant-actions.ts (preparation phase handles recovery inline) - Removes unused imports (CraftingUtils, CraftingDesign, useUIStore) - Updates regression test to check design-actions.ts instead of craftingStore.ts
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-14T21:49:16.203Z
|
||||
Generated: 2026-06-15T08:59:04.077Z
|
||||
Found: 7 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
|
||||
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"_meta": {
|
||||
"generated": "2026-06-14T21:49:13.932Z",
|
||||
"generated": "2026-06-15T08:59:01.387Z",
|
||||
"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."
|
||||
},
|
||||
@@ -542,6 +542,7 @@
|
||||
"stores/attunementStore.ts",
|
||||
"stores/combatStore.ts",
|
||||
"stores/craftingStore.ts",
|
||||
"stores/discipline-slice.ts",
|
||||
"stores/gameStore.ts",
|
||||
"stores/manaStore.ts",
|
||||
"stores/prestigeStore.ts",
|
||||
|
||||
@@ -293,7 +293,6 @@ Mana-Loop/
|
||||
│ │ │ │ ├── crafting-equipment-actions.ts
|
||||
│ │ │ │ ├── crafting-material-actions.ts
|
||||
│ │ │ │ ├── design-actions.ts
|
||||
│ │ │ │ ├── disenchant-actions.ts
|
||||
│ │ │ │ ├── equipment-actions.ts
|
||||
│ │ │ │ ├── index.ts
|
||||
│ │ │ │ └── preparation-actions.ts
|
||||
|
||||
Reference in New Issue
Block a user