Skip to content

Commit

Permalink
update LB version to LB3
Browse files Browse the repository at this point in the history
  • Loading branch information
nabdelgadir committed Nov 29, 2018
1 parent f95230a commit d3ea6dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ node_modules/
/test/sandbox
/test/.pkgcache/
dist
.vscode/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
"fs-extra": "^0.30.0",
"glob": "^7.0.0",
"lodash": "^4.5.1",
"loopback": "^2.0.0",
"loopback": "^3.23.2",
"loopback-boot": "^2.6.5",
"loopback-component-explorer": "^6.0.1",
"loopback-datasource-juggler": "^2.27.0",
"method-override": "^2.1.1",
"morgan": "^1.2.0",
"ncp": "^2.0.0",
Expand Down
3 changes: 1 addition & 2 deletions server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ var errorHandler = require('strong-error-handler');

// required to support base models
app.dataSource('db', {
connector: loopback.Memory,
defaultForType: 'db',
connector: "memory"
});

// must define base models first
Expand Down

0 comments on commit d3ea6dd

Please sign in to comment.