Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: use envinfo for getting versions in issue reports (#820)
- replace the version table with a copy+paste this `envinfo` command, copy back the output - saw `nyc` using this about a year ago and thought it was super useful; finally got around to adding it here - https://github.com/istanbuljs/nyc/blame/00c3b3440a5b2ffe11b9c19ae4e08ad2f5b70e33/.github/ISSUE_TEMPLATE.md#L20-L23 - exact language was modified and updated from https://github.com/styled-components/styled-components/blame/53bc31f/.github/ISSUE_TEMPLATE.md#L34 as TSDX does not have its own envinfo preset - perhaps worth creating one? - code snippet inspired from https://github.com/facebook/jest/blame/4d32070/.github/ISSUE_TEMPLATE/bug.md#L35 - this should make reporting versions zero-effort and thereby significantly decrease non-reporting by making the hard thing easy - have had a few places that didn't report and version was *very* relevant to the issue - also have had several that reported "latest" or used carets, which lacks posterity or is confusing
- Loading branch information
349f299
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: