CI / build-and-test (push) Has been cancelled
- E2E suite (23 tests, `npm run test:e2e -w @lawdesk/api`): boots the real Fastify app against a disposable Dockerized Postgres (never a real DB) and covers signup/login/lockout/rate limits, CSRF (incl. forged-token rejection), logout, password reset, email verification, the superadmin verified-email promotion gate, and cross-firm tenancy isolation - packages/db: DATABASE_SSL=disable opt-out for local/test databases that don't speak TLS; refused in production - retention-sweep.ts cron enforcing Privacy Policy windows (sessions, tokens, login attempts, tool usage, contact messages, audit log) + sweep-orphaned-storage.ts Spaces reconciliation + scripts/README - Expose emailVerified on the session user; in-app verify-email banner with resend, and verified=1|0 toasts on the login page - Silence Fastify logger under NODE_ENV=test; fix footer resource link; document login-attempt/tool-usage retention in the Privacy Policy Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
32 lines
933 B
JSON
32 lines
933 B
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"
|
|
}
|
|
}
|