Files
crosscode-platform/apps/events/package.json
T
joshuaandClaude Opus 5.5 bbcafe61b9 Events 3.4.0, Accounts 1.4.0, contracts 1.12.0, agent 1.3.0: jobs from the dashboard, styled Accounts emails, .env from the Hub
- Events and Accounts: Background jobs are switched on or off and rescheduled from the admin;
  the choice is kept in the database (job_overrides), wins over the .env and applies at once.
  Accounts gets an Admin -> Background jobs page and per-job env flags, as Events.
- Accounts: every email styled as Cross Events' (church colour, logo, button, footer), same
  plain text (src/lib/emails.ts).
- Contracts 1.12.0: env-read / env-set agent jobs, envReadResultSchema, isSecretEnvName.
- crosscode script: `crosscode env <church> <product>` reads the .env (secrets hidden) and, with
  --set/--unset/--restart, changes one file, rebuilds the frontend when its file changed, reloads,
  and puts the file back if the site doesn't answer (lib/envedit.cjs, tests/envedit.bats).
- Agent 1.3.0: runs env-read and env-set.

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

28 lines
1.4 KiB
JSON

{
"name": "@crosscode/events",
"version": "3.4.0",
"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
}