feat: use server-actions for authoring flow

This change actually makes the authoring flow work for
the most part by tying in emailing and more.

We have also done a number of quality of life updates to
simplify the codebase overall making it easier to continue
work on the refresh.
This commit is contained in:
Mythie
2023-07-26 18:52:53 +10:00
parent 60b150cc58
commit b3fa837967
54 changed files with 2891 additions and 859 deletions
+12 -4
View File
@@ -5,18 +5,26 @@
"types": "./index.ts",
"license": "MIT",
"files": [
"templates/"
"templates/",
"transports/",
"mailer.ts",
"render.ts",
"index.ts"
],
"scripts": {
"dev": "email dev --port 3002 --dir templates"
"dev": "email dev --port 3002 --dir templates",
"worker:test": "tsup worker/index.ts --format esm"
},
"dependencies": {
"@documenso/tsconfig": "*",
"@documenso/tailwind-config": "*",
"@documenso/ui": "*",
"@react-email/components": "^0.0.7"
"@react-email/components": "^0.0.7",
"nodemailer": "^6.9.3"
},
"devDependencies": {
"react-email": "^1.9.4"
"@types/nodemailer": "^6.4.8",
"react-email": "^1.9.4",
"tsup": "^7.1.0"
}
}