@sourcemeta/jsonschema 10.0.0 → 11.0.1

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
  [![GitHub Release](https://img.shields.io/github/v/release/sourcemeta/jsonschema)](https://github.com/sourcemeta/jsonschema/releases)
4
4
  [![NPM Version](https://img.shields.io/npm/v/@sourcemeta/jsonschema)](https://www.npmjs.com/package/@sourcemeta/jsonschema)
5
5
  [![NPM Downloads](https://img.shields.io/npm/dm/%40sourcemeta%2Fjsonschema)](https://www.npmjs.com/package/@sourcemeta/jsonschema)
6
+ [![PyPI Version](https://img.shields.io/pypi/v/sourcemeta-jsonschema.svg)](https://pypi.org/project/sourcemeta-jsonschema)
6
7
  [![GitHub Actions](https://github.com/sourcemeta/jsonschema/actions/workflows/test.yml/badge.svg)](https://github.com/sourcemeta/jsonschema/actions)
7
8
  [![GitHub contributors](https://img.shields.io/github/contributors/sourcemeta/jsonschema.svg)](https://github.com/sourcemeta/jsonschema/graphs/contributors/)
8
9
  [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/sourcemeta/jsonschema/blob/main/.pre-commit-hooks.yaml)
9
10
 
11
+ [![Get it from the Snap Store](https://snapcraft.io/en/light/install.svg)](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@v10.0.0
129
+ uses: sourcemeta/jsonschema@v11.0.1
127
130
 
128
131
  # Then use as usual
129
132
  - run: jsonschema fmt path/to/schemas --check
130
133
  ```
131
134
 
132
- ### From NPM
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 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:
201
+ Starting from v10.0.0, we publish to the Snap store:
189
202
 
190
203
  ```sh
191
- sudo snap install --dangerous --classic jsonschema_<version>_<arch>.snap
204
+ sudo snap install jsonschema
192
205
  ```
193
206
 
194
- We are currently exploring publishing these Snaps to the Snap store.
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
 
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcemeta/jsonschema",
3
- "version": "10.0.0",
3
+ "version": "11.0.1",
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": {