Thank you for any contribution you make to this project. Before you contribute, please read the following guidelines.
- Fork the repository.
- Clone the repository to your local machine.
- Run
pnpm install
to install the dependencies. - Create a new branch for your feature or bug fix with
git checkout -b feat/branch-name
orgit checkout -b fix/branch-name
.
docs/
: Contains the documentation website for this project, created with VitePress.examples/
: Contains example projects that demonstrate how to use this project and how it compares to other libraries.packages/
: Contains the source code for the different packages that make up this project.
pnpm style
: Checks the code style of the project.pnpm style:fix
: Checks the code style of the project and fixes issues if possible.pnpm test
: Runs all tests for each package.pnpm test:core
: Runs tests for the core package.pnpm test:react
: Runs tests for the React bindings.pnpm test:validator-zod
: Runs tests for the validator adapter for zod.pnpm build
: Builds all packages.pnpm build:core
: Builds the core package.pnpm build:react
: Builds the React bindings.pnpm build:validator-zod
: Builds the validator adapter for zod.pnpm example:react:complex:form-signals
: Starts the dev server for the complex React example using form-signals.pnpm example:react:complex:react-hook-form
: Starts the dev server for the complex React example using react-hook-form.pnpm example:react:complex:tanstack-form
: Starts the dev server for the complex React example using tanstack-form.pnpm docs:dev
: Starts the dev server for the documentation website.pnpm docs:build
: Builds the documentation website.
Please follow the Conventional Commits specification when writing commit messages.
When you are ready to submit a pull request, please make sure to do the following:
- Run
pnpm style
to check the code style. - Run
pnpm test
to run all tests. - Make sure the tests pass.
- Make sure the build passes.
- Make sure the documentation is up-to-date.
- Make sure the examples are up-to-date.
- Make sure the README is up-to-date.