@sourcemeta/jsonschema 10.0.0 → 11.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.md
CHANGED
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
[](https://github.com/sourcemeta/jsonschema/releases)
|
|
4
4
|
[](https://www.npmjs.com/package/@sourcemeta/jsonschema)
|
|
5
5
|
[](https://www.npmjs.com/package/@sourcemeta/jsonschema)
|
|
6
|
+
[](https://pypi.org/project/sourcemeta-jsonschema)
|
|
6
7
|
[](https://github.com/sourcemeta/jsonschema/actions)
|
|
7
8
|
[](https://github.com/sourcemeta/jsonschema/graphs/contributors/)
|
|
8
9
|
[](https://github.com/sourcemeta/jsonschema/blob/main/.pre-commit-hooks.yaml)
|
|
9
10
|
|
|
11
|
+
[](https://snapcraft.io/jsonschema)
|
|
12
|
+
|
|
10
13
|
The command-line tool for working with [JSON Schema](https://json-schema.org),
|
|
11
14
|
the world most popular schema language. It is a comprehensive solution for
|
|
12
15
|
maintaining **repositories of schemas** and ensuring their quality, both during
|
|
@@ -123,18 +126,30 @@ Where `X.Y.Z` is replaced with the desired version. For example:
|
|
|
123
126
|
uses: actions/checkout@v4
|
|
124
127
|
|
|
125
128
|
- name: Install the JSON Schema CLI
|
|
126
|
-
uses: sourcemeta/jsonschema@
|
|
129
|
+
uses: sourcemeta/jsonschema@v11.0.0
|
|
127
130
|
|
|
128
131
|
# Then use as usual
|
|
129
132
|
- run: jsonschema fmt path/to/schemas --check
|
|
130
133
|
```
|
|
131
134
|
|
|
132
|
-
### From
|
|
135
|
+
### From npm
|
|
133
136
|
|
|
134
137
|
```sh
|
|
135
138
|
npm install --global @sourcemeta/jsonschema
|
|
136
139
|
```
|
|
137
140
|
|
|
141
|
+
### From PyPI
|
|
142
|
+
|
|
143
|
+
```sh
|
|
144
|
+
pip install sourcemeta-jsonschema
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### From mise
|
|
148
|
+
|
|
149
|
+
```sh
|
|
150
|
+
mise use jsonschema
|
|
151
|
+
```
|
|
152
|
+
|
|
138
153
|
### From GitHub Releases
|
|
139
154
|
|
|
140
155
|
We publish precompiled binaries for every supported platform to [GitHub
|
|
@@ -183,15 +198,15 @@ Replace `vX.Y.Z` with your desired version. You can mount any directory as `/wor
|
|
|
183
198
|
|
|
184
199
|
### From Snap
|
|
185
200
|
|
|
186
|
-
Starting from
|
|
187
|
-
Releases](https://github.com/sourcemeta/jsonschema/releases/tag/v9.4.0)
|
|
188
|
-
(`amd64` and `arm64`) which you can manually install as follows:
|
|
201
|
+
Starting from v10.0.0, we publish to the Snap store:
|
|
189
202
|
|
|
190
203
|
```sh
|
|
191
|
-
sudo snap install
|
|
204
|
+
sudo snap install jsonschema
|
|
192
205
|
```
|
|
193
206
|
|
|
194
|
-
|
|
207
|
+
Keep in mind that due to [Snap
|
|
208
|
+
confinement](https://snapcraft.io/docs/snap-confinement) requirements, the Snap
|
|
209
|
+
is only able to access files under your `$HOME` directory.
|
|
195
210
|
|
|
196
211
|
### Building from source
|
|
197
212
|
|
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": "
|
|
3
|
+
"version": "11.0.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": {
|