Thank you for your interest in contributing! Please follow these guidelines to ensure smooth collaboration.
- Node.js 18+
- Recommended package manager: npm or pnpm
- Recommended editor: VSCode + TypeScript plugin
- Create feature/bugfix branches from the latest
mainbranch. - Each feature/fix should be in a separate branch, avoid mixing unrelated changes.
- PR titles should be concise; descriptions must state the purpose, scope, and testing method.
- Ensure local build and tests pass before submitting a PR.
- Strict TypeScript mode.
- 2-space indentation.
- Prefer
@/alias for imports. - Keep comments clear and up-to-date.
- feat: new feature
- fix: bug fix
- docs: documentation
- refactor: refactor
- test: test related
- chore: build/deps/chore
- Add/modify unit tests for new/changed features.
- Run
npm testto ensure all tests pass.
- PRs will be reviewed by maintainers/reviewers.
- Address review comments promptly.
- Only merge after approval.
- Path alias not working? Check
tsconfig.jsonand ensure your runtime supports it. - Dependency install failed? Try switching npm/pnpm registry or upgrading Node.
- For other issues, please open an issue.