From 427baf526be67989ce3873a78843c16e66aa2c9b Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 10 Jun 2016 13:04:30 +0300 Subject: [PATCH 1/6] Update devDep --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index fabcf0a..4d49c54 100644 --- a/package.json +++ b/package.json @@ -56,11 +56,10 @@ ] }, "dependencies": { - "babel-preset-node5": "^11.1.0", "postcss": "^5.0.21" }, "devDependencies": { - "ava": "^0.15.0", + "ava": "^0.15.2", "ava-codemods": "^0.2.1", "babel-cli": "^6.9.0", "babel-eslint": "^6.0.4", From 02fecb554179f2c136e31b08248cabc0134985f2 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 16 Jun 2016 12:49:07 +0300 Subject: [PATCH 2/6] fixed linter report error --- test/test-plugin.js | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/test/test-plugin.js b/test/test-plugin.js index 16647e2..9a920b3 100644 --- a/test/test-plugin.js +++ b/test/test-plugin.js @@ -25,29 +25,44 @@ test('processing options prefix and attribute selector', t => { test('processing options prefix, filter and attribute selector', t => { const expected = '.class, [type="text"], [class*="test-lorem"] { color:red; }'; const fixtures = '.class, [type="text"], [class*="lorem"] { color:red; }'; - t.is(processing(fixtures, {prefix: 'test-', filter: ['class']}), expected); + t.is(processing(fixtures, { + prefix: 'test-', + filter: ['class'] + }), expected); }); test('processing options prefix, filter and attribute selector witch indentical class filter', t => { const expected = '.class, [type="text"], [alt*="class"] { color:red; }'; const fixtures = '.class, [type="text"], [alt*="class"] { color:red; }'; - t.is(processing(fixtures, {prefix: 'test-', filter: ['class']}), expected); + t.is(processing(fixtures, { + prefix: 'test-', + filter: ['class'] + }), expected); }); test('processing options filter and attribute selector', t => { const expected = '.class, [type="text"], [class*="lorem"] { color:red; }'; const fixtures = '.class, [type="text"], [class*="lorem"] { color:red; }'; - t.is(processing(fixtures, {filter: ['class']}), expected); + t.is(processing(fixtures, { + filter: ['class'] + }), expected); }); test('processing options prefix, filter, ignore and attribute selector', t => { const expected = '.class, [type="text"], [class*="lorem"] { color:red; }'; const fixtures = '.class, [type="text"], [class*="lorem"] { color:red; }'; - t.is(processing(fixtures, {prefix: 'test', filter: ['class'], ignore: ['class']}), expected); + t.is(processing(fixtures, { + prefix: 'test', + filter: ['class'], + ignore: ['class'] + }), expected); }); test('processing options prefix, ignore and attribute selector', t => { const expected = '.class, [type="text"], [class*="test-lorem"] { color:red; }'; const fixtures = '.class, [type="text"], [class*="lorem"] { color:red; }'; - t.is(processing(fixtures, {prefix: 'test-', ignore: ['type']}), expected); + t.is(processing(fixtures, { + prefix: 'test-', + ignore: ['type'] + }), expected); }); From 6949a49250214b4944a87577e8fdbd0aea772cc0 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 16 Jun 2016 12:50:51 +0300 Subject: [PATCH 3/6] Fixed #34, change babel preset --- package.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 67e4d91..a1c1e14 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,10 @@ "prefix", "css" ], - "author": "Scrum", + "author": { + "name": "GitScrum", + "email": "scrum@list.ru" + }, "license": "MIT", "bugs": { "url": "https://github.com/GitScrum/postcss-attribute-selector-prefix/issues" @@ -30,7 +33,7 @@ "homepage": "https://github.com/GitScrum/postcss-attribute-selector-prefix#readme", "babel": { "presets": [ - "es2015-node6" + "es2015-node" ], "plugins": [ "add-module-exports" @@ -61,20 +64,20 @@ "devDependencies": { "ava": "^0.15.2", "ava-codemods": "^0.2.1", - "babel-cli": "^6.9.0", + "babel-cli": "^6.10.1", "babel-eslint": "^6.0.4", "babel-plugin-add-module-exports": "^0.2.1", - "babel-preset-es2015-node6": "^0.2.0", + "babel-preset-es2015-node": "^6.1.0", "babel-register": "^6.9.0", "coveralls": "^2.11.9", "eslint": "^2.10.2", - "eslint-config-xo": "^0.14.1", + "eslint-config-xo": "^0.15.0", "eslint-formatter-pretty": "^0.2.2", "eslint-plugin-ava": "^2.3.1", "eslint-plugin-babel": "^3.2.0", "eslint-plugin-require-path-exists": "^1.1.5", "eslint-plugin-xo": "^0.5.0", - "nyc": "^6.6.0", + "nyc": "^6.4.4", "package-config-checker": "^1.0.0", "updtr": "^0.1.15" } From d006286fd07fe586002ebd456087f0b3c6f70fa1 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 16 Jun 2016 12:52:55 +0300 Subject: [PATCH 4/6] v0.0.7 ... v0.0.8 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a1c1e14..62db960 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "postcss-attribute-selector-prefix", - "version": "0.0.7", + "version": "0.0.8", "description": "A attribute selector prefixer for postcss", - "main": "./lib/index.js", + "main": "lib/index.js", "files": "lib/index.js", "scripts": { "test": "eslint --format=node_modules/eslint-formatter-pretty ./src/*.js ./test/*.js && nyc ava", From 8fcea3a854783a431c5586c28d20205984f552be Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 16 Jun 2016 12:53:11 +0300 Subject: [PATCH 5/6] bump --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a60e69f..6d472a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.0.8] - 23-05-2016 +### Change +- Change babel preset +- Update devDep + ## [0.0.7] - 23-05-2016 ### Change - Update devDep From 648dbb652bcee88531358650b7cb06cbb80a864e Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 16 Jun 2016 12:55:26 +0300 Subject: [PATCH 6/6] bump --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d472a0..4088d97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [0.0.8] - 23-05-2016 +## [0.0.8] - 16-06-2016 ### Change - Change babel preset - Update devDep