Skip to content

Commit

Permalink
v3.0.0 (#71)
Browse files Browse the repository at this point in the history
* v3.0.0

Require Node 10.
Require npm-package-json-lint ^5.0.0

* Update config.yml
  • Loading branch information
tclindner authored Apr 12, 2020
1 parent dd6e261 commit 941c680
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 201 deletions.
36 changes: 3 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:8
- image: circleci/node:12
steps:
- checkout
- run: npm ci
Expand All @@ -11,20 +11,6 @@ jobs:
root: ~/
paths:
- project
test-node8:
docker:
- image: circleci/node:8
steps:
- attach_workspace:
at: ~/
- run: npm run test:ci
test-node9:
docker:
- image: circleci/node:9
steps:
- attach_workspace:
at: ~/
- run: npm run test:ci
test-node10:
docker:
- image: circleci/node:10
Expand Down Expand Up @@ -55,7 +41,7 @@ jobs:
- run: npm run test:ci
publish-beta:
docker:
- image: circleci/node:10
- image: circleci/node:12
steps:
- attach_workspace:
at: ~/
Expand All @@ -67,7 +53,7 @@ jobs:
command: npm publish --tag beta
publish-stable:
docker:
- image: circleci/node:10
- image: circleci/node:12
steps:
- attach_workspace:
at: ~/
Expand All @@ -86,18 +72,6 @@ workflows:
filters:
tags:
only: /.*/
- test-node8:
requires:
- build
filters:
tags:
only: /.*/
- test-node9:
requires:
- build
filters:
tags:
only: /.*/
- test-node10:
requires:
- build
Expand All @@ -124,8 +98,6 @@ workflows:
only: /.*/
- publish-beta:
requires:
- test-node8
- test-node9
- test-node10
- test-node11
- test-node12
Expand All @@ -138,8 +110,6 @@ workflows:
- hold:
type: approval
requires:
- test-node8
- test-node9
- test-node10
- test-node11
- test-node12
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Node

* [Node.js](https://nodejs.org/) - v8.0.0+
* [Node.js](https://nodejs.org/) - v10.0.0+
* [npm](https://www.npmjs.com/) - v6.0.0+

## Install project dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ First thing first, let's make sure you have the necessary pre-requisites.

#### Node

* [Node.js](https://nodejs.org/) - v8.0.0+
* [Node.js](https://nodejs.org/) - v10.0.0+
* [npm](http://npmjs.com) - v6.0.0+

### Command
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const defaultConfig = {
'private-type': 'error',
'repository-type': 'error',
'scripts-type': 'error',
'version-type': 'error'
}
'version-type': 'error',
},
};

module.exports = defaultConfig;
Loading

0 comments on commit 941c680

Please sign in to comment.