Safety net for upcoming refactors: - 26 Playwright smoke tests via @playwright/test 1.50.0 in an official Playwright container (no host Node needed). Covers every Bedside sub-pill, the age→weight estimator, dose calculators (seizure/sepsis/anaphylaxis/ burns/airway), and interactive widgets (lightbox, vent SVG). - `npm run e2e` wrapper runs tests inside mcr.microsoft.com/playwright:v1.50.0-noble on the ped-ai_default Docker network so no host port mapping is needed. - public/e2e-harness.html + public/js/e2e-bootstrap.js load the calculators component without the SPA auth wall (scripts external to satisfy CSP). Server: - server.js now re-reads public/index.html on mtime change instead of caching at boot. Fixes the "edit HTML, restart container" friction. - CSP upgradeInsecureRequests disabled in helmet config; Caddy still enforces HTTPS at the reverse-proxy layer in production.
37 lines
485 B
Text
37 lines
485 B
Text
node_modules/
|
|
.env
|
|
.env.local
|
|
.env.production
|
|
data/
|
|
*.db
|
|
*.db-journal
|
|
*.db-wal
|
|
.DS_Store
|
|
Thumbs.db
|
|
*.log
|
|
npm-debug.log*
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
dist/
|
|
build/
|
|
|
|
# Android TWA
|
|
android/.gradle/
|
|
android/app/build/
|
|
android/build/
|
|
android/local.properties
|
|
android/captures/
|
|
android/.idea/
|
|
*.apk
|
|
*.aab
|
|
*.keystore
|
|
*.jks
|
|
public/models/
|
|
.env.backup-*
|
|
*.env.backup*
|
|
|
|
# e2e test artifacts (keep config + specs, skip results + installed deps)
|
|
e2e/node_modules/
|
|
e2e/test-results/
|
|
e2e/playwright-report/
|