@kubb/plugin-ts 4.20.2 → 4.20.5

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/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "@kubb/plugin-ts",
3
- "version": "4.20.2",
3
+ "version": "4.20.5",
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",
7
7
  "types",
8
+ "type-generation",
8
9
  "interfaces",
10
+ "type-definitions",
11
+ "type-safe",
9
12
  "openapi",
10
13
  "swagger",
14
+ "oas",
11
15
  "code-generator",
12
16
  "codegen",
13
17
  "plugins",
@@ -64,17 +68,17 @@
64
68
  }
65
69
  ],
66
70
  "dependencies": {
67
- "@kubb/fabric-core": "0.12.7",
68
- "@kubb/react-fabric": "0.12.7",
71
+ "@kubb/fabric-core": "0.12.10",
72
+ "@kubb/react-fabric": "0.12.10",
69
73
  "natural-orderby": "^5.0.0",
70
- "remeda": "^2.33.4",
74
+ "remeda": "^2.33.5",
71
75
  "typescript": "5.9.3",
72
- "@kubb/core": "4.20.2",
73
- "@kubb/oas": "4.20.2",
74
- "@kubb/plugin-oas": "4.20.2"
76
+ "@kubb/core": "4.20.5",
77
+ "@kubb/oas": "4.20.5",
78
+ "@kubb/plugin-oas": "4.20.5"
75
79
  },
76
80
  "peerDependencies": {
77
- "@kubb/react-fabric": "0.12.7",
81
+ "@kubb/react-fabric": "0.12.10",
78
82
  "typescript": ">=5.9.0"
79
83
  },
80
84
  "engines": {
@@ -166,7 +166,7 @@ export function Type({
166
166
  enums.map(({ name, nameNode, typeName, typeNode }) => (
167
167
  <>
168
168
  {nameNode && (
169
- <File.Source name={name} isExportable isIndexable>
169
+ <File.Source name={name} isExportable isIndexable isTypeOnly={false}>
170
170
  {safePrint(nameNode)}
171
171
  </File.Source>
172
172
  )}