Skip to content

Commit

Permalink
Changesets: Versioning & Publication (#78)
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.0

### Minor Changes

- [#64](#64)
[`0aaf308`](0aaf308)
Thanks [@acao](https://github.com/acao)! - **Breaking Change**: replaces
backticks with `<code>` blocks in hover and completion! This just seemed
to make more sense.

- upgrade `json-schema-library` to the latest 8.x with patch fixes,
remove "forked" pointer step logic
- after autocompleting a property, when there is empty value, provide
full autocomplete options
- as noted in the breaking change notice, all psuedo-markdown backtick
\`\`delimiters are replaced with`<code>`

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikki Schulte <rikki.schulte@gmail.com>
  • Loading branch information
3 people committed Dec 4, 2023
1 parent 0aaf308 commit 1eac98a
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 37 deletions.
9 changes: 0 additions & 9 deletions .changeset/nasty-islands-help.md

This file was deleted.

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

## 0.6.0

### Minor Changes

- [#64](https://github.com/acao/codemirror-json-schema/pull/64) [`0aaf308`](https://github.com/acao/codemirror-json-schema/commit/0aaf3080f9451bdbdc45f5a812ce50c25f354c57) Thanks [@acao](https://github.com/acao)! - **Breaking Change**: replaces backticks with `<code>` blocks in hover and completion! This just seemed to make more sense.

- upgrade `json-schema-library` to the latest 8.x with patch fixes, remove "forked" pointer step logic
- after autocompleting a property, when there is empty value, provide full autocomplete options
- as noted in the breaking change notice, all psuedo-markdown backtick \`\`delimiters are replaced with`<code>`

## 0.5.1

### Patch Changes
Expand Down
42 changes: 21 additions & 21 deletions docs/modules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Full featured cm6 extension for json, including `@codemirror/lang-json`

#### Defined in

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

## Codemirror Extensions

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

#### Defined in

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

---

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

#### Defined in

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

---

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

#### Defined in

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

## Utilities

Expand All @@ -190,7 +190,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/7ed9e3e/src/utils/jsonPointers.ts#L57)
[utils/jsonPointers.ts:57](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L57)

---

Expand All @@ -214,7 +214,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/7ed9e3e/src/utils/jsonPointers.ts#L45)
[utils/jsonPointers.ts:45](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L45)

---

Expand All @@ -241,7 +241,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/7ed9e3e/src/utils/parseJSONDocument.ts#L23)
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSONDocument.ts#L23)

---

Expand All @@ -268,7 +268,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/7ed9e3e/src/utils/parseJSONDocument.ts#L9)
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSONDocument.ts#L9)

## Functions

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

---

Expand All @@ -309,7 +309,7 @@ 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/7ed9e3e/src/utils/jsonPointers.ts#L12)
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L12)

---

Expand All @@ -329,7 +329,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/7ed9e3e/src/state.ts#L29)
[state.ts:29](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L29)

---

Expand All @@ -350,7 +350,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/7ed9e3e/src/state.ts#L19)
[state.ts:19](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L19)

## Type Aliases

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

#### Defined in

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

---

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

#### Defined in

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

---

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

#### Defined in

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

---

Expand All @@ -405,7 +405,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/7ed9e3e/src/utils/jsonPointers.ts#L8)
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L8)

---

Expand All @@ -422,7 +422,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/7ed9e3e/src/types.ts#L4)
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L4)

---

Expand All @@ -441,7 +441,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/7ed9e3e/src/types.ts#L9)
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L9)

---

Expand All @@ -451,7 +451,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/7ed9e3e/src/types.ts#L18)
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L18)

---

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

#### Defined in

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

## Variables

Expand All @@ -478,4 +478,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/7ed9e3e/src/state.ts#L6)
[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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/7ed9e3e/src/json5-bundled.ts#L16)
[json5-bundled.ts:16](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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:822](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-completion.ts#L822)
[json-completion.ts:819](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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/7ed9e3e/src/json5-hover.ts#L13)
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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/7ed9e3e/src/json5-validation.ts#L12)
[json5-validation.ts:12](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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/7ed9e3e/src/utils/parseJSON5Document.ts#L28)
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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/7ed9e3e/src/utils/parseJSON5Document.ts#L14)
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/0aaf308/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.5.1",
"version": "0.6.0",
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
"contributors": [
{
Expand Down

0 comments on commit 1eac98a

Please sign in to comment.