Here's some housekeeping tasks I've been meaning to get to. Happy for anyone to open PRs for these tasks if they feel like contributing. Feel free to add or suggest more tasks. I'd create a separate Github issue for each of these tasks, but I don't want to increase the number of issues. It might scare off NPM downloads 😅
[ ] Schedule tests to run on a regular basis
The AWS SDK update's a lot. If anything breaks we should catch it as soon as possible. Running on a schedule will help us detect breaking changes early
we only want tests to be triggered if the lints succeeds
[ ] Look into running workflows for v1 branch on main workflow ... if that makes sense 🤔
I have workflows that are different on the main and v1 branch, which is bad practice. Really, workflows should be the same across main and v1 ... I think?
[ ] Look into the bundle size
It's currently marked as 706 kB
Might be because it's a hybrid package
The minified bundle is much smaller
Tree shaking should also reduce it down to ~80kb ? Can't remember
[ ] Look into how we can streamline the package for v3
Remove support for hybrid packages? People reliant on CommonJS can still import ES packages
Drop support for AWS SDK v2? It's reaching end of support soon
Remove the createPasswordHash function from public interface? No reason we can't keep it internal
Could we create the sessions inside the wrap functions?
Here's some housekeeping tasks I've been meaning to get to. Happy for anyone to open PRs for these tasks if they feel like contributing. Feel free to add or suggest more tasks. I'd create a separate Github issue for each of these tasks, but I don't want to increase the number of issues. It might scare off NPM downloads 😅