7c20b518d4
Repositorio estava ha ~5 sessoes sem commit. Consolida tudo desde d088a89.
Ver commit.md na raiz para descricao completa por sessao.
# Numeros
- A# auditoria abertos: 0/30
- V# verificacoes abertos: 5/52 (todos adiados com plano)
- T# testes escritos: 10/10
- Vitest: 192/192
- SQL integration: 33/33
- E2E (Playwright, novo): 5/5
- Migrations: 17 (10 novas Sessao 6)
- Areas auditadas: 7 (+documentos com 10 V#)
# Highlights Sessao 6 (hoje)
- V#34/V#41 Opcao B2: tenant_features com plano + override (RPC SECURITY DEFINER, tela /saas/tenant-features)
- A#20 rev2 self-hosted: defesa em 5 camadas (honeypot + rate limit + math captcha condicional + paranoid mode + dashboard /saas/security)
- Documentos hardening (V#43-V#49): tenant scoping em storage policies (vazamento entre clinicas eliminado), RPC validate_share_token, signatures policy granular
- SaaS Twilio Config (/saas/twilio-config): UI editavel para SID/webhook/cotacao; AUTH_TOKEN permanece em env var
- T#9 + T#10: useAgendaEvents.spec.js + Playwright E2E (descobriu bug no front que foi corrigido)
# Sessoes anteriores (1-5) consolidadas
- Sessao 1: auth/router/session, normalizeRole extraido
- Sessao 2: agenda - composables/services consolidados
- Sessao 3: pacientes - tenant_id em todas queries
- Sessao 4: security review pagina publica - 14/15 vulnerabilidades corrigidas
- Sessao 5: SaaS - P0 (A#30: 7 tabelas com RLS off corrigidas)
# .gitignore ajustado
- supabase/* + !supabase/functions/ (mantem 10 edge functions, ignora .temp/migrations gerados pelo CLI)
- database-novo/backups/ (regeneravel via db.cjs backup)
- test-results/ + playwright-report/
- .claude/settings.local.json (config local com senha de dev removida do tracking)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"name": "agenciapsi",
|
|
"version": "5.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint --fix . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:sql": "node database-novo/tests/run.cjs",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"simulate": "node scripts/simulation/simulateUsage.js"
|
|
},
|
|
"dependencies": {
|
|
"@fullcalendar/core": "^6.1.20",
|
|
"@fullcalendar/daygrid": "^6.1.20",
|
|
"@fullcalendar/interaction": "^6.1.20",
|
|
"@fullcalendar/list": "^6.1.20",
|
|
"@fullcalendar/resource": "^6.1.20",
|
|
"@fullcalendar/resource-timegrid": "^6.1.20",
|
|
"@fullcalendar/timegrid": "^6.1.20",
|
|
"@fullcalendar/vue3": "^6.1.20",
|
|
"@primeuix/themes": "^2.0.0",
|
|
"@supabase/supabase-js": "^2.95.3",
|
|
"chart.js": "3.3.2",
|
|
"date-fns": "^4.1.0",
|
|
"html-to-pdfmake": "^2.5.33",
|
|
"html2canvas-pro": "^2.0.2",
|
|
"html2pdf.js": "^0.14.0",
|
|
"jodit": "^4.11.15",
|
|
"jspdf": "^4.2.1",
|
|
"pdfmake": "^0.3.7",
|
|
"pinia": "^3.0.4",
|
|
"primeicons": "^7.0.0",
|
|
"primevue": "^4.5.4",
|
|
"quill": "^2.0.3",
|
|
"tailwindcss-primeui": "^0.6.0",
|
|
"v-offline": "^3.5.1",
|
|
"vue": "^3.4.34",
|
|
"vue-router": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.59.1",
|
|
"@primevue/auto-import-resolver": "^4.3.1",
|
|
"@rushstack/eslint-patch": "^1.8.0",
|
|
"@tailwindcss/vite": "^4.1.17",
|
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
"@vitest/ui": "^4.0.18",
|
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
"autoprefixer": "^10.4.24",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-vue": "^9.23.0",
|
|
"postcss": "^8.5.6",
|
|
"prettier": "^3.2.5",
|
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
"sass": "^1.55.0",
|
|
"tailwindcss": "^4.1.18",
|
|
"unplugin-auto-import": "^0.18.6",
|
|
"unplugin-vue-components": "^0.27.3",
|
|
"vite": "^5.3.1",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|