Skip to content

Commit 8f15811

Browse files
committed
ci: drop support old node
1 parent 1539df8 commit 8f15811

File tree

5 files changed

+37
-86
lines changed

5 files changed

+37
-86
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
sudo: false
22
language: node_js
33
node_js:
4+
- "12"
45
- "11"
56
- "10"
67
- "9"
78
- "8"
8-
- "7"
9-
- "6"
109

1110
after_script:
12-
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
11+
- npm run coverage

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
environment:
22
matrix:
3+
- nodejs_version: "12"
34
- nodejs_version: "11"
45
- nodejs_version: "10"
56
- nodejs_version: "9"
67
- nodejs_version: "8"
7-
- nodejs_version: "7"
8-
- nodejs_version: "6"
98

109
version: "{build}"
1110
build: off

package-lock.json

Lines changed: 12 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"main": "lib/index.js",
1515
"engines": {
16-
"node": ">=6"
16+
"node": ">=8"
1717
},
1818
"scripts": {
1919
"version": "conventional-changelog -i changelog.md -s -r 0 && git commit -am \"build: update changelog\"",
@@ -48,13 +48,14 @@
4848
"@babel/register": "^7.4.4",
4949
"@commitlint/cli": "^8.0.0",
5050
"@commitlint/config-angular": "^8.0.0",
51+
"acorn": "^6.1.1",
5152
"ava": "*",
5253
"babel-eslint": "^10.0.1",
5354
"babel-plugin-add-module-exports": "^1.0.2",
5455
"babel-preset-minify": "^0.5.0",
5556
"clinton": "^0.14.0",
5657
"conventional-changelog-cli": "^2.0.21",
57-
"coveralls": "^3.0.3",
58+
"coveralls": "^3.0.4",
5859
"eslint": "^5.16.0",
5960
"eslint-config-xo": "^0.26.0",
6061
"eslint-config-xo-space": "^0.21.0",
@@ -66,7 +67,7 @@
6667
"eslint-plugin-prettier": "^3.1.0",
6768
"eslint-plugin-unicorn": "^9.0.0",
6869
"husky": "^2.4.0",
69-
"lint-staged": "^8.1.7",
70+
"lint-staged": "^8.2.0",
7071
"nyc": "^14.1.1",
7172
"rimraf": "^2.6.3"
7273
},

readme.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Adds the ability to use a custom property in the options, at-rules.
1616
$ npm install postcss-at-rules-variables
1717
```
1818

19-
> **Note:** This project is compatible with node v6+
19+
> **Note:** This project is compatible with node v8+
2020
2121
## Usage
2222

@@ -38,23 +38,23 @@ var css = fs.readFileSync('css/input.css', 'utf8');
3838

3939
// Process CSS
4040
var output = postcss()
41-
.use(atVariables({ /* atRules: ['media'] */ }))
42-
.use(colorFunction())
43-
.use(atEach())
44-
.use(atImport({
45-
plugins: [
46-
require('postcss-at-rules-variables')({ /* options */ }),
47-
require('postcss-import')
48-
]
49-
}))
50-
.use(atFor())
51-
.use(atIf())
52-
.use(cssVariables())
53-
.use(nested())
54-
.process(css, {
55-
from: 'css/input.css'
56-
})
57-
.css;
41+
.use(atVariables({ /* atRules: ['media'] */ }))
42+
.use(colorFunction())
43+
.use(atEach())
44+
.use(atImport({
45+
plugins: [
46+
require('postcss-at-rules-variables')({ /* options */ }),
47+
require('postcss-import')
48+
]
49+
}))
50+
.use(atFor())
51+
.use(atIf())
52+
.use(cssVariables())
53+
.use(nested())
54+
.process(css, {
55+
from: 'css/input.css'
56+
})
57+
.css;
5858

5959
console.log(output);
6060
```

0 commit comments

Comments
 (0)