@kubb/plugin-faker 5.1.3 → 5.1.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.
- package/README.md +2 -2
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/docs/options.md +205 -0
- package/{OVERVIEW.md → docs/overview.md} +24 -1
- package/kubb-extension.json +9 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./rolldown-runtime-C0LytTxp.js";
|
|
2
2
|
import { posix } from "node:path";
|
|
3
|
-
import { Resolver, addGenerator, ast, containsCircularRef, createResolver,
|
|
3
|
+
import { Resolver, addGenerator, ast, containsCircularRef, createResolver, defineExtension, defineGenerator, setMacros, setResolver } from "kubb/kit";
|
|
4
4
|
import { buildParams, createFunctionParameter, createFunctionParameters, functionPrinter, pluginTsName } from "@kubb/plugin-ts";
|
|
5
5
|
import { File, Function, jsxRenderer } from "kubb/jsx";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "kubb/jsx/jsx-runtime";
|
|
@@ -1495,12 +1495,12 @@ const fakerGenerator = defineGenerator({
|
|
|
1495
1495
|
//#endregion
|
|
1496
1496
|
//#region kubb-extension.json
|
|
1497
1497
|
var compatibility = {
|
|
1498
|
-
"kubb": ">=5.8.
|
|
1498
|
+
"kubb": ">=5.8.3",
|
|
1499
1499
|
"node": ">=22"
|
|
1500
1500
|
};
|
|
1501
1501
|
//#endregion
|
|
1502
1502
|
//#region package.json
|
|
1503
|
-
var version = "5.1.
|
|
1503
|
+
var version = "5.1.4";
|
|
1504
1504
|
//#endregion
|
|
1505
1505
|
//#region src/resolvers/resolverFaker.ts
|
|
1506
1506
|
/**
|
|
@@ -1555,7 +1555,8 @@ const pluginFakerName = "plugin-faker";
|
|
|
1555
1555
|
* })
|
|
1556
1556
|
* ```
|
|
1557
1557
|
*/
|
|
1558
|
-
const pluginFaker =
|
|
1558
|
+
const pluginFaker = defineExtension({
|
|
1559
|
+
kind: "plugin",
|
|
1559
1560
|
meta: {
|
|
1560
1561
|
name: pluginFakerName,
|
|
1561
1562
|
version,
|