@skriptfabrik/json-schema-bundler 0.4.0 → 0.4.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
@@ -1,9 +1,9 @@
1
+ # JSON Schema Bundler
2
+
1
3
  [![NPM Version](https://img.shields.io/npm/v/@skriptfabrik/json-schema-bundler)](https://www.npmjs.com/package/@skriptfabrik/json-schema-bundler)
2
4
  [![NPM Downloads](https://img.shields.io/npm/dt/@skriptfabrik/json-schema-bundler)](https://www.npmjs.com/package/@skriptfabrik/json-schema-bundler)
3
5
  [![Continuous Integration](https://img.shields.io/github/actions/workflow/status/skriptfabrik/json-schema-bundler/ci.yml)](https://github.com/skriptfabrik/json-schema-bundler/actions/workflows/ci.yml)
4
6
 
5
- # JSON Schema Bundler
6
-
7
7
  > The missing CLI for the [JSON Schema $Ref Parser](https://github.com/APIDevTools/json-schema-ref-parser)
8
8
 
9
9
  ## Installation
@@ -35,6 +35,7 @@ Options:
35
35
  -p, --pretty Pretty print output
36
36
  -s, --silent Silent mode
37
37
  -v, --version Print version number
38
+ -y, --yaml Output as YAML document instead of JSON
38
39
 
39
40
  Examples:
40
41
  Bundle all references in schema.json with internal $ref pointers and print output to stdout:
@@ -32,7 +32,7 @@ if (argv.v) {
32
32
 
33
33
  if (argv.h || argv._.length < 1) {
34
34
  console.error(
35
- `JSON Schema Bundler\n\n${chalk.yellow('Usage:')}\n %s\n\n${chalk.yellow('Arguments:')}\n %s\n\n${chalk.yellow('Options:')}\n %s\n\n${chalk.yellow('Examples:')}\n %s`,
35
+ `JSON Schema Bundler\n\n${chalk.yellow('Usage:')}\n%s\n\n${chalk.yellow('Arguments:')}\n%s\n\n${chalk.yellow('Options:')}\n%s\n\n${chalk.yellow('Examples:')}\n%s`,
36
36
  ` ${path.basename(process.argv[1])} [options] <input>`,
37
37
  ` ${chalk.green('input')} The path of the input schema file`,
38
38
  [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skriptfabrik/json-schema-bundler",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "The missing CLI for the JSON Schema $Ref Parser",
5
5
  "keywords": [
6
6
  "json",
@@ -24,8 +24,8 @@
24
24
  "dependencies": {
25
25
  "@apidevtools/json-schema-ref-parser": "^10.1.0",
26
26
  "chalk": "^5.2.0",
27
- "js-yaml": "~4.0.0",
28
- "minimist": "^1.2.7"
27
+ "js-yaml": "^4.1.0",
28
+ "minimist": "^1.2.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/js-yaml": "~4.0.0"