Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.25 KB

CONTRIBUTING.md

File metadata and controls

40 lines (26 loc) · 1.25 KB

Contributing to the Kesef ecosystem 🥞

Thanks for taking the time to contribute ! You can start by reading our Contribution guidelines first.

Setup

Install the dependencies

yarn

This project uses Storybook. To start development run

yarn storybook

Don't forget to setup your IDE with eslint and prettier.

Typing

The whole project is built with TypeScript. Make sure you export only the types needed on the client. Prefer using interface over types.

Projet structure

The entry point is src/index.ts, you can find all the exports in this file.

  • components contains all the atomic and generic components of the UIkit.
  • widgets contains more complex components with business logic.
  • theme is where you can find all the styling configuration. It follows the System UI Theme Specification
  • hooks contains generic hooks.
  • utils contains internal utils functions. It's not meant to be exported.

Tests

Run tests with yarn test. When you create a component, don't forget to create a snapshot test.