kubb 5.26.0 → 5.27.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/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["createCoreKubb","defineConfig"],"sources":["../src/createKubb.ts"],"sourcesContent":["import { createKubb as createCoreKubb, type
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["createCoreKubb","defineConfig"],"sources":["../src/createKubb.ts"],"sourcesContent":["import { createKubb as createCoreKubb, type KubbOptions, type Kubb, type UserConfig } from '@kubb/core'\nimport { defineConfig } from './defineConfig.ts'\n\n/**\n * Creates a Kubb instance with the same defaults as `defineConfig`.\n */\nexport function createKubb(userConfig: UserConfig, options?: KubbOptions): Kubb {\n return createCoreKubb(defineConfig(userConfig), options)\n}\n"],"mappings":";;;;;;;AAMA,SAAgB,WAAW,YAAwB,SAA6B;CAC9E,QAAA,GAAOA,WAAAA,WAAAA,CAAeC,qBAAAA,aAAa,UAAU,GAAG,OAAO;AACzD"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BuildOutput, Config, CreateKubbOptions,
|
|
1
|
+
import { BuildOutput, Config, CreateKubbOptions, Kubb, Kubb as Kubb$1, KubbOptions, KubbOptions as KubbOptions$1, UserConfig, UserConfig as UserConfig$1 } from "@kubb/core";
|
|
2
2
|
import { BarrelType } from "@kubb/plugin-barrel";
|
|
3
3
|
import { t as defineConfig } from "./defineConfig-BaD4Rwdn.cjs";
|
|
4
4
|
/**
|
|
5
5
|
* Creates a Kubb instance with the same defaults as `defineConfig`.
|
|
6
6
|
*/
|
|
7
|
-
export declare function createKubb(userConfig: UserConfig$1, options?:
|
|
8
|
-
export { type BarrelType, type BuildOutput, type Config, type CreateKubbOptions, type Kubb, type UserConfig, defineConfig };
|
|
7
|
+
export declare function createKubb(userConfig: UserConfig$1, options?: KubbOptions$1): Kubb$1;
|
|
8
|
+
export { type BarrelType, type BuildOutput, type Config, type CreateKubbOptions, type Kubb, type KubbOptions, type UserConfig, defineConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BuildOutput, Config, CreateKubbOptions,
|
|
1
|
+
import { BuildOutput, Config, CreateKubbOptions, Kubb, Kubb as Kubb$1, KubbOptions, KubbOptions as KubbOptions$1, UserConfig, UserConfig as UserConfig$1 } from "@kubb/core";
|
|
2
2
|
import { BarrelType } from "@kubb/plugin-barrel";
|
|
3
3
|
import { t as defineConfig } from "./defineConfig-BaE5GaMK.js";
|
|
4
4
|
/**
|
|
5
5
|
* Creates a Kubb instance with the same defaults as `defineConfig`.
|
|
6
6
|
*/
|
|
7
|
-
export declare function createKubb(userConfig: UserConfig$1, options?:
|
|
8
|
-
export { type BarrelType, type BuildOutput, type Config, type CreateKubbOptions, type Kubb, type UserConfig, defineConfig };
|
|
7
|
+
export declare function createKubb(userConfig: UserConfig$1, options?: KubbOptions$1): Kubb$1;
|
|
8
|
+
export { type BarrelType, type BuildOutput, type Config, type CreateKubbOptions, type Kubb, type KubbOptions, type UserConfig, defineConfig };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["createCoreKubb"],"sources":["../src/createKubb.ts"],"sourcesContent":["import { createKubb as createCoreKubb, type
|
|
1
|
+
{"version":3,"file":"index.js","names":["createCoreKubb"],"sources":["../src/createKubb.ts"],"sourcesContent":["import { createKubb as createCoreKubb, type KubbOptions, type Kubb, type UserConfig } from '@kubb/core'\nimport { defineConfig } from './defineConfig.ts'\n\n/**\n * Creates a Kubb instance with the same defaults as `defineConfig`.\n */\nexport function createKubb(userConfig: UserConfig, options?: KubbOptions): Kubb {\n return createCoreKubb(defineConfig(userConfig), options)\n}\n"],"mappings":";;;;;;AAMA,SAAgB,WAAW,YAAwB,SAA6B;CAC9E,OAAOA,aAAe,aAAa,UAAU,GAAG,OAAO;AACzD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kubb",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.27.1",
|
|
4
4
|
"description": "Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -164,18 +164,18 @@
|
|
|
164
164
|
"registry": "https://registry.npmjs.org/"
|
|
165
165
|
},
|
|
166
166
|
"dependencies": {
|
|
167
|
-
"@kubb/adapter-oas": "5.
|
|
168
|
-
"@kubb/ast": "5.
|
|
169
|
-
"@kubb/cli": "5.
|
|
170
|
-
"@kubb/core": "5.
|
|
171
|
-
"@kubb/kit": "5.
|
|
172
|
-
"@kubb/mcp": "5.
|
|
173
|
-
"@kubb/parser-md": "5.
|
|
174
|
-
"@kubb/parser-ts": "5.
|
|
175
|
-
"@kubb/plugin-barrel": "5.
|
|
176
|
-
"@kubb/renderer-jsx": "5.
|
|
177
|
-
"@kubb/studio": "5.
|
|
178
|
-
"unplugin-kubb": "5.
|
|
167
|
+
"@kubb/adapter-oas": "5.27.1",
|
|
168
|
+
"@kubb/ast": "5.27.1",
|
|
169
|
+
"@kubb/cli": "5.27.1",
|
|
170
|
+
"@kubb/core": "5.27.1",
|
|
171
|
+
"@kubb/kit": "5.27.1",
|
|
172
|
+
"@kubb/mcp": "5.27.1",
|
|
173
|
+
"@kubb/parser-md": "5.27.1",
|
|
174
|
+
"@kubb/parser-ts": "5.27.1",
|
|
175
|
+
"@kubb/plugin-barrel": "5.27.1",
|
|
176
|
+
"@kubb/renderer-jsx": "5.27.1",
|
|
177
|
+
"@kubb/studio": "5.27.1",
|
|
178
|
+
"unplugin-kubb": "5.27.1"
|
|
179
179
|
},
|
|
180
180
|
"devDependencies": {
|
|
181
181
|
"@farmfe/core": "^2.0.1",
|