trails/apps/planner/package.json
Ullrich Schäfer 0a8dd0b766
Add transactional emails (SMTP) and planner features (no-go areas, notes, crash recovery)
Transactional emails:
- Add nodemailer SMTP email module with dev-mode console logging
- Magic link template and welcome template with HTML + plain text
- Wire sendMagicLink into login flow, sendWelcome into registration
- Update privacy page and deploy docs for SMTP configuration

Planner features:
- No-go areas: draw polygons on map (leaflet-geoman), synced via Yjs,
  passed to BRouter as nogos parameter, route recomputes on change
- Session notes: collaborative Y.Text textarea in sidebar tab
- Crash recovery: periodic localStorage save of Yjs state, restore on reconnect
- Rate limit session creation (10/IP/hour) in /new route

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 01:00:42 +01:00

46 lines
1.3 KiB
JSON

{
"name": "@trails-cool/planner",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "react-router dev",
"build": "react-router build",
"start": "node server.ts",
"typecheck": "react-router typegen && tsc",
"lint": "eslint ."
},
"dependencies": {
"@geoman-io/leaflet-geoman-free": "^2.19.2",
"@react-router/node": "catalog:",
"@react-router/serve": "catalog:",
"@sentry/node": "^10.45.0",
"@sentry/react": "^10.45.0",
"@trails-cool/db": "workspace:*",
"@trails-cool/gpx": "workspace:*",
"@trails-cool/i18n": "workspace:*",
"@trails-cool/map": "workspace:*",
"@trails-cool/types": "workspace:*",
"@trails-cool/ui": "workspace:*",
"drizzle-orm": "catalog:",
"isbot": "^5.1.0",
"lib0": "^0.2.117",
"react": "catalog:",
"react-dom": "catalog:",
"react-router": "catalog:",
"ws": "^8.20.0",
"y-protocols": "^1.0.7",
"y-websocket": "^3.0.0",
"yjs": "^13.6.30"
},
"devDependencies": {
"@react-router/dev": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/ws": "^8.18.1",
"tailwindcss": "catalog:",
"typescript": "catalog:",
"vite": "catalog:"
}
}