@kubb/plugin-zod 5.4.5 → 5.4.7
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 +2 -2
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/docs/guides/customization.md +148 -0
- package/docs/options.md +273 -0
- package/docs/overview.md +40 -0
- package/kubb-extension.json +210 -0
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[![Node][node-src]][node-href]
|
|
11
11
|
|
|
12
12
|
<h4>
|
|
13
|
-
<a href="https://kubb.dev/
|
|
13
|
+
<a href="https://kubb.dev/extensions/kubb-labs/plugin-zod" target="_blank">Documentation</a>
|
|
14
14
|
<span> · </span>
|
|
15
15
|
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
|
|
16
16
|
<span> · </span>
|
|
@@ -38,7 +38,7 @@ npm install @kubb/plugin-zod
|
|
|
38
38
|
|
|
39
39
|
## Documentation
|
|
40
40
|
|
|
41
|
-
See the [full documentation](https://kubb.dev/
|
|
41
|
+
See the [full documentation](https://kubb.dev/extensions/kubb-labs/plugin-zod) for configuration options and examples.
|
|
42
42
|
|
|
43
43
|
## Supporting Kubb
|
|
44
44
|
|
package/dist/index.cjs
CHANGED
|
@@ -2229,8 +2229,14 @@ const zodGenerator = (0, kubb_kit.defineGenerator)({
|
|
|
2229
2229
|
}
|
|
2230
2230
|
});
|
|
2231
2231
|
//#endregion
|
|
2232
|
+
//#region kubb-extension.json
|
|
2233
|
+
var compatibility = {
|
|
2234
|
+
"kubb": ">=5.8.3",
|
|
2235
|
+
"node": ">=22"
|
|
2236
|
+
};
|
|
2237
|
+
//#endregion
|
|
2232
2238
|
//#region package.json
|
|
2233
|
-
var version = "5.4.
|
|
2239
|
+
var version = "5.4.7";
|
|
2234
2240
|
//#endregion
|
|
2235
2241
|
//#region src/resolvers/resolverZod.ts
|
|
2236
2242
|
/**
|
|
@@ -2318,11 +2324,12 @@ const pluginZodName = "plugin-zod";
|
|
|
2318
2324
|
* })
|
|
2319
2325
|
* ```
|
|
2320
2326
|
*/
|
|
2321
|
-
const pluginZod = (0, kubb_kit.
|
|
2327
|
+
const pluginZod = (0, kubb_kit.defineExtension)({
|
|
2328
|
+
kind: "plugin",
|
|
2322
2329
|
meta: {
|
|
2323
2330
|
name: pluginZodName,
|
|
2324
2331
|
version,
|
|
2325
|
-
compatibility
|
|
2332
|
+
compatibility
|
|
2326
2333
|
},
|
|
2327
2334
|
setup(options) {
|
|
2328
2335
|
const { output = {
|