Skip to content

Latest commit

 

History

History
78 lines (49 loc) · 2.43 KB

File metadata and controls

78 lines (49 loc) · 2.43 KB

Contributing to CDS

Thank you for your interest in contributing to the Coinbase Design System! While we are not actively soliciting contributions, we welcome issue reports and are open to reviewing pull requests from the community.

Reporting Issues

If you encounter a bug, have a feature request, or notice something that could be improved, please open an issue. Include a clear description, steps to reproduce (for bugs), and screenshots if applicable.

Development Setup

  1. Fork the repository
  2. Follow the README setup instructions

Making Changes

CDS is a cross-platform library with separate implementations for web and mobile. When fixing bugs or adding features, check if your changes apply to both platforms. See all available packages.

When making changes:

Before creating a PR, run the following for each package you modified:

# Run tests
yarn nx run <project>:test

# Type check
yarn nx run <project>:typecheck

# Lint
yarn nx run <project>:lint

# Format all files
yarn nx format:write

Submitting a Pull Request

Fill out the pull request template completely, including:

  • What changed and why
  • Before/after screenshots for UI changes
  • How it was tested (unit tests, manual testing on web/iOS/Android)

Version and Changelog

Before requesting review, update the version and changelog:

# Update changelog and bump version
yarn bump-version

The tool will prompt you for:

  • Changed package (web, mobile, common, etc.)
  • Type of change (breaking, update, fix, etc.)
  • Changelog message
  • PR number

You will do this for each package you have modified.

Then run the release command to keep unmodified package versions in sync (such as cds-common):

yarn release

Review

Request a review from a maintainer, who will trigger CI and review your changes.


Thank you for contributing to CDS! If you have questions, feel free to open an issue for discussion.