io-ts-from-json-schema
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -515,2 +515,5 @@ #!/usr/bin/env node | ||
} | ||
if (schema.type === 'object') { | ||
return [gen.recordCombinator(gen.stringType, gen.unknownType)]; | ||
} | ||
return []; | ||
@@ -517,0 +520,0 @@ } |
{ | ||
"name": "io-ts-from-json-schema", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "Iotsfjs is a static code generation utility used for converting json schema files into static TypeScript types and io-ts runtime validators.", | ||
@@ -42,3 +42,3 @@ "license": "MIT", | ||
"eslint": "^6.8.0", | ||
"eslint-config-maasglobal-ts": "^0.0.10", | ||
"eslint-config-maasglobal-ts": "^0.0.13", | ||
"eslint-config-prettier": "^6.12.0", | ||
@@ -48,3 +48,2 @@ "eslint-plugin-deprecation": "^1.2.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-json": "^2.1.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
@@ -66,3 +65,5 @@ "eslint-plugin-simple-import-sort": "^5.0.3", | ||
"eslint": "eslint --max-warnings=0 '**/*.{ts,js,json}'", | ||
"prettify": "yarn eslint --fix || true", | ||
"eslint-fix": "yarn eslint --fix||true", | ||
"prettier": "prettier --write --ignore-path .gitignore --config node_modules/eslint-config-maasglobal-ts/prettierrc.js '**/*.{css,html,js,ts,json,md,yaml,yml}'", | ||
"prettify": "yarn eslint-fix && yarn prettier", | ||
"lint": "yarn eslint", | ||
@@ -69,0 +70,0 @@ "ci": "yarn typecheck && yarn test && yarn lint && yarn build", |
82657
23
1841