@sourcemeta/jsonschema 14.20.1 → 15.0.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/README.markdown +14 -2
- package/build/github-releases/jsonschema-darwin-arm64 +0 -0
- package/build/github-releases/jsonschema-darwin-x86_64 +0 -0
- package/build/github-releases/jsonschema-linux-arm64 +0 -0
- package/build/github-releases/jsonschema-linux-x86_64 +0 -0
- package/build/github-releases/jsonschema-linux-x86_64-musl +0 -0
- package/build/github-releases/jsonschema-windows-x86_64.exe +0 -0
- package/package.json +2 -2
package/README.markdown
CHANGED
|
@@ -24,6 +24,9 @@ local development and when running on CI/CD pipelines. For example:
|
|
|
24
24
|
|
|
25
25
|
[**Check out the documentation to learn more**](#usage)
|
|
26
26
|
|
|
27
|
+
Pairs with [Sourcemeta One](https://www.sourcemeta.com) for a complete schema
|
|
28
|
+
registry workflow.
|
|
29
|
+
|
|
27
30
|
***
|
|
28
31
|
|
|
29
32
|
> [!TIP]
|
|
@@ -90,7 +93,6 @@ documentation:
|
|
|
90
93
|
- [`jsonschema lint`](./docs/lint.markdown)
|
|
91
94
|
- [`jsonschema bundle`](./docs/bundle.markdown) (for inlining remote references in a schema)
|
|
92
95
|
- [`jsonschema inspect`](./docs/inspect.markdown) (for debugging references)
|
|
93
|
-
- [`jsonschema canonicalize`](./docs/canonicalize.markdown) (for static analysis)
|
|
94
96
|
- [`jsonschema codegen`](./docs/codegen.markdown) (for generating code from schemas)
|
|
95
97
|
- [`jsonschema encode`](./docs/encode.markdown) (for binary compression)
|
|
96
98
|
- [`jsonschema decode`](./docs/decode.markdown)
|
|
@@ -143,7 +145,7 @@ Where `X.Y.Z` is replaced with the desired version. For example:
|
|
|
143
145
|
uses: actions/checkout@v4
|
|
144
146
|
|
|
145
147
|
- name: Install the JSON Schema CLI
|
|
146
|
-
uses: sourcemeta/jsonschema@
|
|
148
|
+
uses: sourcemeta/jsonschema@v15.0.0
|
|
147
149
|
|
|
148
150
|
# Then use as usual
|
|
149
151
|
- run: jsonschema fmt path/to/schemas --check
|
|
@@ -254,6 +256,16 @@ aggressive processor-specific optimisations cause any issues (we heard of some
|
|
|
254
256
|
`Illegal instruction` cases), then configure the project with
|
|
255
257
|
`-DJSONSCHEMA_PORTABLE:BOOL=ON`.
|
|
256
258
|
|
|
259
|
+
Going Further
|
|
260
|
+
-------------
|
|
261
|
+
|
|
262
|
+
The JSON Schema CLI handles the local development and CI/CD side of schema
|
|
263
|
+
management. For teams that need to publish, discover, and govern schemas across
|
|
264
|
+
an organisation, [Sourcemeta One](https://www.sourcemeta.com) is a self-hosted
|
|
265
|
+
JSON Schema registry that pairs directly with this CLI. It is designed by the
|
|
266
|
+
same team, requires no database, deploys as a single Docker container, and is
|
|
267
|
+
free to deploy.
|
|
268
|
+
|
|
257
269
|
License
|
|
258
270
|
-------
|
|
259
271
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sourcemeta/jsonschema",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines",
|
|
3
|
+
"version": "15.0.0",
|
|
4
|
+
"description": "The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines. By a member of the JSON Schema Technical Steering Committee",
|
|
5
5
|
"main": "npm/main.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./npm/main.js",
|