From becff410ad392303553a26fc09cf1471dc829829 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Mon, 6 Jun 2022 20:31:22 -0400 Subject: [PATCH] github: add troubleshooting steps to the issue template - these steps should help in 2 ways: 1. hopefully avoid common misconfigurations from being repeatedly opened as bug reports - some of these have labels on them now to get a sense of how often they pop up 2. help contributors and maintainers diagnose issues quicker and figure out if an issue is indeed a bug - the diagnosis questions are really common things we ask in an issue already, so think it would work out better to get that up-front - we have labels for some of these too - especially as issues can often get no response / go stale, and if it's truly a bug, it's better to know that earlier than later - condense the `CONTRIBUTING.md` a bit now that some of the most common debugging steps are in the issue template - didn't put in `npm prune` or `clean: true` _yet_, as don't want to make the issue template _too_ big overnight - those also aren't as common an issue and people seem to figure out that an issue is due to caching bugs pretty often already - probably want to move to GitHub's new beta Issue Forms moving forward, but thought it'd be best to get the details into Markdown first, _then_ can migrate - and also creating Issue Forms seems to require moving to the multiple Issue Templates format where users select a "type" of issue (e.g. bug report vs. feature request etc), but we don't have multiple templates yet, so that could be confusing --- .github/issue_template.md | 37 ++++++++++++++++++++++++++++++++----- CONTRIBUTING.md | 13 +++++++------ 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/.github/issue_template.md b/.github/issue_template.md index 6660110d..5bab9686 100644 --- a/.github/issue_template.md +++ b/.github/issue_template.md @@ -1,11 +1,38 @@ -#### What happens and why it is wrong - -#### Environment +## Troubleshooting + - +1. Does `tsc` have the same output? If so, please explain why this is incorrect behavior + + +1. Does your Rollup plugin order match [this plugin's compatibility](https://github.com/ezolenko/rollup-plugin-typescript2#compatibility)? If not, please elaborate + + +1. Can you create a [minimal example](https://stackoverflow.com/help/minimal-reproducible-example) that reproduces this behavior? + + +## What happens and why it is incorrect + -##### Versions +## Environment + +### Versions