Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.27 KB

CONTRIBUTING.md

File metadata and controls

38 lines (29 loc) · 1.27 KB

How do I Contribute 💪

we're excited to have you on board!

  • Take a look at the existing Issues or create a new issue!
  • Fork the Repo. Then, create a branch for any issue that you are working on. Finally, commit your work.
  • Create a Pull Request, which will be promptly reviewed and given suggestions for improvements.

Setup

It's a private workspace where you can see two packages:

  1. Generator package
  2. Server package to test out the changes you've made to the generator

How to start developing?

# get into the generator package
$ cd packages/generator

# Run yarn to install the needed dependencies
$ yarn

# start developing
$ yarn dev

How to test the changes I've made to the generator?

# get into the server package
$ cd packages/server

# Run yarn to install the needed dependencies
$ yarn

# check `./prisma/schema.prisma` file to modify the generator options if needed
# test the generator
$ prisma generate
# then checkout the generated output where you can find it in the specefied output path generator options in `schema.prisma`