kubb 5.0.0-beta.67 → 5.0.0-beta.69
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/README.md +4 -4
- package/package.json +10 -12
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
### The meta framework for code generation
|
|
27
27
|
|
|
28
|
-
Point Kubb at
|
|
28
|
+
Point Kubb at a schema and it generates types, clients, hooks, validators, mocks, and more.
|
|
29
29
|
|
|
30
30
|
## Installation
|
|
31
31
|
|
|
@@ -55,9 +55,9 @@ See the [documentation](https://kubb.dev) for detailed usage and advanced featur
|
|
|
55
55
|
|
|
56
56
|
## Features
|
|
57
57
|
|
|
58
|
-
- Generate from a
|
|
59
|
-
-
|
|
60
|
-
- Pick what you generate from the [plugin ecosystem](https://github.com/kubb-labs/
|
|
58
|
+
- Generate from a schema: Kubb produces TypeScript types, type-safe API clients, [TanStack Query](https://github.com/TanStack/query) hooks for React and Vue, [SWR](https://github.com/vercel/swr) hooks, [Zod](https://github.com/colinhacks/zod) validators, [Faker](https://github.com/faker-js/faker) mocks, and [MSW](https://github.com/mswjs/msw) handlers.
|
|
59
|
+
- Plug in input formats through adapters like [`@kubb/adapter-oas`](https://npmx.dev/package/@kubb/adapter-oas), with TypeScript-first output that runs on Node.js and Bun.
|
|
60
|
+
- Pick what you generate from the [plugin ecosystem](https://github.com/kubb-labs/plugins): `plugin-ts`, `plugin-client`, `plugin-react-query`, `plugin-vue-query`, `plugin-swr`, `plugin-zod`, `plugin-faker`, `plugin-msw`, `plugin-cypress`, `plugin-redoc`, and `plugin-mcp`. Enable only the ones a project needs.
|
|
61
61
|
- Choose your HTTP client: use the axios or fetch presets, or point at a custom client module so generated requests run through your own wrapper.
|
|
62
62
|
- Control the generated tree: group files by tag, emit barrel exports, and include or exclude operations to keep the output focused.
|
|
63
63
|
- Build your own output with custom plugins, adapters, and the JSX-based renderer (`@kubb/renderer-jsx`) for full control over what lands on disk.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kubb",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
4
|
-
"description": "Meta-package and entry point for Kubb
|
|
3
|
+
"version": "5.0.0-beta.69",
|
|
4
|
+
"description": "Meta-package and entry point for Kubb, the meta framework for code generation. Bundles defineConfig and all public APIs into a single install.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
7
7
|
"code-generator",
|
|
@@ -10,11 +10,9 @@
|
|
|
10
10
|
"kubb",
|
|
11
11
|
"meta-framework",
|
|
12
12
|
"msw",
|
|
13
|
-
"openapi",
|
|
14
13
|
"plugin-system",
|
|
15
14
|
"react-query",
|
|
16
15
|
"sdk-generator",
|
|
17
|
-
"swagger",
|
|
18
16
|
"tanstack-query",
|
|
19
17
|
"typescript",
|
|
20
18
|
"zod"
|
|
@@ -53,14 +51,14 @@
|
|
|
53
51
|
"registry": "https://registry.npmjs.org/"
|
|
54
52
|
},
|
|
55
53
|
"dependencies": {
|
|
56
|
-
"@kubb/adapter-oas": "5.0.0-beta.
|
|
57
|
-
"@kubb/cli": "5.0.0-beta.
|
|
58
|
-
"@kubb/core": "5.0.0-beta.
|
|
59
|
-
"@kubb/mcp": "5.0.0-beta.
|
|
60
|
-
"@kubb/parser-md": "5.0.0-beta.
|
|
61
|
-
"@kubb/parser-ts": "5.0.0-beta.
|
|
62
|
-
"@kubb/plugin-barrel": "5.0.0-beta.
|
|
63
|
-
"@kubb/renderer-jsx": "5.0.0-beta.
|
|
54
|
+
"@kubb/adapter-oas": "5.0.0-beta.69",
|
|
55
|
+
"@kubb/cli": "5.0.0-beta.69",
|
|
56
|
+
"@kubb/core": "5.0.0-beta.69",
|
|
57
|
+
"@kubb/mcp": "5.0.0-beta.69",
|
|
58
|
+
"@kubb/parser-md": "5.0.0-beta.69",
|
|
59
|
+
"@kubb/parser-ts": "5.0.0-beta.69",
|
|
60
|
+
"@kubb/plugin-barrel": "5.0.0-beta.69",
|
|
61
|
+
"@kubb/renderer-jsx": "5.0.0-beta.69"
|
|
64
62
|
},
|
|
65
63
|
"devDependencies": {
|
|
66
64
|
"typescript": "^6.0.3",
|