Skip to content

Commit 9ee7a96

Browse files
committed
Lock CodeMirror deps
1 parent 03638cc commit 9ee7a96

File tree

3 files changed

+92
-84
lines changed

3 files changed

+92
-84
lines changed

package.json

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525
},
2626
"dependencies": {
2727
"@base-ui-components/react": "1.0.0-beta.4",
28-
"@codemirror/autocomplete": "^6.18.6",
29-
"@codemirror/commands": "^6.3.3",
30-
"@codemirror/language": "^6.10.0",
31-
"@codemirror/lint": "^6.8.5",
32-
"@codemirror/state": "^6.4.0",
33-
"@codemirror/view": "^6.24.0",
28+
"@codemirror/autocomplete": "6.18.6",
29+
"@codemirror/commands": "6.3.3",
30+
"@codemirror/language": "6.10.0",
31+
"@codemirror/lint": "6.8.5",
32+
"@codemirror/state": "6.4.0",
33+
"@codemirror/view": "6.24.0",
3434
"@graphql-tools/schema": "10.0.25",
3535
"@hasparus/lezer-json-shikified": "1.1.3",
3636
"@headlessui/react": "^2.2.4",
3737
"@igorkowalczyk/is-browser": "^5.1.0",
38-
"@lezer/highlight": "^1.2.1",
38+
"@lezer/highlight": "1.2.1",
3939
"@next/bundle-analyzer": "^15.4.5",
4040
"@plaiceholder/next": "^3.0.0",
4141
"@sparticuz/chromium": "^138.0.2",
@@ -139,6 +139,16 @@
139139
"esbuild",
140140
"iframe-resizer",
141141
"sharp"
142-
]
142+
],
143+
"overrides": {
144+
"@lezer/highlight": "1.2.1",
145+
"@lezer/common": "1.2.3",
146+
"@codemirror/autocomplete": "6.18.6",
147+
"@codemirror/commands": "6.3.3",
148+
"@codemirror/language": "6.10.0",
149+
"@codemirror/lint": "6.8.5",
150+
"@codemirror/state": "6.4.0",
151+
"@codemirror/view": "6.24.0"
152+
}
143153
}
144154
}

pnpm-lock.yaml

Lines changed: 73 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/interactive-code-block/query-editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
import { graphql, updateSchema } from "cm6-graphql"
1212
import { GraphQLSchema } from "graphql"
1313
import { codeMirrorThemeExtension } from "./codemirror-theme"
14+
1415
import "./syntax-highlighting.css"
1516

1617
interface QueryEditorProps {

0 commit comments

Comments
 (0)