@kubb/plugin-ts 3.17.1 → 3.18.0
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-BL0qEGbB.d.cts → types-BWn5y2Wo.d.ts} +22 -1
- package/dist/{types-DFDnGwpy.d.ts → types-Bnh-xEll.d.cts} +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
|
@@ -271,6 +271,27 @@ type Config<TInput = Input> = {
|
|
|
271
271
|
* @default true
|
|
272
272
|
*/
|
|
273
273
|
write?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Specifies the formatting tool to be used.
|
|
276
|
+
* @default prettier
|
|
277
|
+
*
|
|
278
|
+
* Possible values:
|
|
279
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
280
|
+
* - 'biome': Uses Biome for code formatting.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
format?: 'prettier' | 'biome' | false;
|
|
284
|
+
/**
|
|
285
|
+
* Specifies the linter that should be used to analyze the code.
|
|
286
|
+
* The accepted values indicate different linting tools.
|
|
287
|
+
*
|
|
288
|
+
* Possible values:
|
|
289
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
290
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
291
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
274
295
|
/**
|
|
275
296
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
276
297
|
* @default { '.ts': '.ts'}
|
|
@@ -1220,4 +1241,4 @@ type ResolvedOptions = {
|
|
|
1220
1241
|
type PluginTs = PluginFactoryOptions<'plugin-ts', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1221
1242
|
//#endregion
|
|
1222
1243
|
export { Generator, type OasTypes, Options$1 as Options, PluginTs, Schema, SchemaObject$1 as SchemaObject, UserPluginWithLifeCycle };
|
|
1223
|
-
//# sourceMappingURL=types-
|
|
1244
|
+
//# sourceMappingURL=types-BWn5y2Wo.d.ts.map
|
|
@@ -271,6 +271,27 @@ type Config<TInput = Input> = {
|
|
|
271
271
|
* @default true
|
|
272
272
|
*/
|
|
273
273
|
write?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Specifies the formatting tool to be used.
|
|
276
|
+
* @default prettier
|
|
277
|
+
*
|
|
278
|
+
* Possible values:
|
|
279
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
280
|
+
* - 'biome': Uses Biome for code formatting.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
format?: 'prettier' | 'biome' | false;
|
|
284
|
+
/**
|
|
285
|
+
* Specifies the linter that should be used to analyze the code.
|
|
286
|
+
* The accepted values indicate different linting tools.
|
|
287
|
+
*
|
|
288
|
+
* Possible values:
|
|
289
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
290
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
291
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
274
295
|
/**
|
|
275
296
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
276
297
|
* @default { '.ts': '.ts'}
|
|
@@ -1220,4 +1241,4 @@ type ResolvedOptions = {
|
|
|
1220
1241
|
type PluginTs = PluginFactoryOptions<'plugin-ts', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1221
1242
|
//#endregion
|
|
1222
1243
|
export { Generator, type OasTypes, Options$1 as Options, PluginTs, Schema, SchemaObject$1 as SchemaObject, UserPluginWithLifeCycle };
|
|
1223
|
-
//# sourceMappingURL=types-
|
|
1244
|
+
//# sourceMappingURL=types-Bnh-xEll.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-ts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
"!/**/__tests__/**"
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@kubb/core": "3.
|
|
61
|
-
"@kubb/oas": "3.
|
|
62
|
-
"@kubb/parser-ts": "3.
|
|
63
|
-
"@kubb/plugin-oas": "3.
|
|
64
|
-
"@kubb/react": "3.
|
|
60
|
+
"@kubb/core": "3.18.0",
|
|
61
|
+
"@kubb/oas": "3.18.0",
|
|
62
|
+
"@kubb/parser-ts": "3.18.0",
|
|
63
|
+
"@kubb/plugin-oas": "3.18.0",
|
|
64
|
+
"@kubb/react": "3.18.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/react": "^18.3.23",
|
|
68
68
|
"react": "^18.3.1",
|
|
69
69
|
"tsdown": "^0.14.1",
|
|
70
70
|
"typescript": "^5.9.2",
|
|
71
|
-
"@kubb/config-ts": "3.
|
|
72
|
-
"@kubb/plugin-oas": "3.
|
|
71
|
+
"@kubb/config-ts": "3.18.0",
|
|
72
|
+
"@kubb/plugin-oas": "3.18.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@kubb/react": "^3.0.0"
|