Skip to content

Commit

Permalink
Adding support for graphql@0.12.0 and graphql@0.13.0 (#119)
Browse files Browse the repository at this point in the history
* Adding support for 0.12.0 and 0.13.0, as well as making sure to test all available versions.

* Resolving circular dependency

* Update list of available validators (as of GraphQL 0.13.2) (#121)

* Configure Renovate (#111)

* Update list of available validators (as of GraphQL 0.13.2)

* Switching Node versions

* Moving to `npm@5` to make interop with `tav` easier.
  • Loading branch information
jnwng authored Apr 15, 2018
1 parent fd17bdf commit d624301
Show file tree
Hide file tree
Showing 9 changed files with 4,390 additions and 2,585 deletions.
4 changes: 4 additions & 0 deletions .tav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

graphql:
versions: ^0.12.0 || ^0.13.0
commands: mocha test/index.js
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
node_js:
- "5"
- "4"
- "8"
- "6"
install:
- npm install

Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ module.exports = {
```

The full list of available validators is:
- `ArgumentsOfCorrectType`
- `DefaultValuesOfCorrectType`
- `ExecutableDefinitions`
- `FieldsOnCorrectType`
- `FragmentsOnCompositeTypes`
- `KnownArgumentNames`
Expand All @@ -321,12 +320,16 @@ The full list of available validators is:
- `PossibleFragmentSpreads`
- `ProvidedNonNullArguments` (*disabled by default in `relay`*)
- `ScalarLeafs` (*disabled by default in `relay`*)
- `SingleFieldSubscriptions`
- `UniqueArgumentNames`
- `UniqueDirectivesPerLocation`
- `UniqueFragmentNames`
- `UniqueInputFieldNames`
- `UniqueOperationNames`
- `UniqueVariableNames`
- `ValuesOfCorrectType`
- `VariablesAreInputTypes`
- `VariablesDefaultValueAllowed`
- `VariablesInAllowedPosition`

### Named Operations Validation Rule
Expand Down Expand Up @@ -545,4 +548,4 @@ module.exports = {
'graphql'
]
}
```
```
Loading

0 comments on commit d624301

Please sign in to comment.