Skip to content

Commit

Permalink
Merge pull request #56 from relay-tools/support-relay-runtime-v9
Browse files Browse the repository at this point in the history
Support relay runtime v9
  • Loading branch information
morrys authored Mar 1, 2020
2 parents 455caf9 + b3ed3cd commit 5b1be9d
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 71 deletions.
2 changes: 1 addition & 1 deletion docs/useMutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This package provides a `useMutation` Hook and a `<Mutation>` component. These w

```js
import React from 'react';
import { Mutation, useMutation } from 'react-relay-mutation';
import { Mutation, useMutation } from 'relay-hooks';

/* ... */

Expand Down
8 changes: 4 additions & 4 deletions examples/relay-hook-example/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.8.4",
"relay-runtime": "8.0.0",
"relay-runtime": "9.0.0",
"relay-hooks": "3.0.0",
"whatwg-fetch": "3.0.0",
"isomorphic-fetch": "2.2.1",
"es6-promise": "4.2.8",
"react-relay": "8.0.0"
"react-relay": "9.0.0"
},
"devDependencies": {
"@babel/core": "^7.3.4",
Expand All @@ -34,7 +34,7 @@
"@babel/runtime": "^7.3.4",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-relay": "8.0.0",
"babel-plugin-relay": "9.0.0",
"eslint": "^5.13.0",
"eslint-config-fbjs": "^2.1.0",
"eslint-config-prettier": "^4.0.0",
Expand All @@ -47,7 +47,7 @@
"flow-bin": "^0.94.0",
"flow-typed": "^2.5.1",
"prettier": "^1.16.4",
"relay-compiler": "8.0.0",
"relay-compiler": "9.0.0",
"webpack": "^4.29.6",
"webpack-dev-server": "^3.2.1"
},
Expand Down
36 changes: 18 additions & 18 deletions examples/relay-hook-example/todo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1341,10 +1341,10 @@ babel-plugin-macros@^2.0.0:
cosmiconfig "^5.0.5"
resolve "^1.8.1"

babel-plugin-relay@8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/babel-plugin-relay/-/babel-plugin-relay-8.0.0.tgz#4e412fe085c1aaf6a7d458a653f7a1d249cce067"
integrity sha512-modTJugk/BKmrZedRMq2B2Dx7JU/CbBlI0OY/fcs4pdt4rN5nimQEhwuuytltCYnUOHny5a/VemZwVReiH+sKg==
babel-plugin-relay@9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/babel-plugin-relay/-/babel-plugin-relay-9.0.0.tgz#05b25bb7296151a9c7c91338a8e71f7d95a83b64"
integrity sha512-2v+7fPI8Iv/MKcutAma8iryVGkwe5Hfmb6rIo0B9USZpMnOYS3TamCq8SwaQLBR5R9RrkbHsx5vxz2cUvhSeOg==
dependencies:
babel-plugin-macros "^2.0.0"

Expand Down Expand Up @@ -5119,15 +5119,15 @@ react-is@^16.8.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.4.tgz#90f336a68c3a29a096a3d648ab80e87ec61482a2"
integrity sha512-PVadd+WaUDOAciICm/J1waJaSvgq+4rHE/K70j0PFqKhkTBsPv/82UGQJNXAngz1fOQLLxI6z1sEDmJDQhCTAA==

react-relay@8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/react-relay/-/react-relay-8.0.0.tgz#b648da45c8280e6ad321b6260655092381f7479d"
integrity sha512-CiEODNIMyQXc3nwAUh5TbRnqPrv5fvEPCnAn1j5/qi0WP+Etjf/GQvSOkfI0CFxaHT63BMB5GbM9gBA+0i2XCg==
react-relay@9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/react-relay/-/react-relay-9.0.0.tgz#e2e48eaf38560e81d601f4ec997156d05391b4fa"
integrity sha512-5K0SGkeGBCscS+7d9x0D5czI6ZZtWbmeBu2C6nBFEX4qPKvh0poIn8oJNN1cyXPCmdQPzQBaAbxLbI7v4Vpxiw==
dependencies:
"@babel/runtime" "^7.0.0"
fbjs "^1.0.0"
nullthrows "^1.1.1"
relay-runtime "8.0.0"
relay-runtime "9.0.0"

react@^16.12.0:
version "16.12.0"
Expand Down Expand Up @@ -5273,10 +5273,10 @@ regjsparser@^0.6.0:
dependencies:
jsesc "~0.5.0"

relay-compiler@8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-8.0.0.tgz#567edebc857db5748142b57a78d197f976b5e3ac"
integrity sha512-JrS3Bv6+6S0KloHmXUyTcrdFRpI3NxWdiVQC146vD5jgay9EM464lyf9bEUsCol3na4JUrad4aQ/r+4wWxG1kw==
relay-compiler@9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-9.0.0.tgz#821c2fb972598ea8479db27fc5198133babec6c0"
integrity sha512-V509bPZMqVvITUcgXFgvO9pcnAKzF7pJXObnxfglOl3JsfJeDwTW1fu/CzPtvk5suxVMK6Cn9fMxZK2GdRXqYQ==
dependencies:
"@babel/core" "^7.0.0"
"@babel/generator" "^7.5.0"
Expand All @@ -5291,7 +5291,7 @@ [email protected]:
fbjs "^1.0.0"
immutable "~3.7.6"
nullthrows "^1.1.1"
relay-runtime "8.0.0"
relay-runtime "9.0.0"
signedsource "^1.0.0"
yargs "^14.2.0"

Expand All @@ -5303,10 +5303,10 @@ [email protected]:
"@restart/hooks" "^0.3.1"
fbjs "^1.0.0"

relay-runtime@8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-8.0.0.tgz#52585a7bf04a710bd1bc664bfb0a60dbff3ce6e1"
integrity sha512-lOaZ7K/weTuCIt3pWHkxUG8s7iohI4IyYj65YV4sB9iX6W0uMvt626BFJ4GvNXFmd+OrgNnXcvx1mqRFqJaV8A==
relay-runtime@9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-9.0.0.tgz#03633be24dc3c8b56e472062de6f103954e3d296"
integrity sha512-bBNeNmwMOnqtCvuPnWdgflFSVwuUbGV7m7os8qHCUCSJ52DT5B/m6K4wisVh3eZ0QWYr7hheRDfmR/3UEdUe5A==
dependencies:
"@babel/runtime" "^7.0.0"
fbjs "^1.0.0"
Expand Down
Loading

0 comments on commit 5b1be9d

Please sign in to comment.