@kubb/core 2.18.2 → 2.18.3

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/index.d.cts CHANGED
@@ -170,8 +170,8 @@ type UserConfig = Omit<Config, 'root' | 'plugins'> & {
170
170
  root?: string;
171
171
  /**
172
172
  * Plugin type can be KubbJSONPlugin or Plugin
173
- * Example: ['@kubb/swagger', { output: false }]
174
- * Or: pluginSwagger({ output: false })
173
+ * Example: ['@kubb/plugin-oas', { output: false }]
174
+ * Or: pluginOas({ output: false })
175
175
  */
176
176
  plugins?: Array<Omit<UnknownUserPlugin, 'api'> | UnionPlugins | [name: string, options: object]>;
177
177
  };
package/dist/index.d.ts CHANGED
@@ -170,8 +170,8 @@ type UserConfig = Omit<Config, 'root' | 'plugins'> & {
170
170
  root?: string;
171
171
  /**
172
172
  * Plugin type can be KubbJSONPlugin or Plugin
173
- * Example: ['@kubb/swagger', { output: false }]
174
- * Or: pluginSwagger({ output: false })
173
+ * Example: ['@kubb/plugin-oas', { output: false }]
174
+ * Or: pluginOas({ output: false })
175
175
  */
176
176
  plugins?: Array<Omit<UnknownUserPlugin, 'api'> | UnionPlugins | [name: string, options: object]>;
177
177
  };
package/globals.d.ts CHANGED
@@ -28,7 +28,8 @@ declare namespace Kubb {
28
28
  type TupleToUnion<T> = T extends Array<infer ITEMS> ? ITEMS : never
29
29
  }
30
30
  type Plugins = {
31
- ['@kubb/swagger']: import('@kubb/swagger').PluginSwagger
31
+ ['@kubb/plugin-oas']: import('@kubb/plugin-Oas').PluginOas
32
+ ['@kubb/plugin-redoc']: import('@kubb/plugin-redoc').PluginRedoc
32
33
  ['@kubb/swagger-client']: import('@kubb/swagger-client').PluginClient
33
34
  ['@kubb/swagger-faker']: import('@kubb/swagger-faker').PluginFaker
34
35
  ['@kubb/swagger-swr']: import('@kubb/swagger-swr').PluginSwr
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/core",
3
- "version": "2.18.2",
3
+ "version": "2.18.3",
4
4
  "description": "Generator core",
5
5
  "keywords": [
6
6
  "typescript",
@@ -97,8 +97,8 @@
97
97
  "seedrandom": "^3.0.5",
98
98
  "semver": "^7.6.1",
99
99
  "unraw": "^3.0.0",
100
- "@kubb/parser-ts": "2.18.2",
101
- "@kubb/types": "2.18.2"
100
+ "@kubb/parser-ts": "2.18.3",
101
+ "@kubb/types": "2.18.3"
102
102
  },
103
103
  "devDependencies": {
104
104
  "@types/fs-extra": "^11.0.4",
@@ -110,9 +110,9 @@
110
110
  "tinyrainbow": "^1.1.1",
111
111
  "tsup": "^8.0.2",
112
112
  "typescript": "^5.4.5",
113
- "@kubb/config-biome": "2.18.2",
114
- "@kubb/config-ts": "2.18.2",
115
- "@kubb/config-tsup": "2.18.2"
113
+ "@kubb/config-biome": "2.18.3",
114
+ "@kubb/config-ts": "2.18.3",
115
+ "@kubb/config-tsup": "2.18.3"
116
116
  },
117
117
  "engines": {
118
118
  "node": ">=18",
package/src/types.ts CHANGED
@@ -24,8 +24,8 @@ export type UserConfig = Omit<Config, 'root' | 'plugins'> & {
24
24
  root?: string
25
25
  /**
26
26
  * Plugin type can be KubbJSONPlugin or Plugin
27
- * Example: ['@kubb/swagger', { output: false }]
28
- * Or: pluginSwagger({ output: false })
27
+ * Example: ['@kubb/plugin-oas', { output: false }]
28
+ * Or: pluginOas({ output: false })
29
29
  */
30
30
  plugins?: Array<Omit<UnknownUserPlugin, 'api'> | UnionPlugins | [name: string, options: object]>
31
31
  }