CI / build + unit + e2e (pull_request) Successful in 12m56s
The airport popup's Relocate row now lists ALL planes instead of only grounded ones; the click handler picks the endpoint by the selected plane's current status — available → /fly (unchanged), flying/repairing → /queue so the destination is appended to the flight queue and chains on landing. No-planes fallback reworded to 'No planes to relocate.' E2E +1: relocation.spec.ts dispatches the starter on a leg via API, slows the sim to 1x, opens the popup for a different airport, selects the flying plane and clicks Relocate here — asserts the queue contains the clicked ICAO while the plane still flies its original destination.
31 lines
729 B
JSON
31 lines
729 B
JSON
{
|
|
"name": "flight-ops",
|
|
"version": "0.49.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3000",
|
|
"build": "next build",
|
|
"start": "next start -p 3000",
|
|
"assets:download": "node scripts/download-map-assets.mjs",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"drizzle-orm": "^0.45.2",
|
|
"maplibre-gl": "^6.10.0",
|
|
"next": "^16.3.5",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0",
|
|
"sql.js": "^1.14.2"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.63.0",
|
|
"@types/node": "^22.20.3",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@types/sql.js": "^1.4.11",
|
|
"typescript": "^7.0.2",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|