From 7a70fb9ee4d5d8bc750820a3073a94d23211e8c6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 5 Jan 2024 11:50:51 +0000 Subject: [PATCH] chore(release): changesets versioning & publication --- .changeset/rude-shirts-bake.md | 5 --- CHANGELOG.md | 6 ++++ docs/modules/index.md | 63 ++++++++++++++++++++++------------ docs/modules/json5.md | 12 +++---- package.json | 2 +- 5 files changed, 55 insertions(+), 33 deletions(-) delete mode 100644 .changeset/rude-shirts-bake.md diff --git a/.changeset/rude-shirts-bake.md b/.changeset/rude-shirts-bake.md deleted file mode 100644 index 8173a08..0000000 --- a/.changeset/rude-shirts-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"codemirror-json-schema": patch ---- - -export `handleRefresh` diff --git a/CHANGELOG.md b/CHANGELOG.md index 4836634..e910a32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # 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` + ## 0.6.0 ### Minor Changes diff --git a/docs/modules/index.md b/docs/modules/index.md index 3f456cc..d45e47a 100644 --- a/docs/modules/index.md +++ b/docs/modules/index.md @@ -25,6 +25,7 @@ - [getJSONSchema](index.md#getjsonschema) - [getJsonPointerAt](index.md#getjsonpointerat) +- [handleRefresh](index.md#handlerefresh) - [stateExtensions](index.md#stateextensions) - [updateSchema](index.md#updateschema) @@ -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/ed534d7/src/bundled.ts#L15) ## Codemirror Extensions @@ -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/ed534d7/src/json-completion.ts#L808) --- @@ -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/ed534d7/src/json-hover.ts#L42) --- @@ -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/ed534d7/src/json-validation.ts#L43) ## Utilities @@ -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/ed534d7/src/utils/jsonPointers.ts#L57) --- @@ -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/ed534d7/src/utils/jsonPointers.ts#L45) --- @@ -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/ed534d7/src/utils/parseJSONDocument.ts#L23) --- @@ -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/ed534d7/src/utils/parseJSONDocument.ts#L9) ## Functions @@ -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/ed534d7/src/state.ts#L25) --- @@ -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/ed534d7/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/ed534d7/src/json-validation.ts#L33) --- @@ -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/ed534d7/src/state.ts#L29) --- @@ -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/ed534d7/src/state.ts#L19) ## Type Aliases @@ -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/ed534d7/src/json-hover.ts#L16) --- @@ -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/ed534d7/src/json-hover.ts#L18) --- @@ -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/ed534d7/src/json-hover.ts#L22) --- @@ -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/ed534d7/src/utils/jsonPointers.ts#L8) --- @@ -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/ed534d7/src/types.ts#L4) --- @@ -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/ed534d7/src/types.ts#L9) --- @@ -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/ed534d7/src/types.ts#L18) --- @@ -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/ed534d7/src/json-validation.ts#L26) ## Variables @@ -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/ed534d7/src/state.ts#L6) diff --git a/docs/modules/json5.md b/docs/modules/json5.md index 080b19f..c866669 100644 --- a/docs/modules/json5.md +++ b/docs/modules/json5.md @@ -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/ed534d7/src/json5-bundled.ts#L16) ## Codemirror Extensions @@ -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/ed534d7/src/json-completion.ts#L819) --- @@ -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/ed534d7/src/json5-hover.ts#L13) --- @@ -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/ed534d7/src/json5-validation.ts#L12) ## Utilities @@ -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/ed534d7/src/utils/parseJSON5Document.ts#L28) --- @@ -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/ed534d7/src/utils/parseJSON5Document.ts#L14) diff --git a/package.json b/package.json index c4953e2..521c599 100644 --- a/package.json +++ b/package.json @@ -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": [ {