- Server page: Configuration is a read view with an Edit popup; Update agent is a popup. - frp config: the file shows read-only; Edit opens it in a popup with Restart, the two-factor code and Save on the server (its confirmation unchanged). - Ports & defaults: install defaults, port range and central IP as a read view with an Edit popup; Mark as taken is a popup from the port list. - Install page (/installs/[id]): Clear public key is a popup with the two-factor code; the notes are a read view with an Edit popup; the page message is under the header. - Invoice: always the read view; Edit (draft, approved) opens a popup, so Approve no longer needs a save first. Void and Refund are popups instead of prompt(). - docs/POPUPS-PLAN.md done. 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.17.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"
|
|
}
|
|
}
|