graphql / graphql/graphiql

[graphiql] `codemirror-graphql` depends on `@types/codemirror@^0.0.90` but uses `codemirror@^5.65.3`

Open
#3,525 1 comment 0 reactions 0 assignees View on GitHub
bug graphiql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

`codemirror-graphql` depends on `@types/codemirror@^0.0.90` but has peerDependency on `codemirror@^5.65.3`

### Expected Behavior

Would expect that it uses `@types/codemirror@npm:^5.60.9` or similar?

### Steps To Reproduce

`yarn add graphiql`, then look at `yarn.lock` - two versions of `@types/codemirror` are installed, one is 0.0.90.

### Environment

* GraphiQL Version: 3.1.0
* OS: Ubuntu 22.04
* Browser: Irrelevant
* Bundler: Irrelevant
* `react` Version: Irrelevant
* `graphql` Version: Irrelevant

### Anything else?

[package.json](https://github.com/graphql/graphiql/files/14123620/package.json)
[yarn.lock.txt](https://github.com/graphql/graphiql/files/14123617/yarn.lock.txt) (.txt so GitHub allows upload)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.