We would ❤️ you to contribute to Headless Hashnode Starter kit and help make it better! We want contributing to Hashnode to be fun, enjoyable, and educational for anyone and everyone. All contributions are welcome, including issues, integrations, updates and tweaks.
If you are worried or don’t know where to start, you can checkout open issues or add new issues and comment your interest and a maintainer can guide you. Alternatively, you can send your questions to anyone from the Hashnode team on Discord.
Branch naming convention is as following
TYPE-DESCRIPTION
example:
feat-adds-profile-section
When TYPE
can be:
- feat - a new feature
- fix - a bug fix
- refactor - code change that neither fixes a bug nor adds a feature
All PRs must include a commit message with the description of the changes made!
For the initial start, fork the project and use git clone command to download the repository to your computer. A standard procedure for working on an issue would be to:
git pull
, before creating a new branch, pull the changes from upstream. Your main branch needs to be up to date.
$ git pull
- Create a new branch from
main
like:feat-adds-profile-section
.
$ git checkout -b [name_of_your_new_branch]
-
Work - commit - repeat (make sure you're on the correct branch!)
-
Push changes to GitHub.
$ git push origin [name_of_your_new_branch]
- Submit your changes for review
If you go to your repository on GitHub, you'll see a
Compare & pull request
button. Click on that button. - Start a Pull Request
Now submit the pull request and click on
Create pull request
. - Get a code review approval/reject.
- After approval, merge your PR.
- GitHub will automatically delete the branch after the merge is done. (they can still be restored).
To set up a working development environment, just fork the project git repository and install the necessary packages with the pnpm install
command.
If you just want to get started with Headless Hashnode for day-to-day use and not as a contributor, you can refer to the guide or the README file.
git clone [email protected]:[YOUR_FORK_HERE]/starter-kit.git
cd starter-kit
pnpm install
pnpm run dev
Note- Make sure to run pnpm run dev
in the correct folder. You can find more instructions about it in the README
To stay updated with latest updates of Hashnode, you can follow: