Skip to content

Commit

Permalink
chore(release): changesets versioning & publication
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and acao committed Jul 22, 2023
1 parent a08101a commit a609d6f
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 26 deletions.
5 changes: 0 additions & 5 deletions .changeset/wicked-llamas-confess.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.3.2

### Patch Changes

- [#42](https://github.com/acao/codemirror-json-schema/pull/42) [`a08101a`](https://github.com/acao/codemirror-json-schema/commit/a08101a9fbae0979bc0cf11307102ce8bddd2572) Thanks [@acao](https://github.com/acao)! - simpler export patterns

## 0.3.1

### Patch Changes
Expand Down
58 changes: 42 additions & 16 deletions docs/modules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## Table of contents

### Bundled Codemirror Extensions

- [jsonSchema](index.md#jsonschema)

### Codemirror Extensions

- [jsonCompletion](index.md#jsoncompletion)
Expand Down Expand Up @@ -32,6 +36,28 @@
- [JSONPointersMap](index.md#jsonpointersmap)
- [JSONValidationOptions](index.md#jsonvalidationoptions)

## Bundled Codemirror Extensions

### jsonSchema

**jsonSchema**(`schema`): `Extension`[]

Full featured cm6 extension for json, including `@codemirror/lang-json`

#### Parameters

| Name | Type |
| :------- | :------------ |
| `schema` | `JSONSchema7` |

#### Returns

`Extension`[]

#### Defined in

[bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/bundled.ts#L14)

## Codemirror Extensions

### jsonCompletion
Expand Down Expand Up @@ -64,7 +90,7 @@ provides a JSON schema enabled autocomplete extension for codemirror

#### Defined in

[json-completion.ts:747](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-completion.ts#L747)
[json-completion.ts:747](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-completion.ts#L747)

---

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

#### Defined in

[json-hover.ts:38](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-hover.ts#L38)
[json-hover.ts:38](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-hover.ts#L38)

---

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

#### Defined in

[json-validation.ts:35](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-validation.ts#L35)
[json-validation.ts:35](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-validation.ts#L35)

## Utilities

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

#### Defined in

[utils/jsonPointers.ts:56](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/jsonPointers.ts#L56)
[utils/jsonPointers.ts:56](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/jsonPointers.ts#L56)

---

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

#### Defined in

[utils/jsonPointers.ts:44](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/jsonPointers.ts#L44)
[utils/jsonPointers.ts:44](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/jsonPointers.ts#L44)

---

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

---

Expand All @@ -237,7 +263,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/23e5721/src/utils/parseJSONDocument.ts#L9)
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/parseJSONDocument.ts#L9)

## Functions

Expand All @@ -258,7 +284,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/23e5721/src/utils/jsonPointers.ts#L12)
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/jsonPointers.ts#L12)

## Type Aliases

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

#### Defined in

[json-hover.ts:12](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-hover.ts#L12)
[json-hover.ts:12](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-hover.ts#L12)

---

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

#### Defined in

[json-hover.ts:14](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-hover.ts#L14)
[json-hover.ts:14](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-hover.ts#L14)

---

Expand All @@ -303,7 +329,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/23e5721/src/json-hover.ts#L18)
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-hover.ts#L18)

---

Expand All @@ -313,7 +339,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/23e5721/src/utils/jsonPointers.ts#L8)
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/jsonPointers.ts#L8)

---

Expand All @@ -330,7 +356,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/23e5721/src/types.ts#L4)
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/types.ts#L4)

---

Expand All @@ -349,7 +375,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/23e5721/src/types.ts#L9)
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/types.ts#L9)

---

Expand All @@ -359,7 +385,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/23e5721/src/types.ts#L18)
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/types.ts#L18)

---

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

#### Defined in

[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-validation.ts#L24)
[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-validation.ts#L24)
34 changes: 30 additions & 4 deletions docs/modules/json5.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

## Table of contents

### Bundled Codemirror Extensions

- [json5Schema](json5.md#json5schema)

### Codemirror Extensions

- [json5SchemaHover](json5.md#json5schemahover)
Expand All @@ -14,6 +18,28 @@
- [parseJSON5Document](json5.md#parsejson5document)
- [parseJSON5DocumentState](json5.md#parsejson5documentstate)

## Bundled Codemirror Extensions

### json5Schema

**json5Schema**(`schema`): `Extension`[]

Full featured cm6 extension for json5, including `codemirror-json5`

#### Parameters

| Name | Type |
| :------- | :------------ |
| `schema` | `JSONSchema7` |

#### Returns

`Extension`[]

#### Defined in

[json5-bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json5-bundled.ts#L14)

## Codemirror Extensions

### json5SchemaHover
Expand Down Expand Up @@ -49,7 +75,7 @@ Instantiates a JSONHover instance with the JSON5 mode

#### Defined in

[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json5-hover.ts#L13)
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json5-hover.ts#L13)

---

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

#### Defined in

[json5-validation.ts:10](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json5-validation.ts#L10)
[json5-validation.ts:10](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json5-validation.ts#L10)

## Utilities

Expand All @@ -111,7 +137,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/23e5721/src/utils/parseJSON5Document.ts#L28)
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/parseJSON5Document.ts#L28)

---

Expand All @@ -138,4 +164,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/23e5721/src/utils/parseJSON5Document.ts#L14)
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/a08101a/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.3.1",
"version": "0.3.2",
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
"contributors": [
{
Expand Down

0 comments on commit a609d6f

Please sign in to comment.