Skip to content

Commit

Permalink
Changesets: Versioning & Publication (#104)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored May 30, 2024
1 parent da7f368 commit c63fc22
Show file tree
Hide file tree
Showing 9 changed files with 926 additions and 31 deletions.
5 changes: 0 additions & 5 deletions .changeset/weak-bobcats-scream.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# codemirror-json-schema

## 0.7.3

### Patch Changes

- [#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

## 0.7.2

### Patch Changes
Expand Down
51 changes: 29 additions & 22 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ codemirror-json-schema
- [parseJSONDocument](README.md#parsejsondocument)
- [parseJSONDocumentState](README.md#parsejsondocumentstate)

### Classes

- [JSONCompletion](classes/JSONCompletion.md)
- [JSONHover](classes/JSONHover.md)
- [JSONValidation](classes/JSONValidation.md)

### Functions

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

### Interfaces

- [JSONCompletionOptions](interfaces/JSONCompletionOptions.md)
- [JSONValidationOptions](interfaces/JSONValidationOptions.md)

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

#### Defined in

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

## Codemirror Extensions

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

| Name | Type |
| :------ | :------ |
| `opts` | `JSONCompletionOptions` |
| `opts` | [`JSONCompletionOptions`](interfaces/JSONCompletionOptions.md) |

#### Returns

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

#### Defined in

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

___

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

#### Defined in

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

___

Expand Down Expand Up @@ -171,7 +178,7 @@ Helper for simpler class instantiaton

#### Defined in

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

## Utilities

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

#### Defined in

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

___

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

#### Defined in

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

___

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

#### Defined in

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

___

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

#### Defined in

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

## Functions

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

#### Defined in

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

___

Expand All @@ -315,7 +322,7 @@ ___

#### Defined in

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

___

Expand All @@ -335,7 +342,7 @@ ___

#### Defined in

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

___

Expand All @@ -356,7 +363,7 @@ ___

#### Defined in

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

___

Expand All @@ -376,7 +383,7 @@ ___

#### Defined in

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

___

Expand All @@ -397,7 +404,7 @@ ___

#### Defined in

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

## Type Aliases

Expand All @@ -414,7 +421,7 @@ ___

#### Defined in

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

___

Expand All @@ -424,7 +431,7 @@ ___

#### Defined in

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

___

Expand All @@ -443,7 +450,7 @@ ___

#### Defined in

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

___

Expand All @@ -460,7 +467,7 @@ ___

#### Defined in

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

___

Expand All @@ -479,7 +486,7 @@ ___

#### Defined in

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

___

Expand All @@ -489,7 +496,7 @@ ___

#### Defined in

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

## Variables

Expand All @@ -499,4 +506,4 @@ ___

#### Defined in

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

0 comments on commit c63fc22

Please sign in to comment.