@kubb/plugin-faker 5.1.2 → 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 +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/docs/options.md +205 -0
- package/docs/overview.md +41 -0
- package/kubb-extension.json +196 -0
- package/package.json +9 -6
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-faker" 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-faker
|
|
|
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-faker) for configuration options and examples.
|
|
42
42
|
|
|
43
43
|
## Supporting Kubb
|
|
44
44
|
|
package/dist/index.cjs
CHANGED
|
@@ -1497,8 +1497,14 @@ const fakerGenerator = (0, kubb_kit.defineGenerator)({
|
|
|
1497
1497
|
}
|
|
1498
1498
|
});
|
|
1499
1499
|
//#endregion
|
|
1500
|
+
//#region kubb-extension.json
|
|
1501
|
+
var compatibility = {
|
|
1502
|
+
"kubb": ">=5.8.3",
|
|
1503
|
+
"node": ">=22"
|
|
1504
|
+
};
|
|
1505
|
+
//#endregion
|
|
1500
1506
|
//#region package.json
|
|
1501
|
-
var version = "5.1.
|
|
1507
|
+
var version = "5.1.4";
|
|
1502
1508
|
//#endregion
|
|
1503
1509
|
//#region src/resolvers/resolverFaker.ts
|
|
1504
1510
|
/**
|
|
@@ -1553,11 +1559,12 @@ const pluginFakerName = "plugin-faker";
|
|
|
1553
1559
|
* })
|
|
1554
1560
|
* ```
|
|
1555
1561
|
*/
|
|
1556
|
-
const pluginFaker = (0, kubb_kit.
|
|
1562
|
+
const pluginFaker = (0, kubb_kit.defineExtension)({
|
|
1563
|
+
kind: "plugin",
|
|
1557
1564
|
meta: {
|
|
1558
1565
|
name: pluginFakerName,
|
|
1559
1566
|
version,
|
|
1560
|
-
compatibility
|
|
1567
|
+
compatibility
|
|
1561
1568
|
},
|
|
1562
1569
|
dependencies: { [_kubb_plugin_ts.pluginTsName]: {} },
|
|
1563
1570
|
setup(options) {
|