quicktype 23.0.72 → 23.0.74

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -6
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -279,7 +279,7 @@ function makeOptionDefinitions(targetLanguages) {
279
279
  name: "lang",
280
280
  alias: "l",
281
281
  type: String,
282
- typeLabel: makeLangTypeLabel(targetLanguages),
282
+ typeLabel: "LANG",
283
283
  description: "The target language."
284
284
  }
285
285
  ];
@@ -289,7 +289,7 @@ function makeOptionDefinitions(targetLanguages) {
289
289
  alias: "s",
290
290
  type: String,
291
291
  defaultValue: undefined,
292
- typeLabel: "json|schema|graphql|postman|typescript",
292
+ typeLabel: "SRC_LANG",
293
293
  description: "The source language (default is json)."
294
294
  },
295
295
  {
@@ -405,10 +405,11 @@ const tableOptionsForOptions = {
405
405
  columns: [
406
406
  {
407
407
  name: "option",
408
- width: 50
408
+ width: 60
409
409
  },
410
410
  {
411
- name: "description"
411
+ name: "description",
412
+ width: 60
412
413
  }
413
414
  ]
414
415
  };
@@ -418,9 +419,11 @@ function makeSectionsBeforeRenderers(targetLanguages) {
418
419
  {
419
420
  header: "Synopsis",
420
421
  content: [
421
- `$ quicktype [${chalk_1.default.bold("--lang")} LANG] [${chalk_1.default.bold("--out")} FILE] FILE|URL ...`,
422
+ `$ quicktype [${chalk_1.default.bold("--lang")} LANG] [${chalk_1.default.bold("--src-lang")} SRC_LANG] [${chalk_1.default.bold("--out")} FILE] FILE|URL ...`,
422
423
  "",
423
- ` LANG ... ${makeLangTypeLabel(targetLanguages)}`
424
+ ` LANG ... ${makeLangTypeLabel(targetLanguages)}`,
425
+ "",
426
+ "SRC_LANG ... json|schema|graphql|postman|typescript"
424
427
  ]
425
428
  },
426
429
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype",
3
- "version": "23.0.72",
3
+ "version": "23.0.74",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,9 +31,9 @@
31
31
  "graphql": "^0.11.7",
32
32
  "lodash": "^4.17.21",
33
33
  "moment": "^2.29.4",
34
- "quicktype-core": "23.0.72",
35
- "quicktype-graphql-input": "23.0.72",
36
- "quicktype-typescript-input": "23.0.72",
34
+ "quicktype-core": "23.0.74",
35
+ "quicktype-graphql-input": "23.0.74",
36
+ "quicktype-typescript-input": "23.0.74",
37
37
  "readable-stream": "^4.4.2",
38
38
  "stream-json": "1.8.0",
39
39
  "string-to-stream": "^3.0.1",
@@ -44,7 +44,7 @@
44
44
  "@types/command-line-args": "^5.2.0",
45
45
  "@types/command-line-usage": "^5.0.2",
46
46
  "@types/graphql": "^0.11.7",
47
- "@types/lodash": "^4.14.196",
47
+ "@types/lodash": "^4.14.197",
48
48
  "@types/semver": "^7.5.0",
49
49
  "@types/shelljs": "^0.8.12",
50
50
  "@types/stream-json": "^1.7.3",