@kubb/plugin-faker 3.17.1 → 3.18.1
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/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-DYUKPbgH.d.ts → types-B1Xb1ZXg.d.cts} +22 -1
- package/dist/{types-Bh_6SttY.d.cts → types-DsDfBfOk.d.ts} +22 -1
- package/package.json +8 -8
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -235,6 +235,27 @@ type Config<TInput = Input> = {
|
|
|
235
235
|
* @default true
|
|
236
236
|
*/
|
|
237
237
|
write?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Specifies the formatting tool to be used.
|
|
240
|
+
* @default prettier
|
|
241
|
+
*
|
|
242
|
+
* Possible values:
|
|
243
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
244
|
+
* - 'biome': Uses Biome for code formatting.
|
|
245
|
+
*
|
|
246
|
+
*/
|
|
247
|
+
format?: 'prettier' | 'biome' | false;
|
|
248
|
+
/**
|
|
249
|
+
* Specifies the linter that should be used to analyze the code.
|
|
250
|
+
* The accepted values indicate different linting tools.
|
|
251
|
+
*
|
|
252
|
+
* Possible values:
|
|
253
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
254
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
255
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
238
259
|
/**
|
|
239
260
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
240
261
|
* @default { '.ts': '.ts'}
|
|
@@ -1211,4 +1232,4 @@ type ResolvedOptions = {
|
|
|
1211
1232
|
type PluginFaker = PluginFactoryOptions<'plugin-faker', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1212
1233
|
//#endregion
|
|
1213
1234
|
export { Generator, Options$1 as Options, PluginFaker, Schema, UserPluginWithLifeCycle };
|
|
1214
|
-
//# sourceMappingURL=types-
|
|
1235
|
+
//# sourceMappingURL=types-B1Xb1ZXg.d.cts.map
|
|
@@ -235,6 +235,27 @@ type Config<TInput = Input> = {
|
|
|
235
235
|
* @default true
|
|
236
236
|
*/
|
|
237
237
|
write?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Specifies the formatting tool to be used.
|
|
240
|
+
* @default prettier
|
|
241
|
+
*
|
|
242
|
+
* Possible values:
|
|
243
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
244
|
+
* - 'biome': Uses Biome for code formatting.
|
|
245
|
+
*
|
|
246
|
+
*/
|
|
247
|
+
format?: 'prettier' | 'biome' | false;
|
|
248
|
+
/**
|
|
249
|
+
* Specifies the linter that should be used to analyze the code.
|
|
250
|
+
* The accepted values indicate different linting tools.
|
|
251
|
+
*
|
|
252
|
+
* Possible values:
|
|
253
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
254
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
255
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
238
259
|
/**
|
|
239
260
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
240
261
|
* @default { '.ts': '.ts'}
|
|
@@ -1211,4 +1232,4 @@ type ResolvedOptions = {
|
|
|
1211
1232
|
type PluginFaker = PluginFactoryOptions<'plugin-faker', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1212
1233
|
//#endregion
|
|
1213
1234
|
export { Generator, Options$1 as Options, PluginFaker, Schema, UserPluginWithLifeCycle };
|
|
1214
|
-
//# sourceMappingURL=types-
|
|
1235
|
+
//# sourceMappingURL=types-DsDfBfOk.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-faker",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.1",
|
|
4
4
|
"description": "Faker.js data generator plugin for Kubb, creating realistic mock data from OpenAPI specifications for development and testing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"faker",
|
|
@@ -61,17 +61,17 @@
|
|
|
61
61
|
"!/**/__tests__/**"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@kubb/core": "3.
|
|
65
|
-
"@kubb/oas": "3.
|
|
66
|
-
"@kubb/plugin-oas": "3.
|
|
67
|
-
"@kubb/plugin-ts": "3.
|
|
68
|
-
"@kubb/react": "3.
|
|
64
|
+
"@kubb/core": "3.18.1",
|
|
65
|
+
"@kubb/oas": "3.18.1",
|
|
66
|
+
"@kubb/plugin-oas": "3.18.1",
|
|
67
|
+
"@kubb/plugin-ts": "3.18.1",
|
|
68
|
+
"@kubb/react": "3.18.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"tsdown": "^0.14.1",
|
|
72
72
|
"typescript": "^5.9.2",
|
|
73
|
-
"@kubb/config-ts": "3.
|
|
74
|
-
"@kubb/plugin-oas": "3.
|
|
73
|
+
"@kubb/config-ts": "3.18.1",
|
|
74
|
+
"@kubb/plugin-oas": "3.18.1"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@kubb/react": "^3.0.0"
|