feat(server): new email template (#9528)

use `yarn af server dev:mail` to preview all mail template
fix CLOUD-93
This commit is contained in:
darkskygit
2025-01-22 02:55:24 +00:00
parent 2db9cc3922
commit 83ed215f4a
54 changed files with 4794 additions and 892 deletions
+8
View File
@@ -10,6 +10,7 @@
"scripts": {
"build": "tsc",
"dev": "nodemon ./src/index.ts",
"dev:mail": "email dev -d src/mails",
"test": "ava --concurrency 1 --serial",
"test:copilot": "ava \"src/__tests__/**/copilot-*.spec.ts\"",
"test:coverage": "c8 ava --concurrency 1 --serial",
@@ -58,6 +59,8 @@
"@opentelemetry/semantic-conventions": "^1.28.0",
"@prisma/client": "^5.22.0",
"@prisma/instrumentation": "^5.22.0",
"@react-email/components": "0.0.31",
"@react-email/render": "1.0.3",
"@socket.io/redis-adapter": "^8.3.0",
"cookie-parser": "^1.4.7",
"dotenv": "^16.4.7",
@@ -85,6 +88,7 @@
"openai": "^4.76.2",
"piscina": "^5.0.0-alpha.0",
"prisma": "^5.22.0",
"react": "19.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"ses": "^1.10.0",
@@ -112,12 +116,16 @@
"@types/node": "^22.0.0",
"@types/nodemailer": "^6.4.17",
"@types/on-headers": "^1.0.3",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"ava": "^6.2.0",
"c8": "^10.1.3",
"cross-env": "^7.0.3",
"nodemon": "^3.1.7",
"react-dom": "19.0.0",
"react-email": "3.0.4",
"sinon": "^19.0.2",
"supertest": "^7.0.0"
},