@sourcemeta/jsonschema 7.2.2 → 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
  [![NPM Version](https://img.shields.io/npm/v/@sourcemeta/jsonschema)](https://www.npmjs.com/package/@sourcemeta/jsonschema)
5
5
  [![GitHub Actions](https://github.com/sourcemeta/jsonschema/actions/workflows/test.yml/badge.svg)](https://github.com/sourcemeta/jsonschema/actions)
6
6
  [![GitHub contributors](https://img.shields.io/github/contributors/sourcemeta/jsonschema.svg)](https://github.com/sourcemeta/jsonschema/graphs/contributors/)
7
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](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.2.2
114
+ - uses: sourcemeta/jsonschema@v7.3.0
108
115
  # Then use as usual
109
116
  - run: jsonschema fmt path/to/schemas --check
110
117
  ```
@@ -131,8 +138,8 @@ latest pre-built binaries, which you can run as follows:
131
138
 
132
139
  ### From Dockerfile
133
140
 
134
- Starting from v7.2.1, we publish a Docker image to GitHub Packages, which you
135
- can use as follows:
141
+ Starting from v7.2.1, we publish a Docker image to GitHub Packages (`amd64` and
142
+ `arm64`), which you can use as follows:
136
143
 
137
144
  ```sh
138
145
  docker run --interactive --volume "$PWD:/workspace" \
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcemeta/jsonschema",
3
- "version": "7.2.2",
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": {