-
Notifications
You must be signed in to change notification settings - Fork 2
Home
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 are currently done manually.
At the top-level, run yarn test before you release.
- Check the
versionfield 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 buildand thenyarn pub - You are prompted for the new version. Use whatever you committed to the code earlier.
- After releasing, merge the
nextbranch to themasterbranch so the starters use the new version! - Write release notes
- That's it
We hope to automate this process as the process matures.
To set things up, you'll need to run yarn once at the top-level.
For daily development, open two terminals:
- Run
yarn devin/auth-email: This will build the package itself - Run
yarn devin/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.