@sourcemeta/jsonschema 9.3.0 → 9.3.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
|
@@ -118,9 +118,15 @@ 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.1
|
|
126
|
+
|
|
122
127
|
# Then use as usual
|
|
123
|
-
-
|
|
128
|
+
- name: Lint Schemas
|
|
129
|
+
run: jsonschema fmt path/to/schemas --check
|
|
124
130
|
```
|
|
125
131
|
|
|
126
132
|
### From NPM
|
|
@@ -150,8 +156,9 @@ from source if your distribution of choice is different.
|
|
|
150
156
|
|
|
151
157
|
### From Dockerfile
|
|
152
158
|
|
|
153
|
-
Starting from v7.2.1, we publish a Docker image to GitHub
|
|
154
|
-
|
|
159
|
+
Starting from v7.2.1, we publish a Docker image to [GitHub
|
|
160
|
+
Packages](https://github.com/sourcemeta/jsonschema/pkgs/container/jsonschema)
|
|
161
|
+
(`amd64` and `arm64`), which you can use as follows:
|
|
155
162
|
|
|
156
163
|
```sh
|
|
157
164
|
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.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": {
|