@sourcemeta/jsonschema 7.2.3 → 7.3.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.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
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
|
+
[](https://github.com/sourcemeta/jsonschema/blob/main/.pre-commit-hooks.yaml)
|
|
7
8
|
|
|
8
9
|
The command-line tool for working with [JSON Schema](https://json-schema.org),
|
|
9
10
|
the world most popular schema language. It is a comprehensive solution for
|
|
@@ -73,6 +74,12 @@ documentation:
|
|
|
73
74
|
|
|
74
75
|
Note that YAML is supported in most commands!
|
|
75
76
|
|
|
77
|
+
We also support a growing amount of [`pre-commit`](https://pre-commit.com)
|
|
78
|
+
hooks. Take a look at the
|
|
79
|
+
[`.pre-commit-hooks.yaml`](https://github.com/sourcemeta/jsonschema/blob/main/.pre-commit-hooks.yaml)
|
|
80
|
+
configuration file for what's available right now. Keep in mind that to use the
|
|
81
|
+
`pre-commit` hooks, you need to install the CLI first.
|
|
82
|
+
|
|
76
83
|
***
|
|
77
84
|
|
|
78
85
|
If you are looking for more of a tutorial and overview of what the CLI is
|
|
@@ -104,7 +111,7 @@ brew install sourcemeta/apps/jsonschema
|
|
|
104
111
|
Where `X.Y.Z` is replaced with the desired version. For example:
|
|
105
112
|
|
|
106
113
|
```yaml
|
|
107
|
-
- uses: sourcemeta/jsonschema@v7.
|
|
114
|
+
- uses: sourcemeta/jsonschema@v7.3.0
|
|
108
115
|
# Then use as usual
|
|
109
116
|
- run: jsonschema fmt path/to/schemas --check
|
|
110
117
|
```
|
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.
|
|
3
|
+
"version": "7.3.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",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|