You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dominik Ferber edited this page Jun 10, 2020
·
6 revisions
Welcome to the auth-email wiki!
This wiki is used for notes regarding development of @happykit/auth-email itself.
The documentation for how to use @happykit/auth-email is at docs.happykit.dev.
Releases
Releases are currently done manually.
At the top-level, run yarn test before you release.
Check the version field in /auth-email/package.json.
Globally search for that version and upgrade it to the new version
Commit and Push to next
At the top-level, run yarn build and then yarn pub
You are prompted for the new version. Use whatever you committed to the code earlier.
After releasing, merge the next branch to the master branch so the starters use the new version!
Write release notes
That's it
We hope to automate this process as the process matures.
Development
To set things up, you'll need to run yarn once at the top-level.
For daily development, open two terminals:
Run yarn dev in /auth-email: This will build the package itself
Run yarn dev in /starter-typescript: This will use the built package
Sometimes you'll need to restart yarn dev in /starter-typescript after making changes to the server-side of /auth-email.
As @happykit/auth-email comes with a CLI, you might want to try the CLI on a fresh project. You can use /pristine and /pristine-typescript for that. These two folders should always stay there as pristine create-next-app projects.