Skip to content

Commit 43bf4a4

Browse files
authored
Merge pull request #11 from gregoranders/development
0.0.7 Release
2 parents 4d3a534 + 3e1dbba commit 43bf4a4

19 files changed

+383
-157
lines changed

.eslintrc.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintrc.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["prettier", "jest", "unicorn", "@typescript-eslint"],
5+
"extends": [
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:jest/recommended",
8+
"plugin:unicorn/recommended",
9+
"plugin:prettier/recommended",
10+
"prettier/@typescript-eslint"
11+
],
12+
"parserOptions": {
13+
"ecmaVersion": 2020,
14+
"sourceType": "module",
15+
"ecmaFeatures": {}
16+
},
17+
"env": {
18+
"es2020": true,
19+
"es6": true,
20+
"browser": false,
21+
"jest": true
22+
},
23+
"rules": {
24+
"@typescript-eslint/explicit-module-boundary-types": "off",
25+
"sort-imports": [
26+
"error",
27+
{
28+
"ignoreCase": false,
29+
"ignoreDeclarationSort": true,
30+
"ignoreMemberSort": false,
31+
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
32+
}
33+
]
34+
},
35+
"settings": {}
36+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: 'gregoranders'
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
28+
- OS: [e.g. iOS]
29+
- Browser [e.g. chrome, safari]
30+
- Version [e.g. 22]
31+
32+
**Smartphone (please complete the following information):**
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
38+
39+
**Additional context**
40+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Custom issue template
3+
about: Describe this issue template's purpose here.
4+
title: ''
5+
labels: ''
6+
assignees: 'gregoranders'
7+
---
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: 'gregoranders'
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'npm'
4+
directory: '/'
5+
schedule:
6+
interval: 'daily'
7+
labels:
8+
- 'npm dependencies'
9+
commit-message:
10+
prefix: 'npm'
11+
assignees:
12+
- 'gregoranders'
13+
target-branch: 'development'

.github/workflows/development.yml

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,53 +7,52 @@ on:
77

88
jobs:
99
build:
10-
1110
runs-on: ${{ matrix.os }}
1211

1312
strategy:
1413
matrix:
15-
os: [ubuntu-latest, macos-latest, windows-latest]
16-
node-version: [12.x, 13.x]
14+
os: [ubuntu-latest]
15+
node-version: [14.x]
1716

1817
steps:
19-
- uses: actions/checkout@v1
20-
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
21-
uses: actions/setup-node@v1
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
- name: nodejs project info
25-
id: projectinfo
26-
uses: gregoranders/nodejs-project-info@master
27-
env:
28-
CI: true
29-
- name: npm install
30-
run: |
31-
npm install
32-
env:
33-
CI: true
34-
- name: npm run build
35-
run: |
36-
npm run build
37-
env:
38-
CI: true
39-
- name: npm test
40-
run: |
41-
npm test
42-
env:
43-
CI: true
44-
- name: code coverage
45-
uses: coverallsapp/github-action@master
46-
with:
47-
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
path-to-lcov: ./coverage/lcov.info
49-
env:
50-
CI: true
51-
- name: publish code coverage to code climate
52-
if: matrix.os == 'ubuntu-latest'
53-
uses: paambaati/[email protected]
54-
env:
55-
CI: true
56-
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
57-
with:
58-
coverageCommand: npm run test
59-
debug: true
18+
- uses: actions/checkout@v1
19+
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: nodejs project info
24+
id: projectinfo
25+
uses: gregoranders/nodejs-project-info@master
26+
env:
27+
CI: true
28+
- name: npm install
29+
run: |
30+
npm install
31+
env:
32+
CI: true
33+
- name: npm run build
34+
run: |
35+
npm run build
36+
env:
37+
CI: true
38+
- name: npm test
39+
run: |
40+
npm test
41+
env:
42+
CI: true
43+
- name: code coverage
44+
uses: coverallsapp/github-action@master
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
path-to-lcov: ./coverage/lcov.info
48+
env:
49+
CI: true
50+
- name: publish code coverage to code climate
51+
if: matrix.os == 'ubuntu-latest'
52+
uses: paambaati/[email protected]
53+
env:
54+
CI: true
55+
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
56+
with:
57+
coverageCommand: npm run test
58+
debug: true

.github/workflows/master.yml

Lines changed: 54 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -7,64 +7,63 @@ on:
77

88
jobs:
99
build:
10-
1110
runs-on: ${{ matrix.os }}
1211

1312
strategy:
1413
matrix:
15-
os: [ubuntu-latest, macos-latest, windows-latest]
16-
node-version: [12.x, 13.x]
14+
os: [ubuntu-latest]
15+
node-version: [14.x]
1716

1817
steps:
19-
- uses: actions/checkout@v1
20-
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
21-
uses: actions/setup-node@v1
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
- name: nodejs project info
25-
id: projectinfo
26-
uses: gregoranders/nodejs-project-info@master
27-
env:
28-
CI: true
29-
- name: npm install
30-
run: |
31-
npm install
32-
env:
33-
CI: true
34-
- name: npm run build
35-
run: |
36-
npm run build
37-
env:
38-
CI: true
39-
- name: npm test
40-
run: |
41-
npm test
42-
env:
43-
CI: true
44-
- name: code coverage
45-
uses: coverallsapp/github-action@master
46-
with:
47-
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
path-to-lcov: ./coverage/lcov.info
49-
env:
50-
CI: true
51-
- name: publish code coverage to code climate
52-
if: matrix.os == 'ubuntu-latest'
53-
uses: paambaati/[email protected]
54-
env:
55-
CI: true
56-
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
57-
with:
58-
coverageCommand: npm run test
59-
debug: true
60-
- name: create release
61-
id: createrelease
62-
uses: gregoranders/nodejs-create-release@master
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65-
with:
66-
tag: v${{ steps.projectinfo.outputs.version }}
67-
name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }}
68-
body: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release
69-
draft: false
70-
target: ${{ github.ref }}
18+
- uses: actions/checkout@v1
19+
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: nodejs project info
24+
id: projectinfo
25+
uses: gregoranders/nodejs-project-info@master
26+
env:
27+
CI: true
28+
- name: npm install
29+
run: |
30+
npm install
31+
env:
32+
CI: true
33+
- name: npm run build
34+
run: |
35+
npm run build
36+
env:
37+
CI: true
38+
- name: npm test
39+
run: |
40+
npm test
41+
env:
42+
CI: true
43+
- name: code coverage
44+
uses: coverallsapp/github-action@master
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
path-to-lcov: ./coverage/lcov.info
48+
env:
49+
CI: true
50+
- name: publish code coverage to code climate
51+
if: matrix.os == 'ubuntu-latest'
52+
uses: paambaati/[email protected]
53+
env:
54+
CI: true
55+
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
56+
with:
57+
coverageCommand: npm run test
58+
debug: true
59+
- name: create release
60+
id: createrelease
61+
uses: gregoranders/nodejs-create-release@master
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
with:
65+
tag: v${{ steps.projectinfo.outputs.version }}
66+
name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }}
67+
body: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release
68+
draft: false
69+
target: ${{ github.ref }}

.prettierrc.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 120,
6+
"tabWidth": 2
7+
}

0 commit comments

Comments
 (0)