-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking Changes: * CrudService: all callback functions return promises. Callbacks are optional. * `CrudService._find` no longer returns a query. use CrudService._buildQuery instead. * `CrudService._createWithRetry` signature has changed (is no longer recursive) * `CrudService._update` no longer returns the isModified flag * `CrudService._delete` no longer returns the isModified flag Additional Changes: * Updated dependencies to latest versions (Mongoose 4 -> 5) * Removed Yarn * Updated eslint config * Updated travis testing environments * Updated package release files * `Mongoose.set('useCreateIndex', true);` is done automatically * Mongo `useNewUrlParser: true` is done automatically
- Loading branch information
1 parent
edf07db
commit 2d10433
Showing
15 changed files
with
869 additions
and
2,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,29 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
"node": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 8, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
], | ||
"extends": "eslint:recommended", | ||
"globals": { | ||
"require": true, | ||
"module": true, | ||
"describe": true, | ||
"it": true, | ||
"before": true, | ||
"after": true, | ||
"Promise": true | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["docs/**"], | ||
"rules": { | ||
"no-console": "off" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ coverage | |
node_modules | ||
.idea | ||
*.tgz | ||
.nyc_output | ||
.nyc_output | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ test | |
coverage | ||
.nyc_output | ||
.idea | ||
docs | ||
docs | ||
.eslint* | ||
.travis.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ sudo: true | |
language: node_js | ||
node_js: | ||
- lts/* | ||
- '6' | ||
- '10' | ||
- '8' | ||
services: | ||
- docker | ||
before_install: | ||
|
Oops, something went wrong.