feat: initial elysium idle game prototype

Sets up the full monorepo with pnpm workspaces. Includes shared types
package, Hono API with Discord OAuth/JWT auth, Prisma v6 + MongoDB
Atlas, and React + Vite frontend with game loop, five tabs, and
Discord-linked save/load.
This commit is contained in:
2026-03-06 11:26:19 -08:00
committed by Naomi Carrigan
parent c69e155de3
commit a3daed1683
64 changed files with 9011 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"name": "@elysium/api",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "./prod/src/index.js",
"scripts": {
"build": "prisma generate && tsc -p tsconfig.json",
"db:push": "prisma db push",
"dev": "op run --env-file=./prod.env -- tsx watch src/index.ts",
"lint": "eslint --max-warnings 0 src",
"start": "op run --env-file=./prod.env -- node prod/src/index.js",
"test": "vitest run --coverage"
},
"dependencies": {
"@elysium/types": "workspace:*",
"@hono/node-server": "1.13.7",
"@prisma/client": "6.5.0",
"hono": "4.7.4",
"prisma": "6.5.0"
},
"devDependencies": {
"@nhcarrigan/eslint-config": "5.2.0",
"@nhcarrigan/typescript-config": "4.0.0",
"@vitest/coverage-v8": "3.0.8",
"eslint": "9.22.0",
"tsx": "4.19.3",
"typescript": "5.8.2",
"vitest": "3.0.8"
}
}