f9cb5ac6b0
## Motivation As Graphcool is being shutdown, we replaced all the graphcool api endpoints with some handcrafted APIs using Prisma & Nexus, that can be found here https://github.com/prisma-labs/nextjs-graphql-api-examples. These GraphQL endpoints are now deployed to Vercel. ## Notes - I couldn't get the reason-relay example to run. Given that the relay endpoint works on the other relay example, I don't see any reason why it wouldn't work on that one - The `with-apollo` example is buggy when creating some posts, but nothing related to the switch of the api endpoint as it was already buggy before. I suspect the `concatPagination` strategy to be the cause of that bug, but I couldn't figure it out. Fixes #14780
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "with-relay-modern",
|
|
"version": "3.0.4",
|
|
"description": "Example of Next.js with Relay Modern SSR",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "bsb -make-world",
|
|
"next": "next",
|
|
"start": "next start",
|
|
"relay": "reason-relay-compiler",
|
|
"schema": "graphql get-schema -e dev"
|
|
},
|
|
"author": "arnarkari93@gmail.com",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@zeit/next-css": "1.0.1",
|
|
"bs-fetch": "0.5.2",
|
|
"bs-platform": "7.2.2",
|
|
"dotenv": "^8.2.0",
|
|
"dotenv-webpack": "^1.7.0",
|
|
"graphql": "15.0.0",
|
|
"isomorphic-unfetch": "^3.0.0",
|
|
"next": "latest",
|
|
"next-transpile-modules": "4.0.2",
|
|
"react": "^16.13.0",
|
|
"react-dom": "^16.13.0",
|
|
"react-relay": "0.0.0-experimental-8cc94ddc",
|
|
"reason-promise": "1.0.2",
|
|
"reason-react": "0.7.0",
|
|
"reason-relay": "0.8.2",
|
|
"relay-config": "9.0.0",
|
|
"relay-runtime": "9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-relay": "^9.0.0",
|
|
"graphql-cli": "^3.0.14",
|
|
"relay-compiler": "9.0.0"
|
|
},
|
|
"resolutions": {
|
|
"graphql": "15.0.0",
|
|
"react": "0.0.0-experimental-e5d06e34b",
|
|
"react-dom": "0.0.0-experimental-e5d06e34b"
|
|
}
|
|
}
|