@sourcemeta/jsonschema 9.3.0 → 9.3.2
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
|
@@ -118,7 +118,12 @@ brew install sourcemeta/apps/jsonschema
|
|
|
118
118
|
Where `X.Y.Z` is replaced with the desired version. For example:
|
|
119
119
|
|
|
120
120
|
```yaml
|
|
121
|
-
-
|
|
121
|
+
- name: Checkout Repository
|
|
122
|
+
uses: actions/checkout@v4
|
|
123
|
+
|
|
124
|
+
- name: Install the JSON Schema CLI
|
|
125
|
+
uses: sourcemeta/jsonschema@v9.3.2
|
|
126
|
+
|
|
122
127
|
# Then use as usual
|
|
123
128
|
- run: jsonschema fmt path/to/schemas --check
|
|
124
129
|
```
|
|
@@ -150,8 +155,9 @@ from source if your distribution of choice is different.
|
|
|
150
155
|
|
|
151
156
|
### From Dockerfile
|
|
152
157
|
|
|
153
|
-
Starting from v7.2.1, we publish a Docker image to GitHub
|
|
154
|
-
|
|
158
|
+
Starting from v7.2.1, we publish a Docker image to [GitHub
|
|
159
|
+
Packages](https://github.com/sourcemeta/jsonschema/pkgs/container/jsonschema)
|
|
160
|
+
(`amd64` and `arm64`), which you can use as follows:
|
|
155
161
|
|
|
156
162
|
```sh
|
|
157
163
|
docker run --interactive --volume "$PWD:/workspace" \
|
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.
|
|
3
|
+
"version": "9.3.2",
|
|
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": {
|