mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-02 04:16:38 -05:00
* chore(docs): Fix broken links * docs: Update links in CONTRIBUTING --------- Co-authored-by: Bereket Engida <bekacru@gmail.com>
31 lines
1.2 KiB
Markdown
31 lines
1.2 KiB
Markdown
# Contributing to Better Auth
|
|
|
|
Thanks for taking the time to improve Better Auth! This is a small document to get you started.
|
|
|
|
## Security Issues
|
|
|
|
If you see any security issue we prefer you to disclose it via an email (security@better-auth.com). All reports will be promptly addressed, and you'll be credited accordingly.
|
|
|
|
Learn more in our [security documentation](/docs/reference/security).
|
|
|
|
## A Few Guidelines to keep in mind
|
|
|
|
- Rather than extensive configurations, focus instead on providing opinionated, best-practice defaults.
|
|
- Try to make a consistent and predictable API across all supported frameworks
|
|
- Everything should be type-safe and embrace typescript magic when necessary.
|
|
|
|
## Development
|
|
|
|
1. Fork the repo
|
|
2. clone your fork.
|
|
3. install node.js (preferable latest LTS).
|
|
4. run `cp -n ./docs/.env.example ./docs/.env` to create a `.env` file (if it doesn't exist)
|
|
5. run `pnpm i` in your terminal to install dependencies.
|
|
6. create a branch.
|
|
7. build the project using `pnpm build`
|
|
8. run `pnpm -F docs dev` (to run the docs section)
|
|
9. create a draft pull request. link the relevant issue by referring to it in the PR's description. Eg.closes #123 will link the PR to issue/pull request #123.
|
|
10. implement your changes.
|
|
|
|
## Testing
|