Skip to content

Commit a609d6f

Browse files
github-actions[bot]acao
authored andcommitted
chore(release): changesets versioning & publication
1 parent a08101a commit a609d6f

File tree

5 files changed

+79
-26
lines changed

5 files changed

+79
-26
lines changed

.changeset/wicked-llamas-confess.md

-5
This file was deleted.

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# codemirror-json-schema
22

3+
## 0.3.2
4+
5+
### Patch Changes
6+
7+
- [#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
8+
39
## 0.3.1
410

511
### Patch Changes

docs/modules/index.md

+42-16
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
## Table of contents
66

7+
### Bundled Codemirror Extensions
8+
9+
- [jsonSchema](index.md#jsonschema)
10+
711
### Codemirror Extensions
812

913
- [jsonCompletion](index.md#jsoncompletion)
@@ -32,6 +36,28 @@
3236
- [JSONPointersMap](index.md#jsonpointersmap)
3337
- [JSONValidationOptions](index.md#jsonvalidationoptions)
3438

39+
## Bundled Codemirror Extensions
40+
41+
### jsonSchema
42+
43+
**jsonSchema**(`schema`): `Extension`[]
44+
45+
Full featured cm6 extension for json, including `@codemirror/lang-json`
46+
47+
#### Parameters
48+
49+
| Name | Type |
50+
| :------- | :------------ |
51+
| `schema` | `JSONSchema7` |
52+
53+
#### Returns
54+
55+
`Extension`[]
56+
57+
#### Defined in
58+
59+
[bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/bundled.ts#L14)
60+
3561
## Codemirror Extensions
3662

3763
### jsonCompletion
@@ -64,7 +90,7 @@ provides a JSON schema enabled autocomplete extension for codemirror
6490

6591
#### Defined in
6692

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

6995
---
7096

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

102128
#### Defined in
103129

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

106132
---
107133

@@ -136,7 +162,7 @@ Helper for simpler class instantiaton
136162

137163
#### Defined in
138164

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

141167
## Utilities
142168

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

160186
#### Defined in
161187

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

164190
---
165191

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

184210
#### Defined in
185211

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

188214
---
189215

@@ -210,7 +236,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function using co
210236

211237
#### Defined in
212238

213-
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/parseJSONDocument.ts#L23)
239+
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/parseJSONDocument.ts#L23)
214240

215241
---
216242

@@ -237,7 +263,7 @@ Return parsed data and json pointers for a given codemirror EditorState
237263

238264
#### Defined in
239265

240-
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/parseJSONDocument.ts#L9)
266+
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/parseJSONDocument.ts#L9)
241267

242268
## Functions
243269

@@ -258,7 +284,7 @@ Return parsed data and json pointers for a given codemirror EditorState
258284

259285
#### Defined in
260286

261-
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/jsonPointers.ts#L12)
287+
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/jsonPointers.ts#L12)
262288

263289
## Type Aliases
264290

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

276302
#### Defined in
277303

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

280306
---
281307

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

286312
#### Defined in
287313

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

290316
---
291317

@@ -303,7 +329,7 @@ Return parsed data and json pointers for a given codemirror EditorState
303329

304330
#### Defined in
305331

306-
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-hover.ts#L18)
332+
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-hover.ts#L18)
307333

308334
---
309335

@@ -313,7 +339,7 @@ Return parsed data and json pointers for a given codemirror EditorState
313339

314340
#### Defined in
315341

316-
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/jsonPointers.ts#L8)
342+
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/jsonPointers.ts#L8)
317343

318344
---
319345

@@ -330,7 +356,7 @@ Return parsed data and json pointers for a given codemirror EditorState
330356

331357
#### Defined in
332358

333-
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/types.ts#L4)
359+
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/types.ts#L4)
334360

335361
---
336362

@@ -349,7 +375,7 @@ Return parsed data and json pointers for a given codemirror EditorState
349375

350376
#### Defined in
351377

352-
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/types.ts#L9)
378+
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/types.ts#L9)
353379

354380
---
355381

@@ -359,7 +385,7 @@ Return parsed data and json pointers for a given codemirror EditorState
359385

360386
#### Defined in
361387

362-
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/types.ts#L18)
388+
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/types.ts#L18)
363389

364390
---
365391

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

377403
#### Defined in
378404

379-
[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/json-validation.ts#L24)
405+
[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json-validation.ts#L24)

docs/modules/json5.md

+30-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
## Table of contents
66

7+
### Bundled Codemirror Extensions
8+
9+
- [json5Schema](json5.md#json5schema)
10+
711
### Codemirror Extensions
812

913
- [json5SchemaHover](json5.md#json5schemahover)
@@ -14,6 +18,28 @@
1418
- [parseJSON5Document](json5.md#parsejson5document)
1519
- [parseJSON5DocumentState](json5.md#parsejson5documentstate)
1620

21+
## Bundled Codemirror Extensions
22+
23+
### json5Schema
24+
25+
**json5Schema**(`schema`): `Extension`[]
26+
27+
Full featured cm6 extension for json5, including `codemirror-json5`
28+
29+
#### Parameters
30+
31+
| Name | Type |
32+
| :------- | :------------ |
33+
| `schema` | `JSONSchema7` |
34+
35+
#### Returns
36+
37+
`Extension`[]
38+
39+
#### Defined in
40+
41+
[json5-bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/json5-bundled.ts#L14)
42+
1743
## Codemirror Extensions
1844

1945
### json5SchemaHover
@@ -49,7 +75,7 @@ Instantiates a JSONHover instance with the JSON5 mode
4975

5076
#### Defined in
5177

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

5480
---
5581

@@ -84,7 +110,7 @@ Instantiates a JSONValidation instance with the JSON5 mode
84110

85111
#### Defined in
86112

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

89115
## Utilities
90116

@@ -111,7 +137,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function, for jso
111137

112138
#### Defined in
113139

114-
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/23e5721/src/utils/parseJSON5Document.ts#L28)
140+
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/a08101a/src/utils/parseJSON5Document.ts#L28)
115141

116142
---
117143

@@ -138,4 +164,4 @@ Return parsed data and json5 pointers for a given codemirror EditorState
138164

139165
#### Defined in
140166

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codemirror-json-schema",
33
"license": "MIT",
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
66
"contributors": [
77
{

0 commit comments

Comments
 (0)