refactor: remove legacy store.ts and crafting-slice.ts, complete modular store migration
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
- Delete store.ts (355 LOC monolithic store, zero imports) - Delete crafting-slice.ts (379 LOC legacy crafting module) - Inline createStartingEquipment() into craftingStore.ts - Remove legacy equipment/inventory fields from GameState - Remove EquipmentDef from game.ts imports (unused) - Fix duplicate EquipmentSpellState export in types.ts - Fix bluePrintId typo in craftingStore.ts - Update stores/index.ts to import CraftingState/CraftingActions from craftingStore.types - Update EquipmentTab.test.ts to test store state instead of deleted module - Clean up stale comments referencing crafting-slice.ts - Reduce TS errors from 83 to 72 by removing conflicting legacy types
This commit is contained in:
@@ -15,7 +15,7 @@ export { useCombatStore, makeInitialSpells } from './combatStore';
|
||||
export type { CombatState } from './combat-state.types';
|
||||
|
||||
export { useCraftingStore } from './craftingStore';
|
||||
export type { CraftingState, CraftingActions } from './craftingStore';
|
||||
export type { CraftingState, CraftingActions } from './craftingStore.types';
|
||||
|
||||
export { useAttunementStore } from './attunementStore';
|
||||
export type { AttunementStoreState } from './attunementStore';
|
||||
|
||||
Reference in New Issue
Block a user