- 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>
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "@crosscode/accounts-backend",
|
|
"version": "1.4.0",
|
|
"description": "Cross Code Accounts: the church's sign-in (OpenID Connect provider), account pages API and admin API",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.build.json && node -e \"require('fs').writeFileSync('dist/build.json', JSON.stringify({ version: require('./package.json').version, builtAt: new Date().toISOString() }))\"",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node --import tsx --test --test-reporter=spec \"tests/**/*.test.ts\"",
|
|
"postinstall": "prisma generate",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:deploy": "prisma migrate deploy && prisma generate",
|
|
"prisma:status": "prisma migrate status"
|
|
},
|
|
"dependencies": {
|
|
"@crosscode/contracts": "*",
|
|
"@node-rs/argon2": "^2.2.2",
|
|
"@prisma/adapter-pg": "^7.10.1",
|
|
"@prisma/client": "^7.10.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"cron-parser": "^5.10.2",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^5.3.0",
|
|
"express-rate-limit": "^8.6.2",
|
|
"nodemailer": "^10.3.0",
|
|
"oidc-provider": "9.13.3",
|
|
"pg-boss": "^11.1.2",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@crosscode/auth-client": "*",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^20.19.43",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/oidc-provider": "^9.13.1",
|
|
"@types/supertest": "^7.2.1",
|
|
"openid-client": "6.8.9",
|
|
"prisma": "^7.10.1",
|
|
"supertest": "^7.3.1",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|