Skip to content

Commit 666d9bb

Browse files
committed
Updating packages, node, prettier; adding apollo.config.js
1 parent 0b4f773 commit 666d9bb

File tree

7 files changed

+6359
-3541
lines changed

7 files changed

+6359
-3541
lines changed

.babelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"@babel/preset-env",
55
{
66
"targets": {
7-
"node": "8.11.3"
7+
"node": "12.0.0"
88
}
99
}
1010
]
1111
],
1212
"plugins": ["import-graphql"]
13-
}
13+
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8
1+
12

.prettierrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
singleQuote: true
2-
semi: false
2+
semi: false
3+
trailingComma: none
4+
arrowParens: avoid

apollo.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
client: {
3+
service: {
4+
name: 'guide-api',
5+
url: 'http://localhost:4000/'
6+
},
7+
excludes: ['**/*.graphql']
8+
}
9+
}

0 commit comments

Comments
 (0)