- Install page (/servers/installs/[id]): header with status, Schedule update and a ⋯ menu (move onto the monorepo, demo site, uninstall, remove from the Hub, remove the record); tiles for site/registration, version, server, ports and last heartbeat. - Tabs: Jobs, Settings (.env), Exports; the tab in the URL (?tab=settings). - Every action is a popup (Update, Adopt, Demo, Uninstall, Remove) using the 2.14.0 Modal: asks before discarding, error by its button. Confirmations unchanged. - EnvPanel: read view in the tab, each file edited in a popup. - Banners for not registered, stale (no heartbeat for a day) and a planned uninstall. - Shared PageMessage (also on the customer page); ModalButtons gets danger/disabled. - Logic split into components/install/ (useSubmit, post with LIVE_EVENT re-confirm, uninstallPlan). Frontend only: no migration, no API changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"name": "events-hub-backend",
|
|
"version": "2.15.0",
|
|
"private": true,
|
|
"description": "Cross Events Hub — API for managing Cross Events installs, licences and heartbeats",
|
|
"main": "src/index.js",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "node --watch src/index.js",
|
|
"test": "jest",
|
|
"postinstall": "prisma generate",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:deploy": "prisma migrate deploy && prisma generate",
|
|
"create-admin": "node scripts/create-admin.js",
|
|
"generate-keys": "node scripts/generate-keys.js",
|
|
"check:hub2": "node scripts/check-hub2.js"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^1.3.0",
|
|
"@crosscode/contracts": "file:vendor/crosscode-contracts-1.16.0.tgz",
|
|
"@prisma/adapter-pg": "^7.10.1",
|
|
"@prisma/client": "^7.10.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"express-rate-limit": "^8.6.2",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"nodemailer": "^10.0.16",
|
|
"pdfkit": "^0.17.2",
|
|
"qrcode": "^1.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^30.4.2",
|
|
"prisma": "^7.10.1"
|
|
}
|
|
}
|