@kokimoki/kit 1.6.3 → 1.6.4

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.
@@ -165,6 +165,10 @@ function kokimokiKitPlugin(config) {
165
165
  const properties = ctx.jsonSchema.properties;
166
166
  ctx.jsonSchema.required = ctx.jsonSchema.required.filter((field) => !("default" in properties[field]));
167
167
  }
168
+ // Make sure property has description if set in zod schema
169
+ if ("description" in ctx.zodSchema) {
170
+ ctx.jsonSchema.description = ctx.zodSchema.description;
171
+ }
168
172
  },
169
173
  });
170
174
  await promises_1.default.writeFile(".kokimoki/schema.json", JSON.stringify(jsonSchema, null, 2));
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const KOKIMOKI_KIT_VERSION = "1.6.3";
1
+ export declare const KOKIMOKI_KIT_VERSION = "1.6.4";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.KOKIMOKI_KIT_VERSION = void 0;
4
- exports.KOKIMOKI_KIT_VERSION = "1.6.3";
4
+ exports.KOKIMOKI_KIT_VERSION = "1.6.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kokimoki/kit",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",