From c2a9c369947b26dc8cd350429ad58480172841d4 Mon Sep 17 00:00:00 2001 From: Edygar de Lima Oliveira Date: Wed, 7 Sep 2016 16:27:09 +0100 Subject: [PATCH 1/6] Adds npm badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ab73369..f3bd709 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # redux-wpapi +[![npm version](https://img.shields.io/npm/v/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux-wpapi) + A [node-wpapi](https://github.com/WP-API/node-wpapi) integration for a Redux based Application. ## How it Works From 422efa0f25fa39319853258440a27a0de0c34ba8 Mon Sep 17 00:00:00 2001 From: Edygar de Lima Oliveira Date: Wed, 7 Sep 2016 16:30:09 +0100 Subject: [PATCH 2/6] Adds travis integration --- travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 travis.yml diff --git a/travis.yml b/travis.yml new file mode 100644 index 0000000..ae6dda2 --- /dev/null +++ b/travis.yml @@ -0,0 +1,14 @@ +language: node_js +node_js: + - "4" + - "5" + - "6" +script: + - npm run check:src + - npm run build +branches: + only: + - master +cache: + directories: + - $HOME/.npm \ No newline at end of file From 9921dbcee7e2afe2397e2d12880f22102615494f Mon Sep 17 00:00:00 2001 From: Edygar de Lima Oliveira Date: Wed, 7 Sep 2016 16:33:52 +0100 Subject: [PATCH 3/6] Fixes Browserify usage and adds npm package some info --- package.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/package.json b/package.json index 1cce509..bbd4153 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,19 @@ "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min", "prepublish": "npm run clean && npm run check:src && npm run build" }, + "repository": { + "type": "git", + "url": "https://github.com/log-oscon/redux-wpapi.git" + }, "author": "log.OSCON (http://www.log.pt/)", "license": "MIT", + "bugs": { + "url": "https://github.com/log-oscon/redux-wpapi/issues" + }, "dependencies": { "immutable": "^3.8.1", "lodash": "^4.15.0", + "loose-envify": "^1.2.0", "qs": "^6.2.1", "reselect": "^2.5.3" }, @@ -50,5 +58,19 @@ "rimraf": "^2.5.4", "webpack": "^1.13.2", "wpapi": "^0.9.1" + }, + "npmName": "redux-wpapi", + "npmFileMap": [ + { + "basePath": "/dist/", + "files": [ + "*.js" + ] + } + ], + "browserify": { + "transform": [ + "loose-envify" + ] } } From c275bb9278395ba5a6c1dc04300038afae82e76f Mon Sep 17 00:00:00 2001 From: Edygar de Lima Oliveira Date: Wed, 7 Sep 2016 16:37:25 +0100 Subject: [PATCH 4/6] Adds Travis-CI Badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f3bd709..8838db2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # redux-wpapi [![npm version](https://img.shields.io/npm/v/redux.svg?style=flat-square)](https://www.npmjs.com/package/redux-wpapi) +[![Build Status](https://travis-ci.org/log-oscon/redux-wpapi.svg?branch=master)](https://travis-ci.org/log-oscon/redux-wpapi) A [node-wpapi](https://github.com/WP-API/node-wpapi) integration for a Redux based Application. From fa2bde59a76966547a9be95c5d5d5945c5089183 Mon Sep 17 00:00:00 2001 From: Edygar de Lima Oliveira Date: Wed, 7 Sep 2016 16:48:08 +0100 Subject: [PATCH 5/6] Fixes the .travis.yml file --- travis.yml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename travis.yml => .travis.yml (100%) diff --git a/travis.yml b/.travis.yml similarity index 100% rename from travis.yml rename to .travis.yml From b3af938cb6e87de111b7817ac6a95830a5d656fd Mon Sep 17 00:00:00 2001 From: Edygar de Lima Oliveira Date: Wed, 7 Sep 2016 17:43:20 +0100 Subject: [PATCH 6/6] Changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54e4d6c..cbadcb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Some guidelines in reading this document: ## [new release] +* Adds integration with Travis and adds NPM and Travis badges * Implements reducer tests ([#6](https://github.com/log-oscon/redux-wpapi/pull/6)) * Draft on Contributions and the introduction of this `CHANGELOG.md` file ([#5](https://github.com/log-oscon/redux-wpapi/pull/5)) * Fix FAILURE handling ([#3](https://github.com/log-oscon/redux-wpapi/pull/3))