Skip to content

Commit

Permalink
fix: add autocomplete optional version, upgraded dev deps (#115)
Browse files Browse the repository at this point in the history
#96 seems to be caused by a specific version of
`@codemirror/autocomplete` so we will ask for the fix version and newer
as an optional.

it could be considered a peer, but technically one could use the library
and avoid using autocomplete altogether
  • Loading branch information
acao authored Jun 1, 2024
1 parent f7bfaee commit c8d2594
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 196 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-apricots-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"codemirror-json-schema": patch
---

set @codemirror/autocomplete as an optional peer, at a fix version for a bug with curly braces
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"yaml": "^2.3.4"
},
"optionalDependencies": {
"@codemirror/autocomplete": "^6.16.1",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-yaml": "^6.0.0",
"codemirror-json5": "^1.0.3",
Expand All @@ -83,19 +84,17 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@codemirror/autocomplete": "^6.8.1",
"@codemirror/basic-setup": "^0.20.0",
"@codemirror/commands": "^6.2.4",
"@codemirror/language": "^6.8.0",
"@codemirror/lint": "^6.5.0",
"@codemirror/state": "^6.0.0",
"@codemirror/autocomplete": "^6.16.2",
"@codemirror/commands": "^6.5.0",
"@codemirror/language": "^6.10.1",
"@codemirror/lint": "^6.8.0",
"@codemirror/state": "^6.4.1",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.0.0",
"@codemirror/view": "^6.26.3",
"@evilmartians/lefthook": "^1.4.6",
"@lezer/common": "^1.0.3",
"@lezer/common": "^1.2.1",
"@types/markdown-it": "^13.0.7",
"@vitest/coverage-v8": "^0.34.6",
"codemirror": "^6.0.1",
"codemirror-json5": "^1.0.3",
"happy-dom": "^10.3.2",
"json5": "^2.2.3",
Expand Down
Loading

0 comments on commit c8d2594

Please sign in to comment.