codemirror-json-schema
Advanced tools
Comparing version 0.4.2 to 0.4.3
# codemirror-json-schema | ||
## 0.4.3 | ||
### Patch Changes | ||
- [#58](https://github.com/acao/codemirror-json-schema/pull/58) [`eb3e09d`](https://github.com/acao/codemirror-json-schema/commit/eb3e09d1b2e1280ba295aac9fa8ba9493a0d385d) Thanks [@acao](https://github.com/acao)! - Add main/cjs exports for webpack | ||
## 0.4.2 | ||
@@ -4,0 +10,0 @@ |
@@ -59,3 +59,3 @@ [codemirror-json-schema](../README.md) / index | ||
[bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/bundled.ts#L14) | ||
[bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/bundled.ts#L14) | ||
@@ -95,3 +95,3 @@ ## Codemirror Extensions | ||
[json-completion.ts:806](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-completion.ts#L806) | ||
[json-completion.ts:806](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-completion.ts#L806) | ||
@@ -133,3 +133,3 @@ --- | ||
[json-hover.ts:38](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-hover.ts#L38) | ||
[json-hover.ts:38](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-hover.ts#L38) | ||
@@ -169,3 +169,3 @@ --- | ||
[json-validation.ts:35](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-validation.ts#L35) | ||
[json-validation.ts:35](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-validation.ts#L35) | ||
@@ -193,3 +193,3 @@ ## Utilities | ||
[utils/jsonPointers.ts:56](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/jsonPointers.ts#L56) | ||
[utils/jsonPointers.ts:56](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/jsonPointers.ts#L56) | ||
@@ -218,3 +218,3 @@ --- | ||
[utils/jsonPointers.ts:44](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/jsonPointers.ts#L44) | ||
[utils/jsonPointers.ts:44](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/jsonPointers.ts#L44) | ||
@@ -246,3 +246,3 @@ --- | ||
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/parseJSONDocument.ts#L23) | ||
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/parseJSONDocument.ts#L23) | ||
@@ -274,3 +274,3 @@ --- | ||
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/parseJSONDocument.ts#L9) | ||
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/parseJSONDocument.ts#L9) | ||
@@ -296,3 +296,3 @@ ## Functions | ||
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/jsonPointers.ts#L12) | ||
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/jsonPointers.ts#L12) | ||
@@ -314,3 +314,3 @@ ## Type Aliases | ||
[json-hover.ts:12](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-hover.ts#L12) | ||
[json-hover.ts:12](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-hover.ts#L12) | ||
@@ -325,3 +325,3 @@ --- | ||
[json-hover.ts:14](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-hover.ts#L14) | ||
[json-hover.ts:14](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-hover.ts#L14) | ||
@@ -344,3 +344,3 @@ --- | ||
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-hover.ts#L18) | ||
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-hover.ts#L18) | ||
@@ -355,3 +355,3 @@ --- | ||
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/jsonPointers.ts#L8) | ||
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/jsonPointers.ts#L8) | ||
@@ -373,3 +373,3 @@ --- | ||
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/types.ts#L4) | ||
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/types.ts#L4) | ||
@@ -393,3 +393,3 @@ --- | ||
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/types.ts#L9) | ||
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/types.ts#L9) | ||
@@ -404,3 +404,3 @@ --- | ||
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/types.ts#L18) | ||
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/types.ts#L18) | ||
@@ -422,2 +422,2 @@ --- | ||
[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-validation.ts#L24) | ||
[json-validation.ts:24](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-validation.ts#L24) |
@@ -42,3 +42,3 @@ [codemirror-json-schema](../README.md) / json5 | ||
[json5-bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json5-bundled.ts#L14) | ||
[json5-bundled.ts:14](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json5-bundled.ts#L14) | ||
@@ -78,3 +78,3 @@ ## Codemirror Extensions | ||
[json-completion.ts:820](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json-completion.ts#L820) | ||
[json-completion.ts:820](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json-completion.ts#L820) | ||
@@ -116,3 +116,3 @@ --- | ||
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json5-hover.ts#L13) | ||
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json5-hover.ts#L13) | ||
@@ -152,3 +152,3 @@ --- | ||
[json5-validation.ts:10](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/json5-validation.ts#L10) | ||
[json5-validation.ts:10](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/json5-validation.ts#L10) | ||
@@ -180,3 +180,3 @@ ## Utilities | ||
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/parseJSON5Document.ts#L28) | ||
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/parseJSON5Document.ts#L28) | ||
@@ -208,2 +208,2 @@ --- | ||
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/14a26f8/src/utils/parseJSON5Document.ts#L14) | ||
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/eb3e09d/src/utils/parseJSON5Document.ts#L14) |
{ | ||
"name": "codemirror-json-schema", | ||
"license": "MIT", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`", | ||
@@ -29,2 +29,3 @@ "contributors": [ | ||
"module": "dist/index.js", | ||
"main": "cjs/index.js", | ||
"files": [ | ||
@@ -39,7 +40,11 @@ "dist", | ||
"import": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"require": "./cjs/index.js", | ||
"default": "./cjs/index.js" | ||
}, | ||
"./json5": { | ||
"import": "./dist/json5.js", | ||
"types": "./dist/json5.d.ts" | ||
"types": "./dist/json5.d.ts", | ||
"require": "./cjs/json5.js", | ||
"default": "./cjs/json5.js" | ||
} | ||
@@ -89,3 +94,3 @@ }, | ||
"dev": "vite ./dev --port 3000", | ||
"build": "pnpm tsc && vite build ./dev --outDir ../public --emptyOutDir", | ||
"build": "pnpm tsc && tsc --module commonjs --target es2017 --outDir cjs && vite build ./dev --outDir ../public --emptyOutDir", | ||
"test": "vitest --dom", | ||
@@ -92,0 +97,0 @@ "test:coverage": "vitest run --dom --coverage ", |
95174
48
1667