Hello! Thanks for your interest in contributing! Before implementing new features and changes please create an issue so we can have a discussion about it!
- Fork this repository
- Create a new branch with the name of the feature you plan to work on
- Install dependencies with npm install
- Make your changes to src/components
- Test your changes
- You can run the frontend components by running
npm run dev
- Make sure you use your new or modified components in both demoWithProvider.tsx and demoWithoutProvider.tsx to ensure both use cases work properly
- You can run the frontend components by running
- Push your changes to your fork's branch
- Make a pull request to the main development branch
Assuming you or a contributor followed the instructions for making a pull request and are a maintainer you can follow these instructions to release a new version of the library.
- Run
npm run build
which will build the project and generate the documentation - Update the changelog
- Bump the version in package.json. Make sure it adheres to semantic versioning
- Create a release commit in the format:
:bookmark: v{newVersionHere}
- Push changes to deployed master branch.
- Create and publish a new release on github
- Run
npm publish
- Update the codesandbox
- Have a beer! 🍻