mirror of
https://github.com/hoppscotch/hoppscotch
synced 2024-11-23 15:48:33 +00:00
1.9 KiB
1.9 KiB
Contributing
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
Pull Request Process
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
- You may merge the Pull Request once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer merge it for you.
Set Up The Development Environment
-
After cloning the repository, execute the following commands:
pnpm install pnpm run build
-
In order to test locally, you can use two types of package linking:
-
The 'pnpm exec' way (preferred since it does not hamper your original installation of the CLI):
pnpm link @hoppscotch/cli // Then to use or test the CLI: pnpm exec hopp // After testing, to remove the package linking: pnpm rm @hoppscotch/cli
-
The 'global' way (warning: this might override the globally installed CLI, if exists):
sudo pnpm link --global // Then to use or test the CLI: hopp // After testing, to remove the package linking: sudo pnpm rm --global @hoppscotch/cli
-
-
To use the Typescript watch scripts:
pnpm run dev