Skip to content

Commit

Permalink
chore: add vscode task JSON and GitHub issue/pr templates (#268)
Browse files Browse the repository at this point in the history
This commit adds templates for GitHub issues and PRs, and a configuration
file for VSCode to enable build and test tasks in the IDE.

Signed-off-by: Lance Ball <lball@redhat.com>
  • Loading branch information
lance authored Jul 24, 2020
1 parent a6124cc commit 1613595
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug Report
about: Create a report to help us improve this module
title: ''
labels: ''
assignees: ''

---

**Describe the Bug**
A clear and concise description of what the bug is.

**Steps to Reproduce**
1.
2.
3.

**Expected Behavior**
A clear and concise description of what you expected to happen.



**Additional context**
Add any other context about the problem here. If applicable, add screenshots to help explain your problem.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature Request
about: Suggest an idea for this module
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you would like to see**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
15 changes: 15 additions & 0 deletions .github/pull-request-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- General PR guidelines:
Most PRs should be opened against the master branch.
-->

## Proposed Changes

-
-
-

## Description
- Fixes Issue #
- Version:
37 changes: 37 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": [],
"label": "npm: build",
"detail": "tsc --project tsconfig.json && tsc --project tsconfig.browser.json && webpack"
},
{
"type": "npm",
"script": "watch",
"group": "build",
"problemMatcher": [],
"label": "npm: watch",
"detail": "tsc --project tsconfig.json --watch"
},
{
"type": "npm",
"script": "lint",
"group": "build",
"problemMatcher": [],
"label": "npm: lint",
"detail": "eslint 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'"
},
{
"type": "npm",
"script": "test",
"group": "test",
"problemMatcher": [],
"label": "npm: test",
"detail": "mocha --require ts-node/register ./test/integration/**/*.ts"
},
]
}

0 comments on commit 1613595

Please # to comment.