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

Commit 89cf715

Browse files
authored
Merge pull request #125 from mocks-server/release
Release v2.1.0
2 parents bb7824b + 63be54e commit 89cf715

File tree

14 files changed

+777
-455
lines changed

14 files changed

+777
-455
lines changed

.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: ["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
@@ -56,10 +56,12 @@ jobs:
5656
steps:
5757
- name: Checkout
5858
uses: actions/checkout@v2
59+
with:
60+
fetch-depth: 0
5961
- name: Download test results
6062
uses: actions/download-artifact@v2
6163
with:
62-
name: coverage-15.2.0
64+
name: coverage-16.1.0
6365
path: coverage
6466
- name: Coveralls
6567
uses: coverallsapp/github-action@master

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ 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://npm.pkg.github.com'
1414
# Defaults to the user or organization that owns the workflow file
1515
scope: '@mocks-server'
16+
- run: npm ci
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1619
- run: npm publish
1720
env:
1821
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ 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/'
14+
- run: npm ci
1415
- run: npm publish
1516
env:
1617
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.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

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sonarlint.connectedMode.project": {
3+
"connectionId": "mocks-server",
4+
"projectKey": "mocks-server_plugin-inquirer-cli"
5+
}
6+
}

CHANGELOG.md

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

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

1624
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of
5757
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/plugin-inquirer-cli
5858
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/plugin-inquirer-cli.svg
5959
[npm-dependencies-url]: https://david-dm.org/mocks-server/plugin-inquirer-cli
60-
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server-plugin-inquirer-cli&metric=alert_status
61-
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server-plugin-inquirer-cli
60+
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server_plugin-inquirer-cli&metric=alert_status
61+
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server_plugin-inquirer-cli
6262
[release-image]: https://img.shields.io/github/release-date/mocks-server/plugin-inquirer-cli.svg
6363
[release-url]: https://github.com/mocks-server/plugin-inquirer-cli/releases

0 commit comments

Comments
 (0)