👍🎉 First off, thanks for taking the time to contribute! 🎉👍
Check to make sure your bug is not already in an issue
When creating an issue try to document all relevant troubleshooting information. With prisma it helps to know things like
- OS
- Node version
- Output related to error
- Explanation of steps to get error
To develop locally:
- Fork this repository to your own GitHub account and then clone it to your local device.
- Create a new branch:
git checkout -b MY_BRANCH_NAME
- Install dependencies
npm install
- Start developing and watch for code changes:
npm run dev
You may benefit from seeing logs of the steps to making your ERD. Enable debugging by adding the following environment variable and re-running prisma generate
.
ERD_DEBUG=true
Once your code is commited and you are ready to open a PR for review, please link the issue you are solving in this commit to provide details on how to test your contribution.
We also use all-contributors to showcase our contributors. Feel free to add yourself to the contributors by running
npx all-contributors add keonik code
where the keonik
is your github username and the code
is your contribution type from the list provided on all-contributors emoji keys.
npm run test
Run only tests with string many
:
npm run test --t many
Repository maintainers can use npm run release
to publish a new version.