-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: remove FlowType support. Drop old builds `node8`, `es`, `mjs` – they were created several years ago and no need to prepare them for node v10.
- Loading branch information
Showing
84 changed files
with
249 additions
and
22,632 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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier/@typescript-eslint', | ||
'plugin:prettier/recommended', | ||
], | ||
parserOptions: { | ||
sourceType: 'module', | ||
useJSXTextNode: true, | ||
project: [path.resolve(__dirname, 'tsconfig.json')], | ||
}, | ||
rules: { | ||
'no-underscore-dangle': 0, | ||
'arrow-body-style': 0, | ||
'no-unused-expressions': 0, | ||
'no-plusplus': 0, | ||
'no-console': 0, | ||
'func-names': 0, | ||
'comma-dangle': [ | ||
'error', | ||
{ | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
imports: 'always-multiline', | ||
exports: 'always-multiline', | ||
functions: 'ignore', | ||
}, | ||
], | ||
'no-prototype-builtins': 0, | ||
'prefer-destructuring': 0, | ||
'no-else-return': 0, | ||
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }], | ||
'@typescript-eslint/explicit-member-accessibility': 0, | ||
'@typescript-eslint/no-explicit-any': 0, | ||
'@typescript-eslint/no-inferrable-types': 0, | ||
'@typescript-eslint/explicit-function-return-type': 0, | ||
'@typescript-eslint/no-use-before-define': 0, | ||
'@typescript-eslint/no-empty-function': 0, | ||
'@typescript-eslint/camelcase': 0, | ||
'@typescript-eslint/ban-ts-comment': 0, | ||
}, | ||
env: { | ||
jasmine: true, | ||
jest: true, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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
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,67 +1,3 @@ | ||
## master | ||
## 0.0.0-semantically-released | ||
|
||
## 0.0.0-semantically-released (September 12, 2016) | ||
This package publishing automated by [semantic-release](https://github.com/semantic-release/semantic-release). | ||
[Changelog](https://github.com/nodkz/graphql-compose/releases) is generated automatically and can be found here: https://github.com/nodkz/graphql-compose/releases | ||
|
||
## 1.0.12 (September 6, 2016) | ||
- fix: Resolvers now return mongoose documents. It's useful for your resolver wrappers. Now you have access to virtual fields, model methods via `source` or `source.record`. | ||
- Update dependencies | ||
- Update order of imported modules, due eslint warnings | ||
- Flow 0.32 | ||
|
||
## 1.0.11 (September 5, 2016) | ||
- Add support for `mongoose.Schema.Types.Mixed` type. Many thanks to @taion for his [graphql-type-json](https://github.com/taion/graphql-type-json) package. | ||
|
||
## 1.0.10 (August 25, 2016) | ||
- Resolvers `findOne` and `findById` now by default return object with data, not mongoose document. | ||
|
||
## 1.0.9 (August 15, 2016) | ||
- fix: babel build via the workaround https://phabricator.babeljs.io/T2877#78089 Huh, it's too tricky to use Map/Set in ES5. | ||
|
||
## 1.0.8 (August 13, 2016) | ||
- fix: babel build process | ||
|
||
## 1.0.7 (August 10, 2016) | ||
- Update packages, add `babel-plugin-transform-runtime` for build process. Fix [issue](https://github.com/nodkz/graphql-compose-connection/issues/2) for vanilla node.js users without babel (thanks @jacobbubu). | ||
|
||
## 1.0.6 (August 8, 2016) | ||
- Fix `projection` extraction from `record` for `updateById` and `updateOne` resolvers. | ||
- Intermediate types now passed to TypeStorage (Enums, SubSchemas) when converting mongoose models. | ||
|
||
## 1.0.5 (July 22, 2016) | ||
- Added typeStorage. If you create resolver in second time, it should reuse existed internal types | ||
|
||
## 1.0.4 (July 20, 2016) | ||
* Expose `fieldsConverter` methods | ||
* Fix filterHelper: if `filter` InputType without fields, then do not add it to args | ||
* Fix projectionHelper: make projection flat, before passing to mongoose | ||
* Add `convertSchemaToGraphQL` method for creating cached graphql type from MongooseSchema | ||
|
||
## 1.0.3 (July 18, 2016) | ||
* HotFix for connection resolver | ||
* HotFix for operators' types in `filter` helper | ||
|
||
## 1.0.1 (July 18, 2016) | ||
* Fix `peerDependencies` | ||
* Update `flow` till 0.29 | ||
* Other small fixes | ||
|
||
## 1.0.0 (July 15, 2016) | ||
* Add connection resolver | ||
* Add support for filtering with operators $gt, $gte, $lt, $lte, $ne, $in, $nin | ||
* Small fixes | ||
|
||
## 0.0.6 (July 08, 2016) | ||
* Rename `input` argument to `record` for mutations (due `graphql-compose-relay` compatibility). | ||
`input` is a reserved name for mutations' arg in Relay, and may contains not only document/record data (eg. clientMutationId, sort and filter args). So better solution for `graphql-compose-mongoose` do not use this name, cause `graphql-compose-relay` get all args from mongoose resolvers and put them to `input` arg. | ||
|
||
## 0.0.5 (July 07, 2016) | ||
* Refactor Resolvers due changes in graphql-compose api | ||
* Exports flow annotations | ||
|
||
## 0.0.3 (July 01, 2016) | ||
* First beta version | ||
|
||
## 0.0.1 (June 07, 2016) | ||
* Initial commit | ||
This package publishing automated by [semantic-release](https://github.com/semantic-release/semantic-release). Changelog is generated automatically and can be found here: https://github.com/graphql-compose/graphql-compose-mongoose/releases |
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
Oops, something went wrong.