-
Notifications
You must be signed in to change notification settings - Fork 145
refactor: service
module to TS + ESM (v2)
#1166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (73.30%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #1166 +/- ##
==========================================
- Coverage 84.06% 83.67% -0.40%
==========================================
Files 68 70 +2
Lines 2944 3002 +58
Branches 373 499 +126
==========================================
+ Hits 2475 2512 +37
+ Misses 409 395 -14
- Partials 60 95 +35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…e-ts-refactor-redone
This fixes the package bloat due to the nodemailer types library which relies on aws-sdk. It also fixes a license issue caused by an aws-sdk dependency. In the future, we should use a library other than nodemailer when we implement a working email sender.
Finally answered/fixed up all the comments here! Would love to get one last look 😃 @kriswest @06kellyjac |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of quick comments - will try to complete a pass later on
Co-authored-by: Kris West <[email protected]> Signed-off-by: Juan Escalada <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
@jescalada and @kriswest - nice work. Would be awesome to get this merged as want to work in this area and don't want to get in people's way. |
Hi @06kellyjac, just got the merge conflicts fixed so this is ready for a final look! 😃 |
Signed-off-by: Juan Escalada <[email protected]>
Fixes #1062.
Note that the changes in thepackage-lock.json
are due to adding thenodemailer
types.nodemailer
doesn't seem to be used outside of the/src/service/emailSender.ts
file which is currently unused, however it will likely be used eventually for solving #1121 (so we might as well keep it unless there's a better email library).Removed
nodemailer
andnodemailer/types
to reduce package bloat and prevent incompatible license problems. We can always use another email library to implement #1121 later on.