Skip to content

Commit

Permalink
fix graphql version for consistency
Browse files Browse the repository at this point in the history
Summary: `[email protected]` and above have changes to validation rules and parsing that affect Relay query compilation, so let's fix at `0.4.2` until we're ready to upgrade. This also updates to use `[email protected]` which supports directives, allowing `preprocessor` to revert back to the npm version instead of file path.

cc @dschafer @leebyron
Closes facebook#327

Reviewed By: @steveluscher

Differential Revision: D2448437
  • Loading branch information
josephsavona authored and facebook-github-bot-2 committed Sep 16, 2015
1 parent fe6367a commit 898eaab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
"babel-core": "^5.8.23",
"babel-eslint": "^4.1.1",
"babel-loader": "^5.3.2",
"babel-relay-plugin": "^0.2.3",
"babel-relay-plugin": "^0.2.4",
"del": "^1.2.0",
"envify": "^3.4.0",
"eslint": "^1.3.1",
"eslint-plugin-react": "^3.3.1",
"fbjs-scripts": "^0.2.0",
"flow-bin": "0.15.0",
"graphql": "^0.4.2",
"graphql": "0.4.2",
"gulp": "^3.9.0",
"gulp-babel": "^5.1.0",
"gulp-derequire": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/babel-relay-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
},
"dependencies": {
"babel-core": "^5.8.3",
"graphql": "^0.4.2"
"graphql": "0.4.2"
}
}
2 changes: 1 addition & 1 deletion scripts/jest/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var babel = require('babel-core');
var babelDefaultOptions = require('fbjs-scripts/babel/default-options');
var createCacheKeyFunction = require('fbjs-scripts/jest/createCacheKeyFunction');
var fs = require('fs');
var getBabelRelayPlugin = require('../babel-relay-plugin');
var getBabelRelayPlugin = require('babel-relay-plugin');
var path = require('path');

var SCHEMA_PATH = path.resolve(__dirname, 'testschema.json');
Expand Down

0 comments on commit 898eaab

Please sign in to comment.