Skip to content

Commit 6541345

Browse files
jonathantnealromainmenke
authored andcommitted
3.0.0
1 parent 91ce21d commit 6541345

File tree

5 files changed

+34
-22
lines changed

5 files changed

+34
-22
lines changed

plugins/postcss-browser-comments/.rollup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import babel from 'rollup-plugin-babel';
33
export default {
44
input: 'index.js',
55
output: [
6-
{ file: 'index.cjs.js', format: 'cjs' },
7-
{ file: 'index.es.js', format: 'es' }
6+
{ file: 'index.cjs.js', format: 'cjs', strict: false },
7+
{ file: 'index.es.js', format: 'esm', strict: false }
88
],
99
plugins: [
1010
babel({
1111
presets: [
12-
['@babel/env', { modules: false, targets: { node: 6 } }]
12+
['@babel/env', { modules: false, targets: { node: 8 } }]
1313
]
1414
})
1515
]
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module.exports = {
2-
'postcss-browser-comments': {
3-
'basic': {
4-
message: 'supports basic usage'
5-
}
2+
'basic': {
3+
message: 'supports basic usage'
64
}
75
};

plugins/postcss-browser-comments/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
language: node_js
44

55
node_js:
6-
- 6
6+
- 8
77

88
install:
99
- npm install --ignore-scripts

plugins/postcss-browser-comments/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to PostCSS Browser Comments
22

3+
### 3.0.0 (May 24, 2019)
4+
5+
- Updated: Node 8+ compatibility (major)
6+
37
### 2.0.0 (September 6, 2018)
48

59
- Update to PostCSS 7.0.2 (major)

plugins/postcss-browser-comments/package.json

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-browser-comments",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"description": "Keep only the CSS you need based on comments and your browserslist",
55
"author": "Jonathan Neal <csstools@hotmail.com>",
66
"license": "CC0-1.0",
@@ -16,35 +16,45 @@
1616
"scripts": {
1717
"prepublishOnly": "npm test",
1818
"pretest": "rollup -c .rollup.js --silent",
19-
"test": "echo 'Running tests...'; npm run test:js && npm run test:tape",
19+
"test": "npm run test:js && npm run test:tape",
2020
"test:ec": "echint --ignore index.*.js test",
2121
"test:js": "eslint *.js --cache --ignore-path .gitignore --quiet",
2222
"test:tape": "postcss-tape"
2323
},
2424
"engines": {
25-
"node": ">=6.0.0"
25+
"node": ">=8.0.0"
2626
},
2727
"dependencies": {
28-
"postcss": "^7.0.2"
28+
"postcss": "^7"
2929
},
3030
"peerDependencies": {
3131
"browserslist": "^4"
3232
},
3333
"devDependencies": {
34-
"@babel/core": "^7.0.0",
35-
"@babel/preset-env": "^7.0.0",
36-
"babel-eslint": "^9.0.0",
34+
"@babel/core": "^7.4.5",
35+
"@babel/preset-env": "^7.4.5",
36+
"babel-eslint": "^10.0.1",
3737
"browserslist": "^4.1.1",
38-
"eslint": "^5.5.0",
39-
"eslint-config-dev": "^2.0.0",
40-
"postcss-tape": "^2.2.0",
38+
"eslint": "^5.16.0",
39+
"postcss-tape": "^5.0.0",
4140
"pre-commit": "^1.2.2",
42-
"rollup": "^0.65.2",
43-
"rollup-plugin-babel": "^4.0.3"
41+
"rollup": "^1.12.3",
42+
"rollup-plugin-babel": "^4.3.2"
4443
},
4544
"eslintConfig": {
46-
"extends": "dev",
47-
"parser": "babel-eslint"
45+
"env": {
46+
"browser": true,
47+
"es6": true,
48+
"node": true
49+
},
50+
"extends": "eslint:recommended",
51+
"parser": "babel-eslint",
52+
"parserOptions": {
53+
"ecmaVersion": 2018,
54+
"impliedStrict": true,
55+
"sourceType": "module"
56+
},
57+
"root": true
4858
},
4959
"keywords": [
5060
"postcss",

0 commit comments

Comments
 (0)