When it comes to open source, there are different ways you can contribute, all of which are valuable. Here's few guidelines that should help you as you prepare your contribution.
When you report a bug, it's helpful to include in the description a failing test that you expect to pass
Alternatively, you can provide a GitHub repository with a minimal reproduction
Please create a GitHub issue before creating a PR. This gives us a chance to discuss wether the change is needed and discuss the approach.
The following steps will get you setup to contribute changes to this repo:
-
Fork this repo.
-
Clone your forked repo:
git clone git@github.com:{your_username}/nestjs-zod.git -
Run
pnpm ito install dependencies.
This repository is a monorepo and includes several packages under the packages directory:
cli- This is a command line utility that can be used to automatically setupnestjs-zodexample- A basic example of usingnestjs-zodexample-dual-zod- An example that uses bothzodv4 and v3nestjs-zod- The main packagez- Deprecated package that should not need any changes
Please write tests for any PR you create
The nestjs-zod documentation lives in the README.md. Be sure to document any API changes you implement.
By contributing your code to the nestjs-zod GitHub repository, you agree to
license your contribution under the MIT license.