Skip to content

Commit 1613595

Browse files
authored
chore: add vscode task JSON and GitHub issue/pr templates (cloudevents#268)
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>
1 parent a6124cc commit 1613595

File tree

4 files changed

+93
-0
lines changed

4 files changed

+93
-0
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve this module
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the Bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Steps to Reproduce**
14+
1.
15+
2.
16+
3.
17+
18+
**Expected Behavior**
19+
A clear and concise description of what you expected to happen.
20+
21+
22+
23+
**Additional context**
24+
Add any other context about the problem here. If applicable, add screenshots to help explain your problem.
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this module
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is.
12+
13+
**Describe the solution you would like to see**
14+
A clear and concise description of what you want to happen.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.github/pull-request-template.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- General PR guidelines:
2+
3+
Most PRs should be opened against the master branch.
4+
5+
-->
6+
7+
## Proposed Changes
8+
9+
-
10+
-
11+
-
12+
13+
## Description
14+
- Fixes Issue #
15+
- Version:

.vscode/tasks.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "build",
7+
"group": "build",
8+
"problemMatcher": [],
9+
"label": "npm: build",
10+
"detail": "tsc --project tsconfig.json && tsc --project tsconfig.browser.json && webpack"
11+
},
12+
{
13+
"type": "npm",
14+
"script": "watch",
15+
"group": "build",
16+
"problemMatcher": [],
17+
"label": "npm: watch",
18+
"detail": "tsc --project tsconfig.json --watch"
19+
},
20+
{
21+
"type": "npm",
22+
"script": "lint",
23+
"group": "build",
24+
"problemMatcher": [],
25+
"label": "npm: lint",
26+
"detail": "eslint 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'"
27+
},
28+
{
29+
"type": "npm",
30+
"script": "test",
31+
"group": "test",
32+
"problemMatcher": [],
33+
"label": "npm: test",
34+
"detail": "mocha --require ts-node/register ./test/integration/**/*.ts"
35+
},
36+
]
37+
}

0 commit comments

Comments
 (0)