Initial commit: rack, a homelab idle game

Core loop (hardware tiers, deployable services, upgrades, random events,
prestige), quirks, host nicknames, an ASCII rack view, in-app help/
changelog, and a Vitest suite covering engine logic and data balance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-07-02 21:55:54 +02:00
commit f0314e7492
23 changed files with 4083 additions and 0 deletions

12
vite.config.ts Normal file
View File

@@ -0,0 +1,12 @@
/// <reference types="vitest/config" />
import { defineConfig } from 'vite'
// Avoid the usual 5173/4173 defaults - those ports are claimed by sibling
// projects on this machine.
export default defineConfig({
server: { port: 5677, strictPort: true },
preview: { port: 4587, strictPort: true },
test: {
environment: 'node',
},
})