albion/package.json
Заид Омар Медхат 337dac78ba
All checks were successful
Deploy / deploy (push) Successful in 3m58s
Client/server split, Postgres, auth, Windows agent, Docker deploy
- Extract world-parse + packet capture into @albion/shared (reused by
  server and a new standalone agent workspace).
- Migrate the data layer from SQLite/better-sqlite3 to shared Postgres
  (async pg with a ?->$n helper; economy engine preloads the item/recipe
  graph so its sync recursion still works).
- API-key auth (ALBION_API_KEY) on all /api routes except health; web UI
  sends it via a fetch wrapper + key-entry gate; server serves the built
  UI with a path-traversal-safe static handler (drops @fastify/static).
- Windows companion agent: pushes world map + captured market orders to
  /api/ingest/*; runs on the gaming PC where the game traffic lives.
- Docker + docker-compose (external proxy + backend networks for Nginx
  Proxy Manager and shared Postgres) and a Forgejo deploy workflow.
- Validated end-to-end against Postgres 16 and a full compose run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 04:10:08 +05:00

23 lines
653 B
JSON

{
"name": "albion-economy-assistant",
"version": "0.1.0",
"private": true,
"description": "Albion Online economy assistant: profit calculator, production chain ranker, travel planner, market watcher",
"workspaces": [
"shared",
"server",
"web",
"agent"
],
"scripts": {
"dev": "concurrently -n server,web -c blue,green \"npm:dev:server\" \"npm:dev:web\"",
"dev:server": "npm run dev -w server",
"dev:web": "npm run dev -w web",
"gamedata": "npm run gamedata -w server",
"agent": "npm run start -w agent",
"test": "npm run test -w server"
},
"devDependencies": {
"concurrently": "^9.1.2"
}
}