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: 349f299976
- 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
This commit is contained in:
Anton Gilgur 2020-10-15 11:13:55 -04:00 committed by GitHub
parent fc2274d2ea
commit fadafeffb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,22 @@
#### What happens and why it is wrong
#### Environment
#### Environment
<!--- describe your environment if it is relevant to the problem --->
#### Versions
- typescript:
- rollup:
- rollup-plugin-typescript2:
##### Versions
<!--
PLEASE RUN THIS COMMAND INSIDE YOUR PROJECT:
npx envinfo --npmPackages typescript,rollup,rollup-plugin-typescript2
AND PASTE ITS CONTENTS BELOW INSIDE THE CODE SNIPPET vvvvvvvvv
-->
```text
```
#### rollup.config.js