Skip to content

Commit 9bbfedd

Browse files
Merge pull request #336 from feathersjs-ecosystem/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2 parents fbde970 + f1abc30 commit 9bbfedd

File tree

4 files changed

+400
-333
lines changed

4 files changed

+400
-333
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
# feathers-vuex
1+
# Feathers-Vuex
22

33
[![Build Status](https://travis-ci.org/feathersjs-ecosystem/feathers-vuex.png?branch=master)](https://travis-ci.org/feathersjs-ecosystem/feathers-vuex)
44
[![Dependency Status](https://img.shields.io/david/feathersjs-ecosystem/feathers-vuex.svg?style=flat-square)](https://david-dm.org/feathersjs-ecosystem/feathers-vuex)
55
[![Download Status](https://img.shields.io/npm/dm/feathers-vuex.svg?style=flat-square)](https://www.npmjs.com/package/feathers-vuex)
6+
[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs-ecosystem/feathers-vuex.svg)](https://greenkeeper.io/)
67

7-
![feathers-vuex service logo](./service-logo.png)
8-
9-
> Integrate the Feathers Client into Vuex
8+
`Feathers-Vuex` is a first class integration of the FeathersJS and Vuex. It implements many Redux best practices under the hood, eliminates _a lot_ of boilerplate code with flexible data modeling, and still allows you to easily customize the Vuex store.
109

11-
`feathers-vuex` is a first class integration of the Feathers Client and Vuex. It implements many Redux best practices under the hood, eliminates *a lot* of boilerplate code, and still allows you to easily customize the Vuex store.
10+
![feathers-vuex service logo](./service-logo.png)
1211

1312
## Demo & Documentation
1413

1514
[Demo](https://codesandbox.io/s/xk52mqm7o)
1615

17-
See [https://feathers-vuex.netlify.com](https://feathers-vuex.netlify.com) for full documentation.
16+
See [https://vuex.feathersjs.com](https://vuex.feathersjs.com) for full documentation.
1817

1918
## Installation
2019

@@ -26,11 +25,11 @@ npm install feathers-vuex --save
2625
yarn add feathers-vuex
2726
```
2827

29-
IMPORTANT: Feathers-Vuex is (and requires to be) published in ES6 format for full compatibility with JS classes. If your project uses Babel, it must be configured properly. See the [Project Configuration](https://feathers-vuex.netlify.com/api-overview.html#project-configuration) section for more information.
28+
IMPORTANT: Feathers-Vuex is (and requires to be) published in ES6 format for full compatibility with JS classes. If your project uses Babel, it must be configured properly. See the [Project Configuration](https://vuex.feathersjs.com/api-overview.html#project-configuration) section for more information.
3029

3130
## Contributing
3231

33-
This repo is pre-configured to work with the Visual Studio Code debugger. After running `yarn install`, use the "Mocha Tests" debug script for a smooth debugging experience.
32+
This repo is pre-configured to work with the Visual Studio Code debugger. After running `yarn install`, use the "Mocha Tests" debug script for a smooth debugging experience.
3433

3534
## License
3635

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"lib": "lib"
9999
},
100100
"dependencies": {
101-
"@feathersjs/adapter-commons": "^2.0.0",
101+
"@feathersjs/adapter-commons": "^4.3.8",
102102
"@feathersjs/commons": "^4.0.0",
103103
"@feathersjs/errors": "^4.3.7",
104104
"@types/feathersjs__feathers": "^3.1.1",
@@ -119,7 +119,7 @@
119119
"lodash.pick": "^4.4.0",
120120
"lodash.trim": "^4.5.1",
121121
"serialize-error": "^5.0.0",
122-
"sift": "^7.0.1",
122+
"sift": "^8.5.1",
123123
"steal-typescript": "^0.5.0",
124124
"vuepress-theme-default-prefers-color-scheme": "^1.0.3"
125125
},
@@ -132,8 +132,8 @@
132132
"@feathersjs/socketio-client": "^4.3.7",
133133
"@types/chai": "^4.1.7",
134134
"@types/mocha": "^5.2.6",
135-
"@typescript-eslint/eslint-plugin": "^1.5.0",
136-
"@typescript-eslint/parser": "^1.5.0",
135+
"@typescript-eslint/eslint-plugin": "^2.5.0",
136+
"@typescript-eslint/parser": "^2.5.0",
137137
"@vue/eslint-config-prettier": "^5.0.0",
138138
"@vue/eslint-config-typescript": "^4.0.0",
139139
"@vue/test-utils": "^1.0.0-beta.29",
@@ -149,7 +149,7 @@
149149
"chai": "^4.2.0",
150150
"date-fns": "^2.0.0-beta.2",
151151
"deep-object-diff": "^1.1.0",
152-
"eslint": "^5.16.0",
152+
"eslint": "^6.6.0",
153153
"eslint-config-prettier": "^6.4.0",
154154
"eslint-plugin-prettier": "^3.0.1",
155155
"eslint-plugin-vue": "^5.2.2",
@@ -162,7 +162,7 @@
162162
"prettier": "^1.16.4",
163163
"shx": "^0.3.2",
164164
"socket.io-client": "^2.2.0",
165-
"standard": "^12.0.1",
165+
"standard": "^14.3.1",
166166
"steal": "^2.2.1",
167167
"steal-mocha": "^2.0.1",
168168
"testee": "^0.9.0",

src/service-module/service-module.getters.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ eslint
55
*/
66
import sift from 'sift'
77
import { _ } from '@feathersjs/commons'
8-
import dbCommons from '@feathersjs/adapter-commons'
8+
import { filterQuery, sorter, select } from '@feathersjs/adapter-commons'
99
import { globalModels as models } from './global-models'
1010
import _get from 'lodash/get'
1111
import _omit from 'lodash/omit'
1212

13-
const { filterQuery, sorter, select } = dbCommons
1413
const FILTERS = ['$sort', '$limit', '$skip', '$select']
1514
const OPERATORS = ['$in', '$nin', '$lt', '$lte', '$gt', '$gte', '$ne', '$or']
1615
const additionalOperators = ['$elemMatch']
@@ -43,7 +42,8 @@ export default function makeServiceGetters() {
4342
values = values.concat(_.values(state.tempsById))
4443
}
4544

46-
values = sift(query, values)
45+
//@ts-ignore
46+
values = values.filter(sift(query))
4747

4848
const total = values.length
4949

0 commit comments

Comments
 (0)