Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.46 KB

CONTRIBUTING.md

File metadata and controls

24 lines (19 loc) · 1.46 KB

Logging Bugs

  1. Start logging an issue in the issue tracker.
  2. Clearly identify the problem and submit some reproduction code.
    • Prune the reproduction to remove needless details.
  3. State the current and expected behaviour.
  4. State the version of ts-morph (always show a reproduction of the bug on the latest version).

Contributing Bug Fixes

  1. Follow the instructions above about logging a bug. In addition:
    1. State that you are going to work on the bug.
    2. Discuss major structural changes in the issue before doing the work to ensure it makes sense and work isn't wasted
  2. Start working on the fix in a branch of the dev branch and submit a PR when done.

Contributing Features

  1. Log an issue in the issue tracker. In the issue:
    1. Propose the change.
      • Outline all changes that will be made to the public API.
      • Discuss any structural changes to the code if necessary.
    2. Wait for discussion and green light from @dsherret (who will try to reply as soon as possible, but it might take a few days).
      • Note: If the change is small and you think it wouldn't take you too much time, then feel free to start working on it and even submit a PR. Just beware that you're taking the risk that it could be denied.
  2. After approval, start working on the change in a branch of the dev branch and submit a PR.