Thank you for considering contributing to ao-deploy! We welcome contributions from everyone. To ensure a smooth process, please follow the guidelines below.
- Search for existing issues: Before opening a new issue, make sure to check if the issue has already been reported.
- Provide detailed information: Include a clear and concise description of the issue, steps to reproduce it, and any relevant screenshots or logs.
- Open an issue: Report issues on our issue tracker.
-
Fork the repository: Create a personal copy of the repository on GitHub by forking it.
-
Create a branch: Make sure to create a new branch for your changes. Use a descriptive name for your branch (e.g.,
fix-typo
,add-new-feature
). -
Install dependencies: Use
pnpm
to install dependencies.pnpm install
-
Make changes: Implement your changes in your branch.
-
Test your changes: Ensure that your changes do not break any existing functionality.
-
Lint your code: Ensure your code follows the project's coding standards.
pnpm lint
-
Submit a pull request: Push your changes to your forked repository and open a pull request to the main repository. Provide a clear description of the changes and why they are needed.
-
Code style:
- Follow the coding style and guidelines as configured in our ESLint setup.
- Ensure code formatting using ESLint. We have
lint-staged
configured to runeslint --fix
on staged files before committing.
-
Documentation: Update documentation as necessary to reflect your changes.
-
Commit messages: Write clear and concise commit messages that explain the purpose of the changes.
-
Build: Build the project using
unbuild
.pnpm build
-
Dev: Start the development server.
pnpm dev
-
Lint: Lint the project using ESLint.
pnpm lint
-
Test: Run tests using Vitest.
pnpm test
-
Typecheck: Check TypeScript types.
pnpm typecheck
-
Release: Bump version and publish.
pnpm release
-
Prepare: Prepare git hooks using
simple-git-hooks
.pnpm prepare
If you need assistance or have questions, feel free to reach out to us through our issue tracker.
Thank you for contributing!