Skip to content

Commit

Permalink
Merge pull request #11 from gregoranders/development
Browse files Browse the repository at this point in the history
0.0.7 Release
  • Loading branch information
gregoranders authored Jun 26, 2020
2 parents 4d3a534 + 3e1dbba commit 43bf4a4
Show file tree
Hide file tree
Showing 19 changed files with 383 additions and 157 deletions.
13 changes: 0 additions & 13 deletions .eslintrc.js

This file was deleted.

36 changes: 36 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "jest", "unicorn", "@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:unicorn/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {}
},
"env": {
"es2020": true,
"es6": true,
"browser": false,
"jest": true
},
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"sort-imports": [
"error",
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
}
]
},
"settings": {}
}
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: 'gregoranders'
---

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

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

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

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: 'gregoranders'
---
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'enhancement'
assignees: 'gregoranders'
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

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

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
labels:
- 'npm dependencies'
commit-message:
prefix: 'npm'
assignees:
- 'gregoranders'
target-branch: 'development'
87 changes: 43 additions & 44 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,52 @@ on:

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x, 13.x]
os: [ubuntu-latest]
node-version: [14.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
id: projectinfo
uses: gregoranders/nodejs-project-info@master
env:
CI: true
- name: npm install
run: |
npm install
env:
CI: true
- name: npm run build
run: |
npm run build
env:
CI: true
- name: npm test
run: |
npm test
env:
CI: true
- name: code coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
env:
CI: true
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/[email protected]
env:
CI: true
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
with:
coverageCommand: npm run test
debug: true
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
id: projectinfo
uses: gregoranders/nodejs-project-info@master
env:
CI: true
- name: npm install
run: |
npm install
env:
CI: true
- name: npm run build
run: |
npm run build
env:
CI: true
- name: npm test
run: |
npm test
env:
CI: true
- name: code coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
env:
CI: true
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/[email protected]
env:
CI: true
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
with:
coverageCommand: npm run test
debug: true
109 changes: 54 additions & 55 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,64 +7,63 @@ on:

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [12.x, 13.x]
os: [ubuntu-latest]
node-version: [14.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
id: projectinfo
uses: gregoranders/nodejs-project-info@master
env:
CI: true
- name: npm install
run: |
npm install
env:
CI: true
- name: npm run build
run: |
npm run build
env:
CI: true
- name: npm test
run: |
npm test
env:
CI: true
- name: code coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
env:
CI: true
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/[email protected]
env:
CI: true
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
with:
coverageCommand: npm run test
debug: true
- name: create release
id: createrelease
uses: gregoranders/nodejs-create-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: v${{ steps.projectinfo.outputs.version }}
name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }}
body: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release
draft: false
target: ${{ github.ref }}
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: nodejs project info
id: projectinfo
uses: gregoranders/nodejs-project-info@master
env:
CI: true
- name: npm install
run: |
npm install
env:
CI: true
- name: npm run build
run: |
npm run build
env:
CI: true
- name: npm test
run: |
npm test
env:
CI: true
- name: code coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
env:
CI: true
- name: publish code coverage to code climate
if: matrix.os == 'ubuntu-latest'
uses: paambaati/[email protected]
env:
CI: true
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
with:
coverageCommand: npm run test
debug: true
- name: create release
id: createrelease
uses: gregoranders/nodejs-create-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: v${{ steps.projectinfo.outputs.version }}
name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }}
body: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release
draft: false
target: ${{ github.ref }}
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#### 0.0.7 (2020-06-26)

##### Build System / Dependencies

- **release:** add new packaged version ([2eb8fe7d](https://github.com/gregoranders/nodejs-upload-asset/commit/2eb8fe7d5576be30b07c91c4890b485958e58d2e))

##### Chores

- **github:** add GitHub releated files ([1e3d8d84](https://github.com/gregoranders/nodejs-upload-asset/commit/1e3d8d84a9d499cba7c4666059e40397aba259ab))
- **dependencies:** update dependencies ([15a5c27d](https://github.com/gregoranders/nodejs-upload-asset/commit/15a5c27d5061164039b8743eb1c303e38666c3bc))

##### New Features

- **lint-staged:** add lint-staged ([423420b3](https://github.com/gregoranders/nodejs-upload-asset/commit/423420b3895cb1dc0a9a44b3198d63946cb53522))
- **package:** add CHANGELOG ([6c6926e7](https://github.com/gregoranders/nodejs-upload-asset/commit/6c6926e7816773ee5bef2e17abe7bd3b05334acd))
- **eslint:** add jest and unicorn plugin ([b7a13121](https://github.com/gregoranders/nodejs-upload-asset/commit/b7a13121cbe0abda8feb61ab272a4fd19db942c3))

##### Bug Fixes

- **docs:** fix url in SECURITY.md ([aa6492b1](https://github.com/gregoranders/nodejs-upload-asset/commit/aa6492b1ca5a9d5627add56766efae15bda60d1d))
- **package:** pin down package to fixed version ([96d5d8dd](https://github.com/gregoranders/nodejs-upload-asset/commit/96d5d8ddfecce9aaf84ba3b8d022cbfa46de56fd))

##### Refactors

- **prettier:** move prettier configuration to json ([e30f2f9a](https://github.com/gregoranders/nodejs-upload-asset/commit/e30f2f9a0c508b772bdd234d482ea8a50512f3ae))
Loading

0 comments on commit 43bf4a4

Please sign in to comment.