Welcome and thank you for considering contributing to WebViz Subsurface Compnents. Contributions are welcome in the form of
- Reporting a bug
- Discussing the current state of the code
- Proposing new features
- Submitting a bug fix or a new feature
- Improvements to code, tests or documentation
Please report issues using the issues tracker
Use this to report bugs or to suggest new features.
In order to submit changes to code, documentation or tests, then please submit a pull request.
In general, we follow the "fork-and-pull" Git workflow
- Fork the repository to your own Github account
- Clone the project to your machine
- Create a branch locally with a succinct but descriptive name
- Commit changes to the branch
- Following any formatting and testing guidelines specific to this repo
- Push changes to your fork
- Open a PR in our repository and follow the PR template so that we can efficiently review the changes.
- Code follows conventions. Validate with
npm run validate
in thetypescript
directory. - All tests are passing. Validate with
npx nx run-many -t test_correctness
in thetypescript
directory. - PR title follows Conventional commits convention.
- New APIs are documented.
- If fixing a bug or introducing a new feature, a story describing the issue is provided.
- New code is covered by tests.
jest
is used for unit tests, andcypress
is used for visual tests.
Contributions are validated through a set of conditions:
- Conventional commits
- Code convention - using
eslint
,prettier
andblack
- Testing - using
jest
andcypress
- Security - using Snyk
Post questions in Discussions