Skip to content

Commit

Permalink
Drop support for node 8/9. Update peer dep to Stylelint 13 (#67)
Browse files Browse the repository at this point in the history
* Drop support for node 8. Update peer dep to Stylelint 13

Closes #59

* Update config.yml

* Update .npmpackagejsonlintrc.json

* Update .npmpackagejsonlintrc.json
  • Loading branch information
tclindner authored Mar 7, 2020
1 parent d0de406 commit e08879b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 40 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 test
test-node9:
docker:
- image: circleci/node:9
steps:
- attach_workspace:
at: ~/
- run: npm test
test-node10:
docker:
- image: circleci/node:10
Expand Down Expand Up @@ -55,7 +41,7 @@ jobs:
- run: npm test
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
5 changes: 4 additions & 1 deletion .npmpackagejsonlintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "npm-package-json-lint-config-tc"
"extends": "npm-package-json-lint-config-tc",
"rules": {
"valid-values-engines": "off"
}
}
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 @@ -20,7 +20,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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-tc",
"version": "5.1.0",
"version": "6.0.0",
"description": "Stylelint shareable config",
"keywords": [
"stylelint",
Expand Down Expand Up @@ -54,11 +54,11 @@
},
"peerDependencies": {
"prettier": "^1.0.0",
"stylelint": "^11.0.0 || ^12.0.0",
"stylelint": "^13.0.0",
"stylelint-prettier": "^1.0.0"
},
"engines": {
"node": ">=8.0.0",
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"license": "MIT"
Expand Down

0 comments on commit e08879b

Please sign in to comment.