@kitsra/kavio-schema 0.1.1 → 0.1.2
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/package.json +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitsra/kavio-schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Canonical Kavio JSON Schema, TypeScript types, and validation contract.",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
"!dist/**/*.tsbuildinfo",
|
|
25
25
|
"schema"
|
|
26
26
|
],
|
|
27
|
+
"readme": "# @kitsra/kavio-schema\n\nCanonical JSON Schema, TypeScript types, validation, and migration scaffolding\nfor Kavio compositions.\n\n## Install\n\n```bash\ncorepack pnpm add @kitsra/kavio-schema\n```\n\n## Usage\n\n```ts\nimport { validateComposition } from \"@kitsra/kavio-schema\";\n\nconst result = validateComposition(document);\nif (!result.ok) {\n console.error(result.errors);\n}\n```\n\nThe package also exports the current `schemaVersion`, shared document/layer\ntypes, and the bundled schema at `@kitsra/kavio-schema/schema`.\n\n## Links\n\n- Repository: https://github.com/kitsra/kavio\n- Schema docs: https://github.com/kitsra/kavio/blob/main/docs/schema.md\n- License: Elastic-2.0\n",
|
|
28
|
+
"readmeFilename": "README.md",
|
|
27
29
|
"scripts": {
|
|
28
30
|
"build": "tsc -p tsconfig.json",
|
|
29
31
|
"check": "tsc -p tsconfig.json --noEmit",
|