ts-runtime-validation 1.2.7 → 1.2.8

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/README.md +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -33,12 +33,14 @@ Ensure your project files containing the schemas you want to validate end with t
33
33
  Usage: ts-runtime-validation [options]
34
34
 
35
35
  Options:
36
- --glob Glob file path of typescript files to generate ts-interface -> json-schema validations - default: *.jsonschema.{ts,tsx}
37
- --rootPath <rootFolder> RootPath of source (default: "./src")
38
- --output <outputFolder> Code generation output directory (relative to root path) (default: "./.ts-runtime-validation")
39
- --generate-helpers Only generate JSON schema without typescript helper files (default: true)
40
- --additionalProperties Allow additional properties to pass validation (default: false)
41
- -h, --help display help for command
36
+ --glob Glob file path of typescript files to generate ts-interface -> json-schema validations - default: *.jsonschema.{ts,tsx}
37
+ --rootPath <rootFolder> RootPath of source (default: "./src")
38
+ --output <outputFolder> Code generation output directory (relative to root path) (default: "./.ts-runtime-validation")
39
+ --tsconfigPath <tsconfigPath> Path to customt tsconfig (relative to root path) (default: "")
40
+ --generate-helpers Only generate JSON schema without typescript helper files (default: true)
41
+ --additionalProperties Allow additional properties to pass validation (default: false)
42
+ -h, --help display help for command
43
+ Done in 0.44s.
42
44
  ```
43
45
 
44
46
  ## npm script usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-runtime-validation",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "author": "Matthew Duong <thegalah@gmail.com>",
5
5
  "license": "MIT",
6
6
  "dependencies": {