@sourcemeta/jsonschema 12.6.0 → 12.7.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 +1 -1
- package/cli.js +6 -2
- package/jsonschema-darwin-arm64 +0 -0
- package/jsonschema-darwin-x86_64 +0 -0
- package/jsonschema-linux-arm64 +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
|
@@ -132,7 +132,7 @@ Where `X.Y.Z` is replaced with the desired version. For example:
|
|
|
132
132
|
uses: actions/checkout@v4
|
|
133
133
|
|
|
134
134
|
- name: Install the JSON Schema CLI
|
|
135
|
-
uses: sourcemeta/jsonschema@v12.
|
|
135
|
+
uses: sourcemeta/jsonschema@v12.7.1
|
|
136
136
|
|
|
137
137
|
# Then use as usual
|
|
138
138
|
- run: jsonschema fmt path/to/schemas --check
|
package/cli.js
CHANGED
|
@@ -20,6 +20,10 @@ if (PLATFORM === 'darwin') {
|
|
|
20
20
|
child_process.spawnSync('/usr/bin/xattr', [ '-c', EXECUTABLE ], { stdio: 'inherit' });
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
const result = child_process.spawnSync(EXECUTABLE,
|
|
24
|
-
|
|
23
|
+
const result = child_process.spawnSync(EXECUTABLE, process.argv.slice(2), {
|
|
24
|
+
stdio: 'inherit',
|
|
25
|
+
// Do not open a command prompt on spawning
|
|
26
|
+
windowsHide: true
|
|
27
|
+
});
|
|
28
|
+
|
|
25
29
|
process.exit(result.status);
|
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": "12.
|
|
3
|
+
"version": "12.7.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": {
|