refactor: resolve structural inconsistencies and dead code
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 55s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 55s
- Fix broken barrel exports in components/game/index.ts - Remove skill system from stores (gameStore, gameActions, gameLoopActions, gameHooks, craftingStore, combat) - Remove skill system from components (page.tsx, LeftPanel, StatsTab, SpellsTab, EnchantmentDesigner, EnchantmentPreparer, GameContext/Provider) - Delete dead code: stats/ directory, attunements/ directory, layout/ Header+TabBar, shared/ StudyProgress+UpgradeDialog duplicates, effects.ts.fix, study-slice.ts, navigation-slice.ts - Delete legacy store/ and store-modules/ directories, redirect remaining callers - Merge root formatting.ts into utils/formatting.ts - Move effects files (dynamic-compute, upgrade-effects, special-effects, upgrade-effects.types) into effects/ directory - Move debug-context.tsx into components/game/debug/ - Create tabs/index.ts barrel for tab components - Fix page.tsx lazy imports to use tabs barrel - Fix all broken import paths across codebase - Remove SKILLS_DEF and skill-evolution references - Trim store.ts to under 400 lines by removing dead skill actions
This commit is contained in:
+10
-34
@@ -103,11 +103,13 @@ Mana-Loop/
|
||||
│ │ │ │ ├── GameStateDebug.tsx
|
||||
│ │ │ │ ├── GolemDebug.tsx
|
||||
│ │ │ │ ├── PactDebug.tsx
|
||||
│ │ │ │ ├── debug-context.tsx
|
||||
│ │ │ │ └── index.tsx
|
||||
│ │ │ ├── shared/
|
||||
│ │ │ │ └── MemorySlotPicker.tsx
|
||||
│ │ │ ├── tabs/
|
||||
│ │ │ │ └── DisciplinesTab.tsx
|
||||
│ │ │ │ ├── DisciplinesTab.tsx
|
||||
│ │ │ │ └── index.ts
|
||||
│ │ │ ├── AchievementsDisplay.tsx
|
||||
│ │ │ ├── ActionButtons.tsx
|
||||
│ │ │ ├── ActivityLogPanel.tsx
|
||||
@@ -247,34 +249,13 @@ Mana-Loop/
|
||||
│ │ │ ├── enchantment-types.ts
|
||||
│ │ │ └── loot-drops.ts
|
||||
│ │ ├── effects/
|
||||
│ │ │ └── discipline-effects.ts
|
||||
│ │ │ ├── discipline-effects.ts
|
||||
│ │ │ ├── dynamic-compute.ts
|
||||
│ │ │ ├── special-effects.ts
|
||||
│ │ │ ├── upgrade-effects.ts
|
||||
│ │ │ └── upgrade-effects.types.ts
|
||||
│ │ ├── hooks/
|
||||
│ │ │ └── useGameDerived.ts
|
||||
│ │ ├── store/
|
||||
│ │ │ ├── crafting-modules/
|
||||
│ │ │ │ ├── initial-state.ts
|
||||
│ │ │ │ ├── selectors.ts
|
||||
│ │ │ │ ├── slice-logic.ts
|
||||
│ │ │ │ ├── starting-equipment.ts
|
||||
│ │ │ │ ├── tick-processors.ts
|
||||
│ │ │ │ ├── types.ts
|
||||
│ │ │ │ └── utils.ts
|
||||
│ │ │ ├── combatSlice.ts
|
||||
│ │ │ ├── computed.ts
|
||||
│ │ │ ├── craftingSlice.ts
|
||||
│ │ │ ├── manaSlice.ts
|
||||
│ │ │ ├── pactSlice.ts
|
||||
│ │ │ ├── prestigeSlice.ts
|
||||
│ │ │ └── timeSlice.ts
|
||||
│ │ ├── store-modules/
|
||||
│ │ │ ├── {room-utils,enemy-utils,initial-state,activity-log,store-actions}/
|
||||
│ │ │ ├── activity-log.ts
|
||||
│ │ │ ├── computed-stats.ts
|
||||
│ │ │ ├── enemy-utils.ts
|
||||
│ │ │ ├── initial-state.ts
|
||||
│ │ │ ├── room-utils.ts
|
||||
│ │ │ ├── store-actions.ts
|
||||
│ │ │ └── tick-logic.ts
|
||||
│ │ ├── stores/
|
||||
│ │ │ ├── attunementStore.ts
|
||||
│ │ │ ├── combat-actions.ts
|
||||
@@ -308,6 +289,7 @@ Mana-Loop/
|
||||
│ │ │ ├── formatting.ts
|
||||
│ │ │ ├── index.ts
|
||||
│ │ │ ├── mana-utils.ts
|
||||
│ │ │ ├── pact-utils.ts
|
||||
│ │ │ └── room-utils.ts
|
||||
│ │ ├── constants.ts
|
||||
│ │ ├── crafting-apply.ts
|
||||
@@ -318,23 +300,17 @@ Mana-Loop/
|
||||
│ │ ├── crafting-prep.ts
|
||||
│ │ ├── crafting-slice.ts
|
||||
│ │ ├── crafting-utils.ts
|
||||
│ │ ├── debug-context.tsx
|
||||
│ │ ├── dynamic-compute.ts
|
||||
│ │ ├── effects.ts
|
||||
│ │ ├── special-effects.ts
|
||||
│ │ ├── store.test.ts
|
||||
│ │ ├── store.ts
|
||||
│ │ ├── stores.test.ts
|
||||
│ │ ├── types.ts
|
||||
│ │ ├── upgrade-effects.ts
|
||||
│ │ └── upgrade-effects.types.ts
|
||||
│ │ └── types.ts
|
||||
│ └── utils.ts
|
||||
├── test-results/
|
||||
│ └── .last-run.json
|
||||
├── .dockerignore
|
||||
├── .gitignore
|
||||
├── AGENTS.md
|
||||
├── CLAUDE.md
|
||||
├── Caddyfile
|
||||
├── Dockerfile
|
||||
├── README.md
|
||||
|
||||
Reference in New Issue
Block a user