- Add superadmin impersonation: sessions.impersonated_by (migration 0003) is stamped onto audit rows so impersonated actions are attributable, with a persistent ImpersonationBanner in the app shell. - Harden auth and upload handling across routes (safe redirect targets, filename sanitization, checkout grant handling). - Update dependencies: Sentry 8 -> 10, @fastify/static 8 -> 10, react-router-dom 6.30.6; add find-my-way / fast-uri overrides. - Add tests for safe-next, checkout-grant, and upload-filename. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"name": "elegalsoftware",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "npm run dev --workspaces --if-present",
|
|
"dev:web": "npm run dev -w apps/web",
|
|
"dev:api": "npm run dev -w apps/api",
|
|
"build": "npm run build -w apps/web",
|
|
"build:check": "npm run build && npm run typecheck",
|
|
"start": "node server.cjs",
|
|
"db:generate": "npm run generate -w packages/db",
|
|
"db:migrate": "npm run migrate -w packages/db",
|
|
"cron:retention": "tsx scripts/retention-sweep.ts",
|
|
"cron:overdue": "tsx scripts/send-overdue-reminders.ts",
|
|
"storage:sweep": "tsx scripts/sweep-orphaned-storage.ts",
|
|
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
"test": "npm run test --workspaces --if-present"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.6.3",
|
|
"drizzle-orm": "^0.45.2"
|
|
},
|
|
"overrides": {
|
|
"find-my-way": "^9.9.0",
|
|
"fast-uri": "^3.1.5"
|
|
}
|
|
}
|