Skip to content

Latest commit

 

History

History
110 lines (71 loc) · 3.02 KB

CONTRIBUTING.md

File metadata and controls

110 lines (71 loc) · 3.02 KB

Contributing

Thanks for your interest in contributing to 0xIntuition. We're happy to have you here.

Please take a moment to review this document before submitting your first pull request. We also strongly recommend that you check for open issues and pull requests to see if someone else is working on something similar.

If you need any help, feel free to reach out to @0xintuition.

About this repository

This repository is a monorepo.

Structure

This repository is structured as follows:

apps
└── portal
packages
├── 1ui
└── api
└── protocol
└── sdk
Path Description
apps/portal The Remix application for the playground
packages/1ui Our design system.
packages/api backend interactions
packages/protocol protocol SDK
packages/sdk high level logic that combines both on-chain and off-chain

Contributing To 0xIntuition Packages

Please read the corresponding CONTIBUTING.md file for the app/package you wish to contribute to:

Development

Fork this repo

You can fork this repo by clicking the fork button in the top right corner of this page.

Clone on your local machine

git clone https://github.com/0xIntuition/intuition-ts.git

Create a new Branch

git checkout -b my-new-branch

Install dependencies

pnpm install

Run a workspace

You can use the pnpm [WORKSPACE]:dev command to start the development process for a workspace.

Examples

  1. To run the portal web app:
pnpm portal:dev
  1. To run the 1ui storybook:
pnpm 1ui:storybook

Documentation

The documentation for this project is located in the docs workspace. You can run the documentation locally by running the following command:

pnpm docs

Documentation is written using MDX. You can find the documentation files in the docs directory.

Requests for new components

If you have a request for a new component, please open a discussion on GitHub. We'll be happy to help you out.

Testing

Tests are written using Vitest. You can run all the tests from the root of the repository.

pnpm test

Please ensure that the tests are passing when submitting a pull request. If you're adding new features, please include tests.