New dependency echarts: stacked bars, Gantt (custom series), donut and sparklines with tooltips and theming, instead of a hand-written chart engine; only the used parts are registered and loaded on demand. stats.ts counts runs per day, success rate with the window before, durations, apps with an update and model spend per day; option builders take the theme's palette so both themes share one set of charts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "homelab-upgrade",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Step queue, driver and web app for nightly Docker Compose upgrades on VM103",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"check": "npm run typecheck && npm run lint && npm run test",
|
|
"build:web": "vite build",
|
|
"dev:web": "vite",
|
|
"dev:driver": "node --watch src/main/driver.ts",
|
|
"dev:server": "node --watch src/main/server.ts",
|
|
"dev:runtime": "node --watch src/main/function-runtime.ts",
|
|
"start:driver": "node src/main/driver.ts",
|
|
"start:server": "node src/main/server.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/static": "^10.1.4",
|
|
"cytoscape": "^3.34.3",
|
|
"echarts": "^6.1.0",
|
|
"fastify": "^5.12.5",
|
|
"monaco-editor": "^0.56.0",
|
|
"preact": "^10.29.8",
|
|
"xstate": "^5.33.2",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@preact/preset-vite": "^2.10.6",
|
|
"@types/cytoscape": "^3.21.9",
|
|
"@types/node": "^24.13.5",
|
|
"eslint": "^10.11.0",
|
|
"jsdom": "^30.1.0",
|
|
"typescript": "~6.0.3",
|
|
"typescript-eslint": "^8.70.0",
|
|
"vite": "^8.3.0",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|