Skip to content

Contributing to Sparkle

Thank you for your interest in contributing to Sparkle! This guide will help you get started.

  1. Clone the repository
Terminal window
git clone https://github.com/marcusrbrown/sparkle.git
cd sparkle
  1. Install dependencies
Terminal window
pnpm install
  1. Start development
Terminal window
pnpm dev

The Sparkle monorepo is organized with focused packages:

  • packages/ui - React component library
  • packages/theme - Design tokens and providers
  • packages/types - TypeScript definitions
  • packages/utils - Utility functions
  • packages/error-testing - Testing framework
  1. Create a feature branch from main
  2. Make your changes with tests
  3. Run quality checks with pnpm check
  4. Submit a pull request with clear description
  • Follow TypeScript best practices
  • Write comprehensive tests
  • Include JSDoc documentation
  • Follow accessibility guidelines
  • Open an issue for bugs or feature requests
  • Join discussions in GitHub Discussions
  • Check existing documentation and examples