Welcome to the JetPath Contributing Guide, and thank you for your interest.
If you would like to contribute to a specific part of the project, check out the following list of contributions that we accept and their corresponding sections that are within this guide:
- Documentation
- Go to the
docsdir
- Go to the
- Bug Fixes
- Go to source code dir at
src
- Go to source code dir at
- New Features
- Create a sample of the new feature, and start a discussion in the community forum.
However, at this time, we do not accept the following contributions:
- Maintenance
The purpose of the JetPath is to streamline your development process while offering flexibility in your choice of runtime environment
Before contributing, read our Code of Conduct to learn more about our community guidelines and expectations.
Refer to the following channels to connect with fellow contributors or to stay up-to-date with news about JetPath:
- Join our project contributors on Discord
Before you start contributing, ensure you have the following:
- For developers: The latest version of Node.js, Bon.js, Deno.js.
- For writers: The lastest version of Node.js.
To set up your environment, perform the following actions:
-
Fork the Repository
-
Clone your forked repository to your local machine using the command below.
git clone https://github.com/<yourusername>/JetPath.gitReplace yourusername with your GitHub username
- Navigate to the Project Directory
cd JetPath- Install Dependencies
npm install
This will download and set up all libraries the project depends on.
- Create a new branch for your feature or fix
git checkout -b your-feature-branch- Start the local server to preview your changes
npm run devOpen your browser and click the URL shown in the terminal (usually http://localhost:4000).
- Run the following command to build the project for production
npm run compile- Push your branch to your fork and open a Pull Request to the main repository. Feel free to ask questions or open an issue if you need help!
-
Fork the Repository
-
Clone your forked repository to your computer using the command below.
git clone https://github.com/<yourusername>/JetPath.gitReplace with your GitHub username 3. Navigate to the Project Directory
cd JetPath- Install Dependencies
npm install
- Create a new branch
git checkout -b your-feature-branch- Preview your changes with this command below
npx docmach Open your browser and click the URL shown in the terminal (usually http://localhost:4000). 7. Push your branch to your fork and open a Pull Request to the main repository.
If you encounter issues as you set up your environment, reach out to the team @fridaycandour for development and @NickyShe for documentation.
Our project uses the Google Typescript coding style guide as our parent guide for best practices. Reference the guide to familiarize yourself with the best practices we want contributors to follow
- Organize your code properly
- Always run your test before pushing any code
Read the Google developers documentation writing style guide to understand the guidelines for writing and formatting documents. The purpose of the style guide is to ensure consistency in the tone, voice, and structure of our documentation.
To help us improve JetPath, please report any issues or bugs you encounter. Here’s how you can do it:
- Before creating a new issue, search the issue tracker to see if someone else has already reported the problem.
- If you can’t find an existing issue, click the New issue button and fill out the template provided. Make sure to include:
- A summary the issue in a few words.
- Explain the problem, including any error messages or unexpected behavior.
- List the steps you took that led to the issue.
- Describe what you expected to happen and what actually happened.
- Attach any relevant screenshots or log files if applicable.
-
If relevant, mention your environment for example, operating system, browser, version of JetPath.
-
Apply labels to categorize issues by type for eexample,bug, feature request, documentation.
-
Use priority labels for example, high, medium, low to indicate the urgency of the issue.
-
Use the issue comments to discuss the problem and potential solutions with other contributors.
Following these steps will help us track and resolve issues, ensuring JetPath continues to improve for everyone.
Here are the types and description of commit messages
| Type | Description |
|---|---|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation changes |
| chore | Maintenance / build tasks |
| refactor | Code refactoring without feature change |
Example Commit message
feat: add support for Deno.js runtime environment detection
fix: resolve issue with npm run compile failing on Windows
docs: update contributing guide with branch naming conventions
chore: upgrade dependencies to latest stable versions
refactor: reorganize src/utils for better modularity
To keep our repository organized and make collaboration easy, please follow these guidelines when creating and naming branches:
Use a consistent prefix to indicate the type of work:
-
feature/ for new features
-
bugfix/ for bug fixes
-
hotfix/ for urgent or critical fixes
-
release/ for release preparation
-
docs/ for documentation updates
Example:
git checkout -b feature/add-user-authentication
git checkout -b bugfix/fix-login-error
git checkout -b docs/update-contributing-guide
git checkout -b release/1.0.0
Sticking to these conventions helps everyone quickly understand the purpose of each branch and keeps our workflow efficient
When your changes are ready, submit a pull request (PR) to propose merging your branch into the main repository. Please follow these steps:
- Push your branch to your forked repository:
git push -u origin your-branch-name- Open a pull request on GitHub:
-
Navigate to the main repository on GitHub.
-
Click "Compare & pull request" next to your branch.
-
Ensure the base branch is main (or the appropriate target branch).
- Fill out the pull request template:
-
Provide a clear title and description.
-
List the main changes and the motivation behind them.
-
Reference any related issues by number (e.g., fixes #42).
Pull Request Template Example:
## Description
Briefly describe the purpose of this pull request.
## Changes
- List key changes here
## Additional Information
Add any extra context, screenshots, or testing instructions.
## Checklist
- [ ] Tests passed
- [ ] Documentation updated