If you plan on working on a significant feature, please open an issue and ask before you get started.
Before starting any development work on ConnectKit please take some time to review this document.
Before jumping into any code, make sure you have the following installed:
Then simply clone the repository to your computer like following:
$ git clone [email protected]:family/connectkit.git
$ cd connectkit
and install the dependencies and run the bundler:
$ yarn install
$ yarn dev:connectkit # Start the bundler
Depending on how you'd like to develop and test ConnectKit there are a couple of different environments you can fire up (you can see them in package.json
). These environments double as simple code examples of how to get ConnectKit set up.
# Custom testbench
$ yarn dev:testbench
# In Create React App
$ yarn dev:cra
# In Next.js
$ yarn dev:nextjs
If the above environments do not fit your needs, feel free to create a new one.
When you're ready, open a pull request and we'll gladly jump into reviewing the code.
Please try and be as detailed as possible in both your commit messages and the changes you introduce to help make the process smoother.
We'll help with updating and writing any documentation related to any feature or changes you're working on.
If there are specific callouts, just let us know in your pull request.