Skip to content

Commit fadafef

Browse files
authored
github: use envinfo for getting versions in issue reports (#245)
- replace the version list with a copy+paste this envinfo command, copy back the output - uses a modified, shortened variant of something being used successfully downstream in TSDX: jaredpalmer/tsdx@349f299 - this should make reporting versions zero-effort and thereby significantly decrease non-reporting by making the hard thing easy - personally have experienced issues that didn't report but version was very relevant to the issue - also some folks report "latest" or used carets, which lack posterity or are confusing
1 parent fc2274d commit fadafef

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/issue_template.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
#### What happens and why it is wrong
22

3-
#### Environment
3+
#### Environment
44

55
<!--- describe your environment if it is relevant to the problem --->
66

7-
#### Versions
8-
- typescript:
9-
- rollup:
10-
- rollup-plugin-typescript2:
7+
##### Versions
8+
9+
<!--
10+
PLEASE RUN THIS COMMAND INSIDE YOUR PROJECT:
11+
12+
npx envinfo --npmPackages typescript,rollup,rollup-plugin-typescript2
13+
14+
AND PASTE ITS CONTENTS BELOW INSIDE THE CODE SNIPPET vvvvvvvvv
15+
-->
16+
17+
```text
18+
19+
```
1120

1221
#### rollup.config.js
1322

0 commit comments

Comments
 (0)