From 72d8d2652704610b04e55e60870865261d9656e1 Mon Sep 17 00:00:00 2001 From: Aniko Litvanyi Date: Wed, 17 May 2017 15:44:52 +0200 Subject: [PATCH 1/3] refactor($configureStore): Add persistedState null check to configureStore (#11) --- src/Store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Store.ts b/src/Store.ts index 1f903f9..5990838 100644 --- a/src/Store.ts +++ b/src/Store.ts @@ -79,7 +79,7 @@ export module Store { } const loggerMiddleware = (createLogger as any)(); middlewareArray.push(loggerMiddleware); - if (typeof persistedState !== 'undefined') { + if (persistedState && typeof persistedState !== 'undefined') { return createStore( rootReducer, persistedState, From 18615a2af1e83aa2b24f812613ee42f4119528ba Mon Sep 17 00:00:00 2001 From: Aniko Litvanyi Date: Tue, 4 Jul 2017 14:03:39 +0200 Subject: [PATCH 2/3] Update productname (#21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update dependencies to enable Greenkeeper 🌴 (#10) * chore(package): update dependencies * docs(readme): add Greenkeeper badge * chore(package.json): Greenkeeper shield position Updated Greenkeeper shield position * chore (package.json) Update dependencies (#14) fixes travis build error with *redux-logger@3.0.3* * fix(package): update nyc to version 11.0.1 (#15) * chore(package): update @types/chai to version 4.0.0 (#16) * chore(package): update chai to version 4.0.2 (#17) * chore(package): update del to version 3.0.0 (#18) * chore(package): update @types/redux-mock-store to version 0.0.9 (#19) * Update productname in readme.md --- README.md | 12 +++++++----- package.json | 55 ++++++++++++++++++++++++++-------------------------- 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 454ae32..3e65aaf 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,10 @@ [![License](https://img.shields.io/github/license/SenseNet/sn-redux.svg?style=flat)](https://github.com/SenseNet/sn-redux/LICENSE.txt) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat)](https://github.com/semantic-release/semantic-release) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat)](http://commitizen.github.io/cz-cli/) +[![Greenkeeper badge](https://badges.greenkeeper.io/SenseNet/sn-redux.svg)](https://greenkeeper.io/) -sn-redux is a convention driven way of building Sense/Net applications using Redux. It contains all the action types, actions and reducers for [built-in Sense/Net Actions + +sn-redux is a convention driven way of building sensenet ECM applications using Redux. It contains all the action types, actions and reducers for [built-in sensenet Actions and Functions](http://wiki.sensenet.com/Built-in_OData_actions_and_functions). sn-redux gives you a standard set of: @@ -20,7 +22,7 @@ sn-redux gives you a standard set of: * reducers: for the action types above e.g. updateContentSuccess * epics: for streams of actions that are related to the same process e.g. createContentEpic -## Installation on an existing Sense/Net portal +## Installation on an existing sensenet ECM portal Get the latest stable version with npm @@ -51,7 +53,7 @@ To install the latest stable version npm install --save sn-redux ``` -Create your sense NET portal Repository to use. You can configure your Store to use this repository, when calling Store.ConfigureStore +Create your sensenet ECM portal Repository to use. You can configure your Store to use this repository, when calling Store.ConfigureStore ```ts import { Repository } from 'sn-client-js'; @@ -71,9 +73,9 @@ const store = Store.configureStore( ``` -To enable your external app to send request against your Sense/Net portal change your ```Portal.settings```. For further information about cross-origin resource sharing in Sense/Net check [this](http://wiki.sensenet.com/Cross-origin_resource_sharing#Origin_check) article. +To enable your external app to send request against your sensenet ECM portal change your ```Portal.settings```. For further information about cross-origin resource sharing in Sense/Net check [this](http://wiki.sensenet.com/Cross-origin_resource_sharing#Origin_check) article. -Check your Sense/Net portal's web.config and if the ```ODataServiceToken``` is set, you can pass to your Repository as a config value on client side. +Check your sensenet ECM portal's web.config and if the ```ODataServiceToken``` is set, you can pass to your Repository as a config value on client side. ```ts let repository = new Repository.SnRepository({ diff --git a/package.json b/package.json index 509728e..f48ab01 100644 --- a/package.json +++ b/package.json @@ -54,43 +54,42 @@ }, "homepage": "https://sensenet.com", "dependencies": { - "@reactivex/rxjs": "^5.3.1", - "normalizr": "^3.2.2", - "nyc": "^10.3.0", - "redux": "3.6.0", - "redux-logger": "2.8.2", + "@reactivex/rxjs": "^5.4.0", + "normalizr": "^3.2.3", + "nyc": "^11.0.1", + "redux": "^3.6.0", + "redux-logger": "^3.0.6", "redux-observable": "^0.14.1", - "redux-thunk": "^2.2.0", "rimraf": "^2.6.1", - "rxjs": "^5.3.1", + "rxjs": "^5.4.0", "sn-client-js": "^2.0.0-RC.2" }, "devDependencies": { - "@types/chai": "3.4.35", - "@types/mocha": "2.2.39", - "@types/nock": "8.2.1", - "@types/orchestrator": "0.0.30", - "@types/redux-mock-store": "0.0.7", - "chai": "3.5.0", - "codecov.io": "0.1.6", - "commitizen": "2.9.6", - "cz-conventional-changelog": "2.0.0", - "del": "2.2.2", - "gulp": "3.9.1", + "@types/chai": "^4.0.0", + "@types/mocha": "^2.2.41", + "@types/nock": "^8.2.1", + "@types/orchestrator": "^0.3.0", + "@types/redux-mock-store": "^0.0.9", + "chai": "^4.0.2", + "codecov.io": "^0.1.6", + "commitizen": "^2.9.6", + "cz-conventional-changelog": "^2.0.0", + "del": "^3.0.0", + "gulp": "^3.9.1", "gulp-rename": "^1.2.2", - "gulp-typedoc": "2.0.2", - "mocha": "3.3.0", - "nock": "9.0.9", - "normalizr": "3.2.2", + "gulp-typedoc": "^2.0.2", + "mocha": "^3.4.1", + "nock": "^9.0.13", + "normalizr": "^3.2.3", "redux": "^3.6.0", - "redux-mock-store": "1.2.3", - "redux-observable": "0.14.1", - "semantic-release": "^6.3.2", - "tslint": "5.2.0", - "typedoc": "0.6.0", + "redux-mock-store": "^1.2.3", + "redux-observable": "^0.14.1", + "semantic-release": "^6.3.6", + "tslint": "^5.2.0", + "typedoc": "^0.7.1", "typedoc-md-theme": "^1.0.1", "typedoc-plugin-external-module-name": "^1.0.9", - "typescript": "2.3.2" + "typescript": "^2.3.2" }, "czConfig": { "path": "node_modules/cz-conventional-changelog" From 30c70a1d37f04afed9663792bd588dd64cc53997 Mon Sep 17 00:00:00 2001 From: gallayl Date: Wed, 5 Jul 2017 13:41:22 +0200 Subject: [PATCH 3/3] chore(package): Updated version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 64e0d0c..43dfca6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sn-redux", - "version": "2.0.0-RC.2", + "version": "2.0.0", "description": "A set of redux actions, reducers and redux-ovbservable epics for Sense/Net ECM", "main": "dist/src/sn-redux.js", "scripts": {