92f10197c130ed7406d51e3672a6c76886b788ce
- Software, Release, ReleaseAsset, ExternalLink, PlatformLink, Image, SoftwareImage, Download now live in the engine under WarpEngine::, on top of WarpEngine::ApplicationRecord; table names unchanged (empty prefix) - each model runs an ActiveSupport load hook (:warp_engine_<model>) as a host extension point - WarpEngine::Image reads its upload path from WarpEngine.config - host references fully qualified (services, serializers, admin, specs); admin registrations renamed with as: so /admin URLs and route helpers are byte-identical; factories pinned to the namespaced classes - Member#image now class_name: "WarpEngine::Image" Verified: full suite green, /api/software and /api/builds byte-identical to the phase-0 baselines, admin routes unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Teletype Games
Monorepo: Vue 3 frontend + Rails 8 API.
Projekt struktúra
apps/
frontend/ # Vue 3 + Vite + TypeScript + Tailwind
api/ # Rails 8 API + ActiveAdmin
Fejlesztői környezet
docker compose up -d
| Szolgáltatás | URL |
|---|---|
| Frontend | http://${WEBAPP_DOMAIN} |
| API | http://${WEBAPP_DOMAIN}/api |
| Admin | http://${WEBAPP_DOMAIN}/admin |
| API Docs | http://${WEBAPP_DOMAIN}/api/swagger |
Linting
Backend (RuboCop)
# Ellenőrzés
docker compose run --rm --no-deps api bundle exec rubocop
# Automatikus javítás
docker compose run --rm --no-deps api bundle exec rubocop -A
Konfig: apps/api/.rubocop.yml (rubocop-rails-omakase preset)
Frontend (ESLint)
# Ellenőrzés
docker compose run --rm --no-deps frontend npm run lint
# Automatikus javítás
docker compose run --rm --no-deps frontend npm run lint:fix
Konfig: apps/frontend/eslint.config.js (ESLint 9 flat config, Vue + TypeScript)
Languages
Ruby
43.8%
Vue
27.8%
TypeScript
13%
CSS
10.2%
JavaScript
3.3%
Other
1.8%