Thank you for your interest in contributing to nitro-drizzle! Contributions from the community help make this project better for everyone.
This document outlines the guidelines and steps to help you get started with contributing.
By participating in this project, you agree to maintain a respectful, welcoming, and professional environment.
To set up a local development environment:
-
Fork and Clone the Repository
git clone https://github.com/your-username/nitro-drizzle.git cd nitro-drizzle -
Install Dependencies The project uses
pnpmfor managing package dependencies.pnpm install
-
Explore the Playground The repository includes a playground where you can test your changes inside a Nitro app:
pnpm playground
Before submitting any changes, make sure your code passes all tests and conforms to the project's standards.
- Typecheck:
pnpm typecheck - Linting:
pnpm lint(usingoxlint) - Formatting:
pnpm fmt(usingoxfmt) - Unit Tests:
pnpm test(usingvitest)
To run the production build:
pnpm buildThe project uses changelogen to manage releases and generate the changelog.
- Create a new release:
This will:
pnpm release
- Calculate the next version based on conventional commits.
- Update
CHANGELOG.mdwith new changes. - Update
package.jsonversion. - Create a git commit and tag.