Thanks for showing interest to contribute to Manifest UI 💖, you rock!
There are different ways you can contribute, all of which are valuable. Here's a few guidelines that should help you as you prepare your contribution.
The following steps will get you up and running to contribute to Manifest UI:
-
Fork the repo (click the Fork button at the top right of this page)
-
Clone your fork locally
git clone https://github.com/<your_github_username>/manifest-ui.git
cd manifest-ui
- Setup all the dependencies and packages by running
yarn && yarn build
. This command will install dependencies
If you run into any issues during this step, kindly reach out to the Design System team here.
coming soon ✨
- Preconstruct to dev and build code in the monorepo.
- Playroom for rapid UI prototyping.
- Storybook for building, documenting, and testing components.
- Changeset for changes documentation, changelog generation, and release management.
yarn dev
: starts Storybook for building and testing components.
yarn build
: run build for all component packages.
yarn lint
: runs all the safety checks (manypkg, eslint, prettier, and tsc).
Please conform to the issue template and provide a clear path to reproduction with a code example. The best way to show a bug is by sending a CodeSandbox link.
You may wish to use our starters to help you get going:
- JavaScript Starter: https://codesandbox.io/s/manifest-ui-javascript-1i78l
- TypeScript Starter: https://codesandbox.io/s/manifest-ui-typescript-u5hcs
Please provide thoughtful comments and some sample API code. Proposals that don't line up with our roadmap or don't have a thoughtful explanation will be closed.
Pull requests need only the 👍 of two or more collaborators to be merged; when the PR author is a collaborator, that counts as one.
-
Fork of the manifest-ui repository and clone your fork
-
Create a new branch out of the
main
branch. We follow the convention[type/scope]
. For examplefix/accordion-hook
ordocs/menu-typo
.type
can be eitherdocs
,fix
,feat
,build
, or any other conventional commit type.scope
is just a short id that describes the scope of work. -
Make and commit your changes. As you develop, you can run
yarn build
andyarn storybook
to make sure everything works as expected. -
Run
yarn changeset
to create a detailed description of your changes. This will be used to generate a changelog when we publish an update. Learn more about Changeset.
If you made minor changes like CI config, prettier, etc, you can run
yarn changeset add --empty
to generate an empty changeset file to document your changes.
By contributing your code to the manifest-ui GitHub repository, you agree to license your contribution under the MIT license.