Files
crosscode-platform/apps/events/package.json
T
joshuaandClaude Opus 5.5 d8312f4b33 Events 3.6.1: branding uploads work behind a proxy with extension rules
The logo/favicon upload succeeded, but the check that the site can show it
got a 404: on events-demo every /api/... path ending in a file extension
(.png, .ico, .pdf, .json) went to Next.js instead of the backend.

- next.config.ts: /api/* and /uploads/* that reach the site are passed to
  the backend (beforeFiles rewrites) via the new BACKEND_INTERNAL_URL
  (http://127.0.0.1:<apiPort>, from env.template.json on deploy). The e2e
  E2E_API_PROXY uses the same rewrites.
- nginx written by both installers and shown in DEPLOYMENT.md: /api/ and
  /uploads/ use location ^~ so no regex location can take them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:08:11 +02:00

28 lines
1.4 KiB
JSON

{
"name": "@crosscode/events",
"version": "3.6.1",
"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\"",
"test:e2e": "playwright 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",
"build:all": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
"test:backend": "npm --prefix backend test"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "Cross Events: scripts for the backend and frontend (workspaces apps/events/backend and apps/events/frontend). Its dev tools (Playwright, concurrently) are in the root package.json.",
"private": true
}