Files
space-game/apps/viewer/package.json
Jonathan Bourdon 892d069b92 feat(viewer): add GM Ops Console window replacing ops strip
Introduces a floating, draggable, resizable Game Master console as the
first of a planned series of GM/debug windows. Replaces the horizontal
ops-strip card layout with proper data tables using TanStack Table v8.

- GmWindow.vue: reusable draggable+resizable floating window base;
  snapshots offsetWidth/Height on drag start so resize is preserved
- GmOpsWindow.vue: Ships / Stations / Factions tabs with global filter,
  column sorting, and drag-to-reorder columns (useColumnOrder composable)
- gmStore.ts: Pinia store fed from ViewerWorldLifecycle.rebuildFactions
  with raw world arrays (ships, stations, factions)
- Removes opsStripEl binding (was stored but never read by controller)
- GM Console toggle button replaces the bottom ops strip

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 00:24:32 -04:00

27 lines
594 B
JSON

{
"name": "space-game-viewer",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc -p tsconfig.json --noEmit && vite build",
"preview": "vite preview"
},
"dependencies": {
"@tanstack/vue-table": "^8.21.3",
"pinia": "^3.0.3",
"three": "^0.179.1",
"vue": "^3.5.21"
},
"devDependencies": {
"@tailwindcss/vite": "^4.2.2",
"@types/three": "^0.183.1",
"@vitejs/plugin-vue": "^6.0.1",
"tailwindcss": "^4.2.2",
"typescript": "^5.9.2",
"vite": "^7.1.3",
"vue-tsc": "^3.0.7"
}
}