Skip to content

Commit 108f5d5

Browse files
authored
Merge pull request #1 from howtographql/refactor/functional-components
(chore) - convert to urql and functional components
2 parents e677814 + 36fd1d2 commit 108f5d5

20 files changed

+1088
-1059
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 2
6+
end_of_line = lf
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

package.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,33 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@urql/exchange-graphcache": "^1.0.0-beta.3",
7-
"@urql/exchange-suspense": "^0.1.0",
8-
"graphql": "14.5.3",
6+
"@urql/exchange-graphcache": "^1.0.0-rc.0",
7+
"graphql": "14.5.4",
8+
"graphql-tag": "^2.10.1",
99
"react": "16.9.0",
1010
"react-dom": "16.9.0",
1111
"react-router": "5.0.1",
1212
"react-router-dom": "5.0.1",
1313
"react-scripts": "3.1.1",
1414
"subscriptions-transport-ws": "0.9.16",
15-
"urql": "^1.4.0"
15+
"urql": "^1.4.1"
1616
},
1717
"scripts": {
1818
"start": "react-scripts start",
1919
"build": "react-scripts build",
2020
"test": "react-scripts test --env=jsdom",
2121
"eject": "react-scripts eject"
22+
},
23+
"browserslist": {
24+
"production": [
25+
">0.2%",
26+
"not dead",
27+
"not op_mini all"
28+
],
29+
"development": [
30+
"last 1 chrome version",
31+
"last 1 firefox version",
32+
"last 1 safari version"
33+
]
2234
}
2335
}

server/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
},
99
"dependencies": {
1010
"bcryptjs": "^2.4.3",
11-
"graphql": "^14.5.3",
1211
"graphql-yoga": "^1.18.3",
1312
"jsonwebtoken": "^8.5.1",
1413
"prisma-client-lib": "^1.31.0"

0 commit comments

Comments
 (0)