Skip to content

Commit

Permalink
Changesets: Versioning & Publication (#82)
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
## codemirror-json-schema@0.6.1

### Patch Changes

- [#81](#81)
[`ed534d7`](ed534d7)
Thanks [@acao](https://github.com/acao)! - export `handleRefresh`

- [#83](#83)
[`efd54f0`](efd54f0)
Thanks [@acao](https://github.com/acao)! - fix undefined position bug
with json-schema-library upgrade

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jan 5, 2024
1 parent efd54f0 commit b3a0aa7
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 38 deletions.
5 changes: 0 additions & 5 deletions .changeset/rude-shirts-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stale-dolls-occur.md

This file was deleted.

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

## 0.6.1

### Patch Changes

- [#81](https://github.com/acao/codemirror-json-schema/pull/81) [`ed534d7`](https://github.com/acao/codemirror-json-schema/commit/ed534d703801d174779e099891a2905e6b60a6af) Thanks [@acao](https://github.com/acao)! - export `handleRefresh`

- [#83](https://github.com/acao/codemirror-json-schema/pull/83) [`efd54f0`](https://github.com/acao/codemirror-json-schema/commit/efd54f022cad7ba924b444356ffa6f0f6c704916) Thanks [@acao](https://github.com/acao)! - fix undefined position bug with json-schema-library upgrade

## 0.6.0

### Minor Changes
Expand Down
63 changes: 42 additions & 21 deletions docs/modules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

- [getJSONSchema](index.md#getjsonschema)
- [getJsonPointerAt](index.md#getjsonpointerat)
- [handleRefresh](index.md#handlerefresh)
- [stateExtensions](index.md#stateextensions)
- [updateSchema](index.md#updateschema)

Expand Down Expand Up @@ -63,7 +64,7 @@ Full featured cm6 extension for json, including `@codemirror/lang-json`

#### Defined in

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

## Codemirror Extensions

Expand Down Expand Up @@ -97,7 +98,7 @@ provides a JSON schema enabled autocomplete extension for codemirror

#### Defined in

[json-completion.ts:808](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-completion.ts#L808)
[json-completion.ts:808](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-completion.ts#L808)

---

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

#### Defined in

[json-hover.ts:42](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L42)
[json-hover.ts:42](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-hover.ts#L42)

---

Expand Down Expand Up @@ -167,7 +168,7 @@ Helper for simpler class instantiaton

#### Defined in

[json-validation.ts:43](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-validation.ts#L43)
[json-validation.ts:43](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-validation.ts#L43)

## Utilities

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

#### Defined in

[utils/jsonPointers.ts:57](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L57)
[utils/jsonPointers.ts:57](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/jsonPointers.ts#L57)

---

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

#### Defined in

[utils/jsonPointers.ts:45](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L45)
[utils/jsonPointers.ts:45](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/jsonPointers.ts#L45)

---

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

#### Defined in

[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSONDocument.ts#L23)
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/parseJSONDocument.ts#L23)

---

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

#### Defined in

[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSONDocument.ts#L9)
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/parseJSONDocument.ts#L9)

## Functions

Expand All @@ -288,7 +289,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/0aaf308/src/state.ts#L25)
[state.ts:25](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/state.ts#L25)

---

Expand All @@ -309,7 +310,27 @@ Return parsed data and json pointers for a given codemirror EditorState

#### Defined in

[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L12)
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/jsonPointers.ts#L12)

---

### handleRefresh

**handleRefresh**(`vu`): `boolean`

#### Parameters

| Name | Type |
| :--- | :----------- |
| `vu` | `ViewUpdate` |

#### Returns

`boolean`

#### Defined in

[json-validation.ts:33](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-validation.ts#L33)

---

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

#### Defined in

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

---

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

#### Defined in

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

## Type Aliases

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

#### Defined in

[json-hover.ts:16](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L16)
[json-hover.ts:16](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-hover.ts#L16)

---

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

#### Defined in

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

---

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

#### Defined in

[json-hover.ts:22](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L22)
[json-hover.ts:22](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-hover.ts#L22)

---

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

#### Defined in

[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L8)
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/jsonPointers.ts#L8)

---

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

#### Defined in

[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L4)
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/types.ts#L4)

---

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

#### Defined in

[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L9)
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/types.ts#L9)

---

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

#### Defined in

[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L18)
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/types.ts#L18)

---

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

#### Defined in

[json-validation.ts:26](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-validation.ts#L26)
[json-validation.ts:26](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-validation.ts#L26)

## Variables

Expand All @@ -478,4 +499,4 @@ Return parsed data and json pointers for a given codemirror EditorState

#### Defined in

[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L6)
[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/state.ts#L6)
12 changes: 6 additions & 6 deletions docs/modules/json5.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Full featured cm6 extension for json5, including `codemirror-json5`

#### Defined in

[json5-bundled.ts:16](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json5-bundled.ts#L16)
[json5-bundled.ts:16](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json5-bundled.ts#L16)

## Codemirror Extensions

Expand Down Expand Up @@ -73,7 +73,7 @@ provides a JSON schema enabled autocomplete extension for codemirror and json5

#### Defined in

[json-completion.ts:819](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-completion.ts#L819)
[json-completion.ts:819](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json-completion.ts#L819)

---

Expand Down Expand Up @@ -109,7 +109,7 @@ Instantiates a JSONHover instance with the JSON5 mode

#### Defined in

[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json5-hover.ts#L13)
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json5-hover.ts#L13)

---

Expand Down Expand Up @@ -143,7 +143,7 @@ Instantiates a JSONValidation instance with the JSON5 mode

#### Defined in

[json5-validation.ts:12](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json5-validation.ts#L12)
[json5-validation.ts:12](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/json5-validation.ts#L12)

## Utilities

Expand All @@ -170,7 +170,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function, for jso

#### Defined in

[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSON5Document.ts#L28)
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/parseJSON5Document.ts#L28)

---

Expand All @@ -197,4 +197,4 @@ Return parsed data and json5 pointers for a given codemirror EditorState

#### Defined in

[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSON5Document.ts#L14)
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/efd54f0/src/utils/parseJSON5Document.ts#L14)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codemirror-json-schema",
"license": "MIT",
"version": "0.6.0",
"version": "0.6.1",
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
"contributors": [
{
Expand Down

0 comments on commit b3a0aa7

Please sign in to comment.