From 63e1fbc61e9a8fd85070d77cd0bb0dcdb6a4bd98 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 10:28:39 +0300 Subject: [PATCH 1/9] Fixed #19, forgot 0.0.4 --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 609d9b9..50577ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## [0.0.5] - 06-05-2016 +### Change +- Update #19, change log forgot 0.0.4 + +## [0.0.4] - 27-04-2016 +### Added +- Added #11, eslint-formatter-pretty + +### Change +- Update #16, devDep +- Change #11, xo to eslint +- Update #15, node 6 in travis config + +### Fixed +- Fixed #11, eslint report error + ## [0.0.3] - 25-04-2016 ### Change - Update .npmignore added nyc and sublime From ab76b7a4aa6c6d08d62043afb9dfe6d99174715e Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 10:31:39 +0300 Subject: [PATCH 2/9] Fixed #18, update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 07a449a..5d55d08 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # postcss-attribute-selector-prefix plugin for postcss -> ####Adds a namespace/prefix to attribute selector, needs to escape from the third-party frameworks. +> Adds a namespace/prefix to attribute selector, needs to escape from the third-party frameworks. [![Build Status](https://img.shields.io/travis/GitScrum/postcss-attribute-selector-prefix.svg?style=flat-square)](https://travis-ci.org/GitScrum/postcss-attribute-selector-prefix)[![npm version](https://img.shields.io/npm/v/postcss-attribute-selector-prefix.svg?style=flat-square)](https://www.npmjs.com/package/postcss-attribute-selector-prefix)[![Dependency Status](https://david-dm.org/gitscrum/postcss-attribute-selector-prefix.svg?style=flat-square)](https://david-dm.org/gitscrum/postcss-attribute-selector-prefix)[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)[![Coveralls status](https://img.shields.io/coveralls/GitScrum/postcss-attribute-selector-prefix.svg?style=flat-square)](https://coveralls.io/r/GitScrum/postcss-attribute-selector-prefix)[![npm downloads](https://img.shields.io/npm/dm/postcss-attribute-selector-prefix.svg?style=flat-square)](https://www.npmjs.com/package/postcss-attribute-selector-prefix)[![npm](https://img.shields.io/npm/dt/postcss-attribute-selector-prefix.svg?style=flat-square)](https://www.npmjs.com/package/postcss-attribute-selector-prefix) @@ -51,6 +51,7 @@ console.log(output); ### Options #### `prefix` +*add prefix to attribute selector* Type: `string` Default: `` From 67c8ade3750a7488c7be99dc3731193f2aa997df Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 10:35:51 +0300 Subject: [PATCH 3/9] Fixed #20, update babel presets --- package.json | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 929d733..448471b 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,28 @@ }, "homepage": "https://github.com/GitScrum/postcss-attribute-selector-prefix#readme", "babel": { - "presets": [ - "node5" - ], + "env": { + "node4": { + "presets": [ + "es2015-node4" + ] + }, + "node5": { + "presets": [ + "es2015-node5" + ] + }, + "node6": { + "presets": [ + "es2015-node6" + ] + }, + "development": { + "presets": [ + "es2015" + ] + } + }, "plugins": [ "add-module-exports" ] @@ -58,7 +77,10 @@ "ava": "^0.14.0", "babel-cli": "^6.7.7", "babel-plugin-add-module-exports": "^0.1.4", - "babel-preset-node5": "^11.0.2", + "babel-preset-es2015": "^6.6.0", + "babel-preset-es2015-node4": "^2.1.0", + "babel-preset-es2015-node5": "^1.2.0", + "babel-preset-es2015-node6": "^0.1.3", "babel-register": "^6.7.2", "coveralls": "^2.11.9", "eslint": "^2.8.0", From 10193004129e4175e230ee055885a2b4b6a066fa Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 10:47:03 +0300 Subject: [PATCH 4/9] Fixed #25, update devDep --- package.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 448471b..8b5d0f9 100644 --- a/package.json +++ b/package.json @@ -71,25 +71,25 @@ ] }, "dependencies": { - "postcss": "^5.0.19" + "postcss": "^5.0.21" }, "devDependencies": { "ava": "^0.14.0", - "babel-cli": "^6.7.7", + "babel-cli": "^6.8.0", "babel-plugin-add-module-exports": "^0.1.4", "babel-preset-es2015": "^6.6.0", "babel-preset-es2015-node4": "^2.1.0", "babel-preset-es2015-node5": "^1.2.0", - "babel-preset-es2015-node6": "^0.1.3", - "babel-register": "^6.7.2", + "babel-preset-es2015-node6": "^0.2.0", + "babel-register": "^6.8.0", "coveralls": "^2.11.9", - "eslint": "^2.8.0", - "eslint-config-xo": "^0.13.0", - "eslint-formatter-pretty": "^0.2.1", - "eslint-plugin-ava": "^2.2.1", + "eslint": "^2.9.0", + "eslint-config-xo": "^0.14.1", + "eslint-formatter-pretty": "^0.2.2", + "eslint-plugin-ava": "^2.3.1", "eslint-plugin-babel": "^3.2.0", - "eslint-plugin-xo": "^0.3.1", - "nyc": "^6.4.0", - "updtr": "^0.1.10" + "eslint-plugin-xo": "^0.4.1", + "nyc": "^6.4.3", + "updtr": "^0.1.12" } } From f435880b4113938aed945e7198b8f88f00bba217 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 11:02:28 +0300 Subject: [PATCH 5/9] Fixed #24, add checker --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b5d0f9..c2d564b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "clean": "rm -rf lib && mkdir lib", "build": "npm run clean && babel src/index.js --out-file lib/index.js && npm t", "prepublish": "npm run build", - "update": "updtr" + "update": "updtr", + "check": "package-config-checker -d 0" }, "repository": { "type": "git", @@ -90,6 +91,7 @@ "eslint-plugin-babel": "^3.2.0", "eslint-plugin-xo": "^0.4.1", "nyc": "^6.4.3", + "package-config-checker": "^1.0.0", "updtr": "^0.1.12" } } From 3ed2b7c31a8bee404ea2ed6f4b50730b106386af Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 11:13:40 +0300 Subject: [PATCH 6/9] Fixed #22, add babel parser for eslint --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index c2d564b..24e68fd 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ ] }, "eslintConfig": { + "parser": "babel-eslint", "plugins": [ "ava", "xo", @@ -77,6 +78,7 @@ "devDependencies": { "ava": "^0.14.0", "babel-cli": "^6.8.0", + "babel-eslint": "^6.0.4", "babel-plugin-add-module-exports": "^0.1.4", "babel-preset-es2015": "^6.6.0", "babel-preset-es2015-node4": "^2.1.0", From b687ef3b0aa782c4889695acbd8dc25a1dba2f98 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 11:16:30 +0300 Subject: [PATCH 7/9] Fixed #21, eslint require path exists --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 24e68fd..4a6f171 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,8 @@ "plugins": [ "ava", "xo", - "babel" + "babel", + "require-path-exists" ], "extends": [ "xo", @@ -91,6 +92,7 @@ "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.4.1", "nyc": "^6.4.3", "package-config-checker": "^1.0.0", From 618e1f06d1c70b0df15aacf4ce225b4a46e15108 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 11:18:46 +0300 Subject: [PATCH 8/9] Fixed #8, add ava-codemods --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4a6f171..cf79250 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "scripts": { "test": "eslint --format=node_modules/eslint-formatter-pretty ./src/*.js ./test/*.js && nyc ava", "clean": "rm -rf lib && mkdir lib", - "build": "npm run clean && babel src/index.js --out-file lib/index.js && npm t", + "build": "npm run clean && babel src/index.js --out-file lib/index.js", "prepublish": "npm run build", - "update": "updtr", + "update": "updtr && ava-codemods --force", "check": "package-config-checker -d 0" }, "repository": { @@ -78,6 +78,7 @@ }, "devDependencies": { "ava": "^0.14.0", + "ava-codemods": "^0.2.1", "babel-cli": "^6.8.0", "babel-eslint": "^6.0.4", "babel-plugin-add-module-exports": "^0.1.4", From fc02ca3db84e0d07e70d365e6a650ecf0a604b55 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 6 May 2016 11:20:18 +0300 Subject: [PATCH 9/9] v0.0.4 ... v0.0.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf79250..5f4fd59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postcss-attribute-selector-prefix", - "version": "0.0.4", + "version": "0.0.5", "description": "A attribute selector prefixer for postcss", "main": "./lib/index.js", "scripts": {