Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.32 KB

File metadata and controls

71 lines (51 loc) · 1.32 KB

Contributing to KTUI

Thanks for contributing to KTUI.

Quick Start

git clone https://github.com/keenthemes/ktui.git
cd ktui
npm install

Optional (recommended for contributors):

git remote add upstream https://github.com/keenthemes/ktui.git

Development Commands

npm run dev
npm run build
npm run format
npm run lint
npm run type-check:strict
  • dev: watch mode for local development
  • build: one-off production build

Code Quality Rules

  • Keep TypeScript strictness enabled.
  • Avoid any in production source; prefer unknown + narrowing.
  • Avoid broad Function typing; 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 lint

Commit Message Convention

Use conventional prefixes:

  • feat: new feature
  • fix: bug fix
  • refactor: code change without feature/bug fix
  • docs: documentation only
  • build: tooling/dependency/build changes
  • ci: CI configuration changes
  • chore: maintenance changes

Example:

feat(components): add new prop to avatar

Pull Requests

  1. Create a branch.
  2. Make focused changes.
  3. Run quality checks.
  4. Push and open a PR against the main repo.

If you need help, contact @keenthemes.