From d544956283a3cb72858921bb981b6fb54cee1d1f Mon Sep 17 00:00:00 2001 From: Kristina Matuleviciute Date: Wed, 1 Jun 2016 13:55:53 +0100 Subject: [PATCH] seneca updated --- api-server/package.json | 2 +- micro-services/lib/api.js | 3 --- micro-services/package.json | 2 +- shopping-cart/package.json | 2 +- user-accounts/package.json | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/api-server/package.json b/api-server/package.json index 22172f0..9a46937 100644 --- a/api-server/package.json +++ b/api-server/package.json @@ -16,7 +16,7 @@ "express": "~4.13.4", "lodash": "~4.13.1", "request": "~2.72.0", - "seneca": "0.6.2", + "seneca": "plugin", "seneca-entity": "0.1.1", "seneca-jsonrest-api": "~0.3.1" }, diff --git a/micro-services/lib/api.js b/micro-services/lib/api.js index 5bd1382..dbd3649 100644 --- a/micro-services/lib/api.js +++ b/micro-services/lib/api.js @@ -2,9 +2,6 @@ module.exports = function( options ) { var seneca = this var plugin = 'api' - if (seneca.version >= '2.0.0') { - seneca.use('entity') - } seneca.add({role: plugin, end: 'offer'}, end_offer) diff --git a/micro-services/package.json b/micro-services/package.json index fdf96a2..e89064a 100644 --- a/micro-services/package.json +++ b/micro-services/package.json @@ -12,7 +12,7 @@ "dependencies": { "body-parser": "~1.15.1", "express": "~4.13.4", - "seneca": "0.6.2", + "seneca": "plugin", "seneca-entity": "0.1.1", "seneca-auth": "~1.0.1", "seneca-user": "~1.0.2" diff --git a/shopping-cart/package.json b/shopping-cart/package.json index 2176c18..79dc2b2 100644 --- a/shopping-cart/package.json +++ b/shopping-cart/package.json @@ -19,7 +19,7 @@ "express-session": "~1.13.0", "method-override": "~2.3.6", "optimist": "~0.6.1", - "seneca": "0.6.2", + "seneca": "plugin", "seneca-entity": "0.1.1", "seneca-admin": "~0.2.0", "seneca-auth": "~1.0.1", diff --git a/user-accounts/package.json b/user-accounts/package.json index 704e385..b927841 100644 --- a/user-accounts/package.json +++ b/user-accounts/package.json @@ -21,7 +21,7 @@ "ejs": "~2.4.1", "ejs-locals": "~1.0.2", "node-uuid": "~1.4.0", - "seneca": "0.6.2", + "seneca": "pugin", "seneca-user": "~1.0.1", "seneca-auth": "~1.0.1", "seneca-admin": "~0.2.0",