Thanks for contributing to KTUI.
git clone https://github.com/keenthemes/ktui.git
cd ktui
npm installOptional (recommended for contributors):
git remote add upstream https://github.com/keenthemes/ktui.gitnpm run dev
npm run build
npm run format
npm run lint
npm run type-check:strictdev: watch mode for local developmentbuild: one-off production build
- Keep TypeScript strictness enabled.
- Avoid
anyin production source; preferunknown+ narrowing. - Avoid broad
Functiontyping; define explicit function signatures. - Keep public API contracts typed with exported KTUI interfaces.
Before opening a PR, run:
npm run type-check:strict
npm run lintUse conventional prefixes:
feat: new featurefix: bug fixrefactor: code change without feature/bug fixdocs: documentation onlybuild: tooling/dependency/build changesci: CI configuration changeschore: maintenance changes
Example:
feat(components): add new prop to avatar- Create a branch.
- Make focused changes.
- Run quality checks.
- Push and open a PR against the main repo.
If you need help, contact @keenthemes.