chore: cleanup — remove dead weight (prisma, db, examples, python scripts, workflow docs, redundant tsconfigs)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 34s

This commit is contained in:
2026-05-13 12:16:11 +02:00
parent 6ad48efff9
commit bb268d4dea
108 changed files with 4747 additions and 2000 deletions
@@ -5,8 +5,8 @@
*/
import { describe, it, expect } from 'vitest';
import { SKILLS_DEF } from '../constants';
import { calcInsight } from '../computed-stats';
import { SKILLS_DEF } from '@/lib/game/constants';
import { calcInsight } from '@/lib/game/computed-stats';
import type { GameState } from '../types';
function createMockState(overrides: Partial<GameState> = {}): GameState {
@@ -3,7 +3,7 @@
*/
import { describe, it, expect } from 'vitest';
import { SKILLS_DEF, SKILL_EVOLUTION_PATHS, getTierMultiplier, getNextTierSkill, generateTierSkillDef } from '../constants';
import { SKILLS_DEF, SKILL_EVOLUTION_PATHS, getTierMultiplier, getNextTierSkill, generateTierSkillDef } from '@/lib/game/constants';
import { SKILL_EVOLUTION_PATHS as EVOLUTION_PATHS, getUpgradesForSkillAtMilestone, getNextTierSkill as NextTier, getTierMultiplier as TierMultiplier, generateTierSkillDef as GenerateTier } from '../skill-evolution';
describe('Integration Tests', () => {
@@ -11,8 +11,8 @@ import {
computeElementMax,
computeRegen,
computeClickMana,
} from '../computed-stats';
import { SKILLS_DEF } from '../constants';
} from '@/lib/game/computed-stats';
import { SKILLS_DEF } from '@/lib/game/constants';
import type { GameState } from '../types';
// ─── Test Helpers ───────────────────────────────────────────────────────────
@@ -3,8 +3,8 @@
*/
import { describe, it, expect } from 'vitest';
import { PRESTIGE_DEF } from '../constants';
import { computeMaxMana, computeElementMax } from '../computed-stats';
import { PRESTIGE_DEF } from '@/lib/game/constants';
import { computeMaxMana, computeElementMax } from '@/lib/game/computed-stats';
import type { GameState } from '../types';
function createMockState(overrides: Partial<GameState> = {}): GameState {
@@ -3,7 +3,7 @@
*/
import { describe, it, expect } from 'vitest';
import { SKILLS_DEF } from '../constants';
import { SKILLS_DEF } from '@/lib/game/constants';
describe('Skill Prerequisites', () => {
it('Mana Overflow should require Mana Well 3', () => {
@@ -5,7 +5,7 @@
*/
import { describe, it, expect } from 'vitest';
import { SKILLS_DEF } from '../constants';
import { SKILLS_DEF } from '@/lib/game/constants';
describe('Enchanter Skills', () => {
describe('Enchanting (Unlock enchantment design)', () => {
@@ -10,8 +10,8 @@ import {
getStudySpeedMultiplier,
getStudyCostMultiplier,
getMeditationBonus,
} from '../computed-stats';
import { SKILLS_DEF } from '../constants';
} from '@/lib/game/computed-stats';
import { SKILLS_DEF } from '@/lib/game/constants';
describe('Study Skills', () => {
describe('Quick Learner (+10% study speed)', () => {
@@ -3,7 +3,7 @@
*/
import { describe, it, expect } from 'vitest';
import { SKILLS_DEF } from '../constants';
import { SKILLS_DEF } from '@/lib/game/constants';
describe('Study Times', () => {
it('all skills should have reasonable study times', () => {