@sourcemeta/jsonschema 9.4.0 → 9.6.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.md
CHANGED
|
@@ -71,6 +71,7 @@ documentation:
|
|
|
71
71
|
- [`jsonschema version`](./docs/version.markdown)
|
|
72
72
|
- [`jsonschema validate`](./docs/validate.markdown)
|
|
73
73
|
- [`jsonschema metaschema`](./docs/metaschema.markdown) (ensure a schema is valid)
|
|
74
|
+
- [`jsonschema compile`](./docs/compile.markdown) (for pre-compiling schemas)
|
|
74
75
|
- [`jsonschema test`](./docs/test.markdown) (write unit tests for your schemas)
|
|
75
76
|
- [`jsonschema fmt`](./docs/format.markdown)
|
|
76
77
|
- [`jsonschema lint`](./docs/lint.markdown)
|
|
@@ -122,7 +123,7 @@ Where `X.Y.Z` is replaced with the desired version. For example:
|
|
|
122
123
|
uses: actions/checkout@v4
|
|
123
124
|
|
|
124
125
|
- name: Install the JSON Schema CLI
|
|
125
|
-
uses: sourcemeta/jsonschema@v9.
|
|
126
|
+
uses: sourcemeta/jsonschema@v9.6.0
|
|
126
127
|
|
|
127
128
|
# Then use as usual
|
|
128
129
|
- run: jsonschema fmt path/to/schemas --check
|
|
@@ -180,6 +181,18 @@ Replace `vX.Y.Z` with your desired version. You can mount any directory as `/wor
|
|
|
180
181
|
> formatting. Plus a TTY is not required for running a tool like the JSON
|
|
181
182
|
> Schema CLI.
|
|
182
183
|
|
|
184
|
+
### From Snap
|
|
185
|
+
|
|
186
|
+
Starting from v9.4.0, we publish Ubuntu Snaps to [GitHub
|
|
187
|
+
Releases](https://github.com/sourcemeta/jsonschema/releases/tag/v9.4.0)
|
|
188
|
+
(`amd64` and `arm64`) which you can manually install as follows:
|
|
189
|
+
|
|
190
|
+
```sh
|
|
191
|
+
sudo snap install --dangerous --classic jsonschema_<version>_<arch>.snap
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
We are currently exploring publishing these Snaps to the Snap store.
|
|
195
|
+
|
|
183
196
|
### Building from source
|
|
184
197
|
|
|
185
198
|
```sh
|
package/jsonschema-darwin-arm64
CHANGED
|
Binary file
|
package/jsonschema-darwin-x86_64
CHANGED
|
Binary file
|
package/jsonschema-linux-arm64
CHANGED
|
Binary file
|
package/jsonschema-linux-x86_64
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sourcemeta/jsonschema",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"description": "The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|