Skip to content

Commit f424e0c

Browse files
committed
Upgrade to PostGraphile V5 and GraphQL V16
1 parent 4cf3f5b commit f424e0c

5 files changed

Lines changed: 443 additions & 250 deletions

File tree

@app/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@types/react": "18.0.28",
2121
"antd": "5.2.3",
2222
"dayjs": "^1.11.7",
23-
"graphql": "^15.8.0",
23+
"graphql": "^16.1.0-experimental-stream-defer.6",
2424
"lodash": "^4.17.21",
2525
"net": "^1.0.2",
2626
"next": "^13.2.3",

@app/lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"@apollo/client": "3.4.17",
12-
"graphql": "^15.8.0",
12+
"graphql": "^16.1.0-experimental-stream-defer.6",
1313
"graphql-ws": "^5.11.3",
1414
"next": "^13.2.3",
1515
"next-with-apollo": "^5.3.0",
@@ -25,7 +25,7 @@
2525
"cross-env": "^7.0.3",
2626
"express": "^4.18.2",
2727
"jest": "^29.4.3",
28-
"postgraphile": "^4.13.0",
28+
"postgraphile": "^5.0.0-0.36",
2929
"typescript": "^5.0.0-beta"
3030
}
3131
}

@app/server/package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
"dependencies": {
1414
"@app/client": "0.0.0",
1515
"@app/config": "0.0.0",
16-
"@graphile-contrib/pg-simplify-inflector": "^6.1.0",
17-
"@graphile/pg-pubsub": "^4.13.0",
18-
"@graphile/pro": "^1.0.4",
16+
"@graphile/simplify-inflection": "^8.0.0-0.5",
1917
"@types/connect-pg-simple": "^7.0.0",
2018
"@types/csurf": "^1.11.2",
2119
"@types/express-session": "^1.17.6",
@@ -32,9 +30,9 @@
3230
"csurf": "^1.11.0",
3331
"express": "^4.18.2",
3432
"express-session": "^1.17.3",
35-
"graphile-build": "^4.13.0",
36-
"graphile-build-pg": "^4.13.0",
37-
"graphile-utils": "^4.13.0",
33+
"graphile-build": "^5.0.0-0.28",
34+
"graphile-build-pg": "^5.0.0-0.33",
35+
"graphile-utils": "^5.0.0-0.33",
3836
"graphile-worker": "^0.13.0",
3937
"helmet": "^6.0.1",
4038
"lodash": "^4.17.21",
@@ -43,14 +41,15 @@
4341
"passport": "^0.6.0",
4442
"passport-github2": "^0.1.12",
4543
"pg": "^8.9.0",
46-
"postgraphile": "^4.13.0",
44+
"postgraphile": "^5.0.0-0.36",
4745
"redis": "^4.6.5",
4846
"source-map-support": "^0.5.21",
4947
"tslib": "^2.5.0"
5048
},
5149
"devDependencies": {
5250
"@types/node": "^18.14.2",
53-
"graphql": "^15.8.0",
51+
"graphile": "^5.0.0-0.7",
52+
"graphql": "^16.1.0-experimental-stream-defer.6",
5453
"jest": "^29.4.3",
5554
"mock-req": "^0.2.0",
5655
"ts-node": "^10.9.1"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"license": "SEE LICENSE IN LICENSE.md",
4040
"dependencies": {
4141
"abort-controller": "^3.0.0",
42-
"graphql": "^15.8.0"
42+
"graphql": "^16.1.0-experimental-stream-defer.6"
4343
},
4444
"devDependencies": {
4545
"@babel/core": "^7.21.0",
@@ -83,7 +83,7 @@
8383
"update-dotenv": "^1.1.1"
8484
},
8585
"resolutions": {
86-
"graphql": "15.x",
86+
"graphql": "16.1.0-experimental-stream-defer.6",
8787
"pg-connection-string": "2.x"
8888
},
8989
"workspaces": {

0 commit comments

Comments
 (0)