@effected/schemastore 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AnnotationCarriers.js +137 -0
- package/CanonicalJson.js +135 -0
- package/CatalogEntry.js +127 -0
- package/DocumentLint.js +201 -0
- package/KeywordFamilies.js +51 -0
- package/LICENSE +21 -0
- package/SchemaFile.js +119 -0
- package/SchemaTarget.js +30 -0
- package/SchemaValidator.js +91 -0
- package/SchemaVersioning.js +153 -0
- package/StoreDocument.js +142 -0
- package/index.d.ts +839 -0
- package/index.js +12 -0
- package/package.json +49 -0
- package/tsdoc-metadata.json +11 -0
package/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { KeywordFamilies } from "./KeywordFamilies.js";
|
|
2
|
+
import { AnnotationCarriers, CarrierDepthExceededError } from "./AnnotationCarriers.js";
|
|
3
|
+
import { CanonicalJson, JsonDepthExceededError, NonJsonValueError } from "./CanonicalJson.js";
|
|
4
|
+
import { InvalidSchemaVersionError, SchemaVersion, SchemaVersioning } from "./SchemaVersioning.js";
|
|
5
|
+
import { CatalogEntry, CatalogLintFinding } from "./CatalogEntry.js";
|
|
6
|
+
import { DocumentLint, DocumentLintFinding } from "./DocumentLint.js";
|
|
7
|
+
import { SchemaFile, SchemaFileNotFoundError, SchemaFileReadError, SchemaFileWriteError } from "./SchemaFile.js";
|
|
8
|
+
import { SchemaTarget } from "./SchemaTarget.js";
|
|
9
|
+
import { SchemaValidator, SchemaValidatorError, ValidationFinding } from "./SchemaValidator.js";
|
|
10
|
+
import { DRAFT_07_META_SCHEMA, SchemaConversionError, StoreDocument } from "./StoreDocument.js";
|
|
11
|
+
|
|
12
|
+
export { AnnotationCarriers, CanonicalJson, CarrierDepthExceededError, CatalogEntry, CatalogLintFinding, DRAFT_07_META_SCHEMA, DocumentLint, DocumentLintFinding, InvalidSchemaVersionError, JsonDepthExceededError, KeywordFamilies, NonJsonValueError, SchemaConversionError, SchemaFile, SchemaFileNotFoundError, SchemaFileReadError, SchemaFileWriteError, SchemaTarget, SchemaValidator, SchemaValidatorError, SchemaVersion, SchemaVersioning, StoreDocument, ValidationFinding };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@effected/schemastore",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Build, version and lint SchemaStore-shaped Draft-07 JSON Schema documents from Effect Schema sources: document assembly, catalog entries, versioned catalogs and canonical JSON serialization.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"schemastore",
|
|
8
|
+
"json-schema",
|
|
9
|
+
"draft-07",
|
|
10
|
+
"catalog",
|
|
11
|
+
"effect",
|
|
12
|
+
"schema",
|
|
13
|
+
"effected"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/spencerbeggs/effected/tree/main/packages/schemastore#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/spencerbeggs/effected/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/spencerbeggs/effected.git",
|
|
22
|
+
"directory": "packages/schemastore"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": {
|
|
26
|
+
"name": "C. Spencer Beggs",
|
|
27
|
+
"email": "spencer@beggs.codes",
|
|
28
|
+
"url": "https://spencerbeg.gs"
|
|
29
|
+
},
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"type": "module",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./index.d.ts",
|
|
35
|
+
"import": "./index.js",
|
|
36
|
+
"default": "./index.js"
|
|
37
|
+
},
|
|
38
|
+
"./package.json": "./package.json"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@effected/semver": "~0.3.0"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"effect": "4.0.0-beta.101"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=24.11.0"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.58.12"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|