Skip to content

Commit eda398e

Browse files
authored
Merge pull request #7 from opencomponents/housekeeping
housekeeping
2 parents f6946c5 + 526d2c0 commit eda398e

File tree

7 files changed

+5887
-4139
lines changed

7 files changed

+5887
-4139
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"rules": {
44
"jsx-a11y/img-has-alt": "off",
55
"comma-dangle": "off",
6-
"import/no-extraneous-dependencies": "off"
6+
"import/no-extraneous-dependencies": "off",
7+
"jsx-a11y/href-no-hash": "off"
78
},
89
"env": {
910
"jest": true

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: node_js
33
matrix:
44
include:
55
- node_js: "6"
6-
- node_js: "7"
6+
- node_js: "8"
77

88
notifications:
99
email: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ OpenComponents Registry GraphQL Express middleware.
99
## How to install
1010

1111
```bash
12-
yarn add oc-registry-graphql-express-middleware
12+
npm add oc-registry-graphql-express-middleware
1313
```
1414

1515
## How to use it w/in your Registry

__tests__/__snapshots__/shema.test.js.snap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ GraphQLSchema {
66
GraphQLDirective {
77
"args": Array [
88
Object {
9+
"astNode": undefined,
910
"defaultValue": undefined,
1011
"description": "Skipped when true.",
1112
"name": "if",
1213
"type": "Boolean!",
1314
},
1415
],
16+
"astNode": undefined,
1517
"description": "Directs the executor to skip this field or fragment when the \`if\` argument is true.",
1618
"locations": Array [
1719
"FIELD",
@@ -23,12 +25,14 @@ GraphQLSchema {
2325
GraphQLDirective {
2426
"args": Array [
2527
Object {
28+
"astNode": undefined,
2629
"defaultValue": undefined,
2730
"description": "Included when true.",
2831
"name": "if",
2932
"type": "Boolean!",
3033
},
3134
],
35+
"astNode": undefined,
3236
"description": "Directs the executor to include this field or fragment only when the \`if\` argument is true.",
3337
"locations": Array [
3438
"FIELD",
@@ -40,12 +44,14 @@ GraphQLSchema {
4044
GraphQLDirective {
4145
"args": Array [
4246
Object {
47+
"astNode": undefined,
4348
"defaultValue": "No longer supported",
4449
"description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).",
4550
"name": "reason",
4651
"type": "String",
4752
},
4853
],
54+
"astNode": undefined,
4955
"description": "Marks an element of a GraphQL schema as no longer supported.",
5056
"locations": Array [
5157
"FIELD_DEFINITION",
@@ -76,5 +82,6 @@ GraphQLSchema {
7682
"__Type": "__Type",
7783
"__TypeKind": "__TypeKind",
7884
},
85+
"astNode": null,
7986
}
8087
`;

0 commit comments

Comments
 (0)