Fix graphql dependencie problems (Fixes #577)

This commit is contained in:
Gregory Schier 2017-11-08 14:59:14 +01:00
parent c1e98f8bd6
commit 76611dc50a
3 changed files with 2676 additions and 4284 deletions

View File

@ -11,4 +11,16 @@ describe('package.json', () => {
expect(`${name}::${actual}`).toBe(`${name}::${expected}`);
}
});
it('sticks graphql dependencies', () => {
/*
* This test is here to make sure no one updates these. If you want to update
* them, make sure that they both require the same version of graphql and to
* also dedup so there is only one version of graphql installed. If not, it
* causes problems with instanceof not matching the correct class. Also, if
* these are updated, be sure to test graphql linting and autocomplete.
*/
expect(globalPackage.dependencies['graphql']).toBe('^0.10.5');
expect(globalPackage.dependencies['codemirror-graphql']).toBe('^0.6.11');
});
});

6946
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -132,7 +132,7 @@
"electron-context-menu": "^0.9.0",
"electron-devtools-installer": "^2.2.0",
"electron-squirrel-startup": "^1.0.0",
"graphql": "^0.11.7",
"graphql": "^0.10.5",
"hawk": "^6.0.2",
"highlight.js": "^9.12.0",
"hkdf": "^0.0.2",