- Express 5 (qs query parser and req.body = {} kept as in Express 4).
- Scanner and at-the-door check-in use /api/v2/checkin; look-up gives attendee, bookedBy,
ticketOptionId.
- Shared middleware errors on /api/v2 rewritten to { error: { code, message, reason } };
apiFetch treats reason like v1's code.
- Deprecation + Link: rel="successor-version" on v1 endpoints that have a v2 replacement.
- Roadmap: open question on how much of v1 to retire in 2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"name": "hope-events",
|
|
"version": "1.51.3",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"dev:frontend": "cd frontend && npm run dev",
|
|
"start:backend": "cd backend && npm run start",
|
|
"start:frontend": "cd frontend && npm run start",
|
|
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"build": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
|
|
"test:e2e": "playwright test",
|
|
"test": "npm --prefix backend test",
|
|
"demo:list": "npm --prefix backend run set-demo -- --list",
|
|
"demo:small": "npm --prefix backend run set-demo -- --profile=small",
|
|
"demo:events": "npm --prefix backend run set-demo -- --profile=events",
|
|
"demo:ministry": "npm --prefix backend run set-demo -- --profile=ministry",
|
|
"demo:multicampus": "npm --prefix backend run set-demo -- --profile=multicampus",
|
|
"api:types": "npm --prefix backend run openapi && npm --prefix frontend run api:types"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.14.0",
|
|
"@playwright/test": "^1.64.0",
|
|
"concurrently": "^9.2.1"
|
|
},
|
|
"overrides": {
|
|
"shell-quote": "^1.12.0"
|
|
}
|
|
}
|