Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 043b462

Browse files
authored
Merge pull request #112 from mocks-server/release
Release v2.1.0
2 parents 39b7758 + 55f4050 commit 043b462

12 files changed

+1904
-893
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"node": true
44
},
55
"parserOptions": {
6-
"ecmaVersion": "2018",
6+
"ecmaVersion": 2018,
77
"sourceType": "module"
88
},
99
"plugins": ["prettier"],
@@ -15,6 +15,7 @@
1515
"parser": "flow"
1616
}
1717
],
18+
"no-shadow": "error",
1819
"no-undef": "error",
1920
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }]
2021
},

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: ["12.19.0", "14.15.0", "15.2.0"]
14+
node: ["12.22.1", "14.17.0", "15.14.0", "16.1.0"]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
@@ -20,7 +20,7 @@ jobs:
2020
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
2121
id: extract-branch
2222
- name: Use Node.js
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v2
2424
with:
2525
node-version: ${{ matrix.node }}
2626
- name: Cache node modules
@@ -53,10 +53,12 @@ jobs:
5353
steps:
5454
- name: Checkout
5555
uses: actions/checkout@v2
56+
with:
57+
fetch-depth: 0
5658
- name: Download test results
5759
uses: actions/download-artifact@v2
5860
with:
59-
name: coverage-15.2.0
61+
name: coverage-16.1.0
6062
path: coverage
6163
- name: Coveralls
6264
uses: coverallsapp/github-action@master

.github/workflows/check-package-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v2
1212
- name: Get NPM version is new
1313
id: check
14-
uses: EndBug/version-check@v1.6.0
14+
uses: EndBug/version-check@v2.0.1
1515
with:
1616
diff-search: true
1717
file-name: ./package.json

.github/workflows/publish-to-github.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
- uses: actions/checkout@v2
1010
- run: npm ci
1111
- run: npm run build
12-
- uses: actions/setup-node@v1
12+
- uses: actions/setup-node@v2
1313
with:
14-
node-version: '12.x'
14+
node-version: '14.x'
1515
registry-url: 'https://npm.pkg.github.com'
1616
# Defaults to the user or organization that owns the workflow file
1717
scope: '@mocks-server'

.github/workflows/publish-to-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v1
10+
- uses: actions/setup-node@v2
1111
with:
12-
node-version: '12.x'
12+
node-version: '14.x'
1313
registry-url: 'https://registry.npmjs.org/'
1414
- run: npm ci
1515
- run: npm run build

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint-staged

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111
### Removed
1212

13+
## [2.1.0] - 2021-02-17
14+
15+
### Added
16+
- feat: Add node v16.x to engines
17+
18+
### Changed
19+
- Update dependencies
20+
1321
## [2.0.0] - 2021-02-17
1422

1523
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of
3636
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/admin-api-paths
3737
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/admin-api-paths.svg
3838
[npm-dependencies-url]: https://david-dm.org/mocks-server/admin-api-paths
39-
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server-admin-api-paths&metric=alert_status
40-
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server-admin-api-paths
39+
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_admin-api-paths&metric=alert_status
40+
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_admin-api-paths
4141
[release-image]: https://img.shields.io/github/release-date/mocks-server/admin-api-paths.svg
4242
[release-url]: https://github.com/mocks-server/admin-api-paths/releases

0 commit comments

Comments
 (0)