mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Fix graphql dependencie problems (Fixes #577)
This commit is contained in:
parent
c1e98f8bd6
commit
76611dc50a
@ -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
6946
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user