Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gatsby): Move to @gatsbyjs scoped version of relay-compiler #11759

Merged
merged 1 commit into from
Feb 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"react-error-overlay": "^3.0.0",
"react-hot-loader": "^4.6.2",
"redux": "^4.0.0",
"relay-compiler": "2.0.0",
"@gatsbyjs/relay-compiler": "2.0.0-printer-fix",
"request": "^2.85.0",
"semver": "^5.6.0",
"shallow-compare": "^1.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ const normalize = require(`normalize-path`)
import glob from "glob"

import { validate } from "graphql"
import { IRTransforms } from "relay-compiler"
import RelayParser from "relay-compiler/lib/RelayParser"
import ASTConvert from "relay-compiler/lib/ASTConvert"
import GraphQLCompilerContext from "relay-compiler/lib/GraphQLCompilerContext"
import filterContextForNode from "relay-compiler/lib/filterContextForNode"
import { IRTransforms } from "@gatsbyjs/relay-compiler"
import RelayParser from "@gatsbyjs/relay-compiler/lib/RelayParser"
import ASTConvert from "@gatsbyjs/relay-compiler/lib/ASTConvert"
import GraphQLCompilerContext from "@gatsbyjs/relay-compiler/lib/GraphQLCompilerContext"
import filterContextForNode from "@gatsbyjs/relay-compiler/lib/filterContextForNode"
const _ = require(`lodash`)

import { store } from "../../redux"
import FileParser from "./file-parser"
import GraphQLIRPrinter from "relay-compiler/lib/GraphQLIRPrinter"
import GraphQLIRPrinter from "@gatsbyjs/relay-compiler/lib/GraphQLIRPrinter"
import {
graphqlError,
graphqlValidationError,
Expand Down
44 changes: 22 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,28 @@
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.11.1.tgz#8529b7412a6eb4b48bdf6e720cc1b8e6e1e17628"
integrity sha512-8M3VN0hetwhsJ8dH8VkVy7xo5/1VoBsDOk/T4SJOeXwTO1c4uIqVNx2qyecLFnnUWD5vvUqHQ1gASSeUN6zcTg==

"@gatsbyjs/relay-compiler@2.0.0-printer-fix":
version "2.0.0-printer-fix"
resolved "https://registry.yarnpkg.com/@gatsbyjs/relay-compiler/-/relay-compiler-2.0.0-printer-fix.tgz#542b3eb8e7f28142ccbde051dfc47c6ce506d022"
integrity sha512-oxUgELwerXuQWQhQz+G3xXAP9H4uMgj8aNGmNp0IYKv9D0puvUw+W6884jae57Ng+Vj2K5rxUkn0ApivSTvutQ==
dependencies:
"@babel/generator" "^7.0.0"
"@babel/parser" "^7.0.0"
"@babel/polyfill" "^7.0.0"
"@babel/runtime" "^7.0.0"
"@babel/traverse" "^7.0.0"
"@babel/types" "^7.0.0"
babel-preset-fbjs "^3.1.2"
chalk "^2.4.1"
fast-glob "^2.2.2"
fb-watchman "^2.0.0"
fbjs "^1.0.0"
immutable "~3.7.6"
nullthrows "^1.1.0"
relay-runtime "2.0.0"
signedsource "^1.0.0"
yargs "^9.0.0"

"@lerna/add@3.10.6":
version "3.10.6"
resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.10.6.tgz#6f2c6b26eb905c40fef4180f3ffa34ad9dbb860b"
Expand Down Expand Up @@ -16398,28 +16420,6 @@ relateurl@0.2.x:
resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=

relay-compiler@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-2.0.0.tgz#f51b8e4fdf337b24ceb45cb7f80dac2729ab132a"
integrity sha512-OcWHdFJAp9++8xhES5rZMDolB2USKn940bc/jDMYrMyHtVM+FnvlZaXDSvXpOjlzPeucpDYPiqFlx+/UQoGF2g==
dependencies:
"@babel/generator" "^7.0.0"
"@babel/parser" "^7.0.0"
"@babel/polyfill" "^7.0.0"
"@babel/runtime" "^7.0.0"
"@babel/traverse" "^7.0.0"
"@babel/types" "^7.0.0"
babel-preset-fbjs "^3.1.2"
chalk "^2.4.1"
fast-glob "^2.2.2"
fb-watchman "^2.0.0"
fbjs "^1.0.0"
immutable "~3.7.6"
nullthrows "^1.1.0"
relay-runtime "2.0.0"
signedsource "^1.0.0"
yargs "^9.0.0"

relay-runtime@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-2.0.0.tgz#0e42df90365cc69f104f7e4b20fdcf975f5a9c0b"
Expand Down