Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 3.8 KB

CONTRIBUTING.md

File metadata and controls

76 lines (51 loc) · 3.8 KB

Contributing

Thank you for your interest in contributing! There are several ways you can help.

Please take a read through this document to help streamline the process of getting your contributions added.

Table of Contents

Creating Issues and Enhancements

Have you identified a reproducible problem in this code? Have a feature requests? Please create an Issue, but first make sure that you search the work items to make sure that it has not been entered yet. If you find your issue already exists, please add relevant comments or just a thumbs up to let us know that more people face this issue.

Writing Good Bug Reports and Feature Requests

File a single issue per problem and feature request. Do not enumerate multiple bugs or feature requests in the same issue.

Do not add your issue as a comment to an existing issue unless it's for the identical input. Many issues look similar, but have different causes.

The more information you can provide, the more likely someone will be successful at reproducing the issue and finding a fix.

Please include the following with each issue:

  • Version of the package
  • Version of iTwin.js used
  • Your operating system or browser
  • Reproducible steps (1... 2... 3...) that cause the issue
  • What you expected to see, versus what you actually saw
  • Images, animations, or a link to a video showing the issue occurring
  • A code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally

Pull Requests

We follow the normal GitHub pull request workflow to ensure that all code changes in this repository are code reviewed and all tests pass. This means that there will be a number of reviewers that formally review and sign off for changes. Reviewers should check for redundancy, optimization, stylization, and standardization in each changeset. While we will try to keep this repository as collaborative and open-source as possible, it must also be reliable.

Every change must be tested with proper unit tests.

Source Code Edit Workflow

Build Instructions

See Readme file for more information about build instructions.

Making and Testing Changes

  1. Make source code changes on a new Git branch
  2. Locally commit changes: git commit (or use the Visual Studio Code user interface)
  3. Publish changes on the branch and open a pull request.

Developer Notes

reality-data-client

To build, run and test locally, this checklist below can help solve most issues.

Example commands below to install, clean, build and test :

  • npm i
  • npm run clean
  • npm run build
  • npm run lint
  • npm run test:integration to run integration tests locally.
  • beachball change to generate a changelog entry.
    • We use beachball to manage versioning and changelogs.