@sourcemeta/jsonschema 7.2.0 → 7.2.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 +7 -36
- package/jsonschema-darwin-arm64 +0 -0
- package/jsonschema-darwin-x86_64 +0 -0
- package/jsonschema-linux-x86_64 +0 -0
- package/jsonschema-windows-x86_64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@sourcemeta/jsonschema)
|
|
4
3
|
[](https://github.com/sourcemeta/jsonschema/releases)
|
|
4
|
+
[](https://www.npmjs.com/package/@sourcemeta/jsonschema)
|
|
5
5
|
[](https://github.com/sourcemeta/jsonschema/actions)
|
|
6
6
|
[](https://github.com/sourcemeta/jsonschema/graphs/contributors/)
|
|
7
7
|
|
|
@@ -104,7 +104,7 @@ brew install sourcemeta/apps/jsonschema
|
|
|
104
104
|
Where `X.Y.Z` is replaced with the desired version. For example:
|
|
105
105
|
|
|
106
106
|
```yaml
|
|
107
|
-
- uses: sourcemeta/jsonschema@v7.2.
|
|
107
|
+
- uses: sourcemeta/jsonschema@v7.2.2
|
|
108
108
|
# Then use as usual
|
|
109
109
|
- run: jsonschema fmt path/to/schemas --check
|
|
110
110
|
```
|
|
@@ -131,22 +131,15 @@ latest pre-built binaries, which you can run as follows:
|
|
|
131
131
|
|
|
132
132
|
### From Dockerfile
|
|
133
133
|
|
|
134
|
-
|
|
135
|
-
as follows:
|
|
134
|
+
Starting from v7.2.1, we publish a Docker image to GitHub Packages, which you
|
|
135
|
+
can use as follows:
|
|
136
136
|
|
|
137
137
|
```sh
|
|
138
|
-
docker
|
|
138
|
+
docker run --interactive --volume "$PWD:/workspace" \
|
|
139
|
+
ghcr.io/sourcemeta/jsonschema:vX.Y.Z lint --verbose myschema.json
|
|
139
140
|
```
|
|
140
141
|
|
|
141
|
-
|
|
142
|
-
`/workspace` as follows:
|
|
143
|
-
|
|
144
|
-
```sh
|
|
145
|
-
docker run --interactive --volume "$PWD:/workspace" jsonschema lint --verbose myschema.json
|
|
146
|
-
|
|
147
|
-
# You can optionally add this to your .alias (or similar) file:
|
|
148
|
-
# alias jsonschema="docker run --interactive --volume \"$PWD:/workspace\" jsonschema"
|
|
149
|
-
```
|
|
142
|
+
Replace `vX.Y.Z` with your desired version. You can mount any directory as `/workspace`.
|
|
150
143
|
|
|
151
144
|
> [!WARNING]
|
|
152
145
|
> Make sure to NOT allocate a pseudo-TTY when running the CLI through Docker
|
|
@@ -168,25 +161,3 @@ cmake --install ./build --prefix <prefix> \
|
|
|
168
161
|
|
|
169
162
|
Where `<prefix>` can be any destination prefix of your choosing, such as `/opt`
|
|
170
163
|
or `/usr/local`.
|
|
171
|
-
|
|
172
|
-
Coming Soon
|
|
173
|
-
-----------
|
|
174
|
-
|
|
175
|
-
This project is under heavy development, and we have a lot of cool things in
|
|
176
|
-
the oven. In the mean-time, star the project to show your support!
|
|
177
|
-
|
|
178
|
-
| Feature | Description | Status |
|
|
179
|
-
|-----------------------|-----------------------------------------------------|-------------|
|
|
180
|
-
| Upgrading/Downgrading | Convert a JSON Schema into a later or older dialect | Not started |
|
|
181
|
-
|
|
182
|
-
Contributors
|
|
183
|
-
------------
|
|
184
|
-
|
|
185
|
-
<a href="https://github.com/sourcemeta/jsonschema/graphs/contributors">
|
|
186
|
-
<img src="https://contrib.rocks/image?repo=sourcemeta/jsonschema" />
|
|
187
|
-
</a>
|
|
188
|
-
|
|
189
|
-
License
|
|
190
|
-
-------
|
|
191
|
-
|
|
192
|
-
This project is governed by the [AGPL-3.0](./LICENSE) copyleft license.
|
package/jsonschema-darwin-arm64
CHANGED
|
Binary file
|
package/jsonschema-darwin-x86_64
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": "7.2.
|
|
3
|
+
"version": "7.2.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": {
|