@sourcemeta/jsonschema 15.10.1 → 16.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 CHANGED
@@ -122,6 +122,16 @@ ontology design, linting, unit testing, CI/CD integration, and more:
122
122
 
123
123
  [![JSON Schema Conference 2024 - Applying software engineering practices to JSON Schemas](https://img.youtube.com/vi/wJ7bK22n3IU/0.jpg)](https://www.youtube.com/watch?v=wJ7bK22n3IU)
124
124
 
125
+ Going Further
126
+ -------------
127
+
128
+ The JSON Schema CLI handles the local development and CI/CD side of schema
129
+ management. For teams that need to publish, discover, and govern schemas across
130
+ an organisation, [Sourcemeta One](https://www.sourcemeta.com) is a self-hosted
131
+ JSON Schema registry that pairs directly with this CLI. It is designed by the
132
+ same team, requires no database, deploys as a single Docker container, and is
133
+ free to deploy.
134
+
125
135
  Installation
126
136
  ------------
127
137
 
@@ -147,7 +157,7 @@ Where `X.Y.Z` is replaced with the desired version. For example:
147
157
  uses: actions/checkout@v4
148
158
 
149
159
  - name: Install the JSON Schema CLI
150
- uses: sourcemeta/jsonschema@v15.10.1
160
+ uses: sourcemeta/jsonschema@v16.0.0
151
161
 
152
162
  # Then use as usual
153
163
  - run: jsonschema fmt path/to/schemas --check
@@ -189,6 +199,17 @@ Keep in mind that it is hard to provide binaries that work across GNU/Linux
189
199
  distributions. We conservatively target Ubuntu and Alpine, but you might need
190
200
  to build from source if your distribution of choice is different.
191
201
 
202
+ > [!NOTE]
203
+ > On GNU/Linux (and other non-macOS, non-Windows platforms), the CLI performs
204
+ > HTTP requests through your system's cURL library, which it loads at runtime.
205
+ > This keeps the binaries distribution-independent and makes them respect your
206
+ > system's TLS trust store. `libcurl` is present on most systems, but if it is
207
+ > missing you can install it through your package manager (for example
208
+ > `apt install libcurl4`, `dnf install libcurl`, or `apk add libcurl`). If it
209
+ > lives in a non-standard location, point the CLI at it by setting the
210
+ > `SOURCEMETA_JSONSCHEMA_CURL_SO` environment variable to the full path of
211
+ > `libcurl.so.4`.
212
+
192
213
  To verify the GPG signature of the checksums file:
193
214
 
194
215
  ```sh
@@ -258,16 +279,6 @@ aggressive processor-specific optimisations cause any issues (we heard of some
258
279
  `Illegal instruction` cases), then configure the project with
259
280
  `-DJSONSCHEMA_PORTABLE:BOOL=ON`.
260
281
 
261
- Going Further
262
- -------------
263
-
264
- The JSON Schema CLI handles the local development and CI/CD side of schema
265
- management. For teams that need to publish, discover, and govern schemas across
266
- an organisation, [Sourcemeta One](https://www.sourcemeta.com) is a self-hosted
267
- JSON Schema registry that pairs directly with this CLI. It is designed by the
268
- same team, requires no database, deploys as a single Docker container, and is
269
- free to deploy.
270
-
271
282
  License
272
283
  -------
273
284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcemeta/jsonschema",
3
- "version": "15.10.1",
3
+ "version": "16.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. By a member of the JSON Schema Technical Steering Committee",
5
5
  "main": "npm/main.js",
6
6
  "exports": {