Thanks for your interest in contributing to Chakra Admin.
We're so glad you want to help! 💖
This project is a monorepo managed with lerna
.
It uses yarn
to manage dependecies.
- Fork this repository
- Clone your fork to your local machine
git clone https://github.com/<your_github_username>/chakra-admin.git
cd chakra-admin
- Install and Bootstrap all dependencies and cross dependencies by running:
yarn
yarn bootstrap
- Build the project:
yarn build
yarn bootstrap
- Start the example project:
cd example
yarn start:all
In order to show the changes made in the packages
directory inside the example project, you have to run:
# go to the chakra-admin project
cd chakra-admin
# build all packages
yarn build
# install updated packages
yarn bootstrap
You can now use your new or changed components in the example project.
Here's a list of the commands provided by this project:
yarn bootstrap
: install all the cross dependencies
yarn build
: build all the packages
yarn storybook
: run Storybook for components development (WIP: currently not working)
Chakra Admin follows the Convential Commits specification.
Write the commit like this:
category(scope or module): your commit message
Where category is one of:
feat
: changes that introduce new code or features
fix
: changes that fix a bug (reference an issue if present)
refactor
: any code related change that is not a fix, nor a feature
docs:
changing existing or creating new documentation (README.md, etc.)
chore
: all changes to the repository that do not fit into any of the above categories.