If you're reading this, you're awesome! Thank you for helping us make this project great and being a part of the open source community. Here are a few guidelines that will help you along the way.
MVOM has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.
Working on your first Pull Request? You can learn how from this free video series:
How to Contribute to an Open Source Project on GitHub
To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain changes that have a relatively limited scope. This label means that there is already a working solution to the issue in the discussion section. Therefore, it is a great place to get started.
If you decide to fix an issue, please be sure to check the comment thread in case somebody is already working on a fix. If nobody is working on it at the moment, please leave a comment stating that you have started to work on it so other people don’t accidentally duplicate your effort.
If somebody claims an issue but doesn’t follow up for more than a week, it’s fine to take it over but you should still leave a comment. If there has been no activity on the issue for 7 to 14 days, it is safe to assume that nobody is working on it.
MVOM is a community project, so Pull Requests are always welcome, but, before working on a large change, it is best to open an issue first to discuss it with the maintainers.
When in doubt, keep your Pull Requests small. To give a Pull Request the best chance of getting accepted, don't bundle more than one feature or bug fix per Pull Request. It's often best to create two smaller Pull Requests than one big one.
-
Fork the repository.
-
Clone the fork to your local machine and add upstream remote:
git clone https://github.com/<your username>/mvom.git
cd mvom
git remote add upstream https://github.com/STORIS/mvom.git
- Install the dependencies:
npm install
- Create a new topic branch:
git checkout -b my-topic-branch
- Make changes, commit and push to your fork:
git push -u origin HEAD
- Go to the repository and make a Pull Request.
The maintainers are monitoring for Pull Requests. We will review your Pull Request and either merge it, request changes to it, or close it with an explanation.
If any of the checks fails click on the Details link and review the logs of the build to find out why it failed. The following section gives an overview of what each check is responsible for.
Ensures that code performs as expected under test scenarios.
Monitors coverage of the tests. The coverage threshold is 25% for each individual file.
Ensures that all TypeScript typings are valid and the TypeScript compiler does not encounter any errors.
Ensures that code is styled according to the standards of the repository.
Ensures that code is formatted according to the standards of the repository.
Please follow the coding style of the project. MVOM uses prettier and eslint, so if possible, enable linting in your editor to get real-time feedback.
npm run lint
runs manually the rules for eslint.npm run prettier
runs manually the rules for prettier.
Finally, when you submit a Pull Request, they are run again by our continuous integration tools, but hopefully, your code is already clean!
By contributing your code to the STORIS/mvom GitHub repository, you agree to license your contribution under the MIT license.