Skip to content

Commit c63fc22

Browse files
Changesets: Versioning & Publication (#104)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Patch Changes - [#103](#103) [`da7f368`](da7f368) Thanks [@imolorhe](https://github.com/imolorhe)! - Handle generic validation error Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent da7f368 commit c63fc22

9 files changed

+926
-31
lines changed

.changeset/weak-bobcats-scream.md

-5
This file was deleted.

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# codemirror-json-schema
22

3+
## 0.7.3
4+
5+
### Patch Changes
6+
7+
- [#103](https://github.com/acao/codemirror-json-schema/pull/103) [`da7f368`](https://github.com/acao/codemirror-json-schema/commit/da7f36888c5efa31b5b32becdf9f839e476eed85) Thanks [@imolorhe](https://github.com/imolorhe)! - Handle generic validation error
8+
39
## 0.7.2
410

511
### Patch Changes

docs/README.md

+29-22
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ codemirror-json-schema
2121
- [parseJSONDocument](README.md#parsejsondocument)
2222
- [parseJSONDocumentState](README.md#parsejsondocumentstate)
2323

24+
### Classes
25+
26+
- [JSONCompletion](classes/JSONCompletion.md)
27+
- [JSONHover](classes/JSONHover.md)
28+
- [JSONValidation](classes/JSONValidation.md)
29+
2430
### Functions
2531

2632
- [getJSONSchema](README.md#getjsonschema)
@@ -32,6 +38,7 @@ codemirror-json-schema
3238

3339
### Interfaces
3440

41+
- [JSONCompletionOptions](interfaces/JSONCompletionOptions.md)
3542
- [JSONValidationOptions](interfaces/JSONValidationOptions.md)
3643

3744
### Type Aliases
@@ -67,7 +74,7 @@ Full featured cm6 extension for json, including `@codemirror/lang-json`
6774

6875
#### Defined in
6976

70-
[bundled.ts:15](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/bundled.ts#L15)
77+
[bundled.ts:15](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/bundled.ts#L15)
7178

7279
## Codemirror Extensions
7380

@@ -81,7 +88,7 @@ provides a JSON schema enabled autocomplete extension for codemirror
8188

8289
| Name | Type |
8390
| :------ | :------ |
84-
| `opts` | `JSONCompletionOptions` |
91+
| `opts` | [`JSONCompletionOptions`](interfaces/JSONCompletionOptions.md) |
8592

8693
#### Returns
8794

@@ -101,7 +108,7 @@ provides a JSON schema enabled autocomplete extension for codemirror
101108

102109
#### Defined in
103110

104-
[json-completion.ts:936](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-completion.ts#L936)
111+
[json-completion.ts:936](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-completion.ts#L936)
105112

106113
___
107114

@@ -137,7 +144,7 @@ provides a JSON schema enabled tooltip extension for codemirror
137144

138145
#### Defined in
139146

140-
[json-hover.ts:45](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-hover.ts#L45)
147+
[json-hover.ts:45](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-hover.ts#L45)
141148

142149
___
143150

@@ -171,7 +178,7 @@ Helper for simpler class instantiaton
171178

172179
#### Defined in
173180

174-
[json-validation.ts:58](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-validation.ts#L58)
181+
[json-validation.ts:58](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-validation.ts#L58)
175182

176183
## Utilities
177184

@@ -194,7 +201,7 @@ retrieve a Map of all the json pointers in a document
194201

195202
#### Defined in
196203

197-
[utils/jsonPointers.ts:85](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/utils/jsonPointers.ts#L85)
204+
[utils/jsonPointers.ts:85](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/utils/jsonPointers.ts#L85)
198205

199206
___
200207

@@ -219,7 +226,7 @@ retrieve a JSON pointer for a given position in the editor
219226

220227
#### Defined in
221228

222-
[utils/jsonPointers.ts:68](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/utils/jsonPointers.ts#L68)
229+
[utils/jsonPointers.ts:68](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/utils/jsonPointers.ts#L68)
223230

224231
___
225232

@@ -246,7 +253,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function using co
246253

247254
#### Defined in
248255

249-
[utils/parseJSONDocument.ts:24](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/utils/parseJSONDocument.ts#L24)
256+
[utils/parseJSONDocument.ts:24](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/utils/parseJSONDocument.ts#L24)
250257

251258
___
252259

@@ -273,7 +280,7 @@ Return parsed data and json pointers for a given codemirror EditorState
273280

274281
#### Defined in
275282

276-
[utils/parseJSONDocument.ts:10](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/utils/parseJSONDocument.ts#L10)
283+
[utils/parseJSONDocument.ts:10](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/utils/parseJSONDocument.ts#L10)
277284

278285
## Functions
279286

@@ -293,7 +300,7 @@ Return parsed data and json pointers for a given codemirror EditorState
293300

294301
#### Defined in
295302

296-
[state.ts:25](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/state.ts#L25)
303+
[state.ts:25](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/state.ts#L25)
297304

298305
___
299306

@@ -315,7 +322,7 @@ ___
315322

316323
#### Defined in
317324

318-
[utils/jsonPointers.ts:31](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/utils/jsonPointers.ts#L31)
325+
[utils/jsonPointers.ts:31](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/utils/jsonPointers.ts#L31)
319326

320327
___
321328

@@ -335,7 +342,7 @@ ___
335342

336343
#### Defined in
337344

338-
[json-validation.ts:48](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-validation.ts#L48)
345+
[json-validation.ts:48](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-validation.ts#L48)
339346

340347
___
341348

@@ -356,7 +363,7 @@ ___
356363

357364
#### Defined in
358365

359-
[utils/jsonPointers.ts:18](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/utils/jsonPointers.ts#L18)
366+
[utils/jsonPointers.ts:18](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/utils/jsonPointers.ts#L18)
360367

361368
___
362369

@@ -376,7 +383,7 @@ ___
376383

377384
#### Defined in
378385

379-
[state.ts:29](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/state.ts#L29)
386+
[state.ts:29](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/state.ts#L29)
380387

381388
___
382389

@@ -397,7 +404,7 @@ ___
397404

398405
#### Defined in
399406

400-
[state.ts:19](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/state.ts#L19)
407+
[state.ts:19](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/state.ts#L19)
401408

402409
## Type Aliases
403410

@@ -414,7 +421,7 @@ ___
414421

415422
#### Defined in
416423

417-
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-hover.ts#L18)
424+
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-hover.ts#L18)
418425

419426
___
420427

@@ -424,7 +431,7 @@ ___
424431

425432
#### Defined in
426433

427-
[json-hover.ts:20](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-hover.ts#L20)
434+
[json-hover.ts:20](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-hover.ts#L20)
428435

429436
___
430437

@@ -443,7 +450,7 @@ ___
443450

444451
#### Defined in
445452

446-
[json-hover.ts:24](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/json-hover.ts#L24)
453+
[json-hover.ts:24](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/json-hover.ts#L24)
447454

448455
___
449456

@@ -460,7 +467,7 @@ ___
460467

461468
#### Defined in
462469

463-
[types.ts:6](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/types.ts#L6)
470+
[types.ts:6](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/types.ts#L6)
464471

465472
___
466473

@@ -479,7 +486,7 @@ ___
479486

480487
#### Defined in
481488

482-
[types.ts:11](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/types.ts#L11)
489+
[types.ts:11](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/types.ts#L11)
483490

484491
___
485492

@@ -489,7 +496,7 @@ ___
489496

490497
#### Defined in
491498

492-
[types.ts:20](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/types.ts#L20)
499+
[types.ts:20](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/types.ts#L20)
493500

494501
## Variables
495502

@@ -499,4 +506,4 @@ ___
499506

500507
#### Defined in
501508

502-
[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/0dc3749/src/state.ts#L6)
509+
[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/da7f368/src/state.ts#L6)

0 commit comments

Comments
 (0)