@kubb/core 4.19.1 → 4.20.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/README.md +22 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,6 +23,28 @@
|
|
|
23
23
|
|
|
24
24
|
<br />
|
|
25
25
|
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
Get started with Kubb in seconds:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npx kubb init
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The interactive setup will:
|
|
35
|
+
- Create a `package.json` (if needed)
|
|
36
|
+
- Guide you through plugin selection
|
|
37
|
+
- Install packages automatically
|
|
38
|
+
- Generate `kubb.config.ts`
|
|
39
|
+
|
|
40
|
+
Then generate your code:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npx kubb generate
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
See the [documentation](https://kubb.dev) for detailed usage and advanced features.
|
|
47
|
+
|
|
26
48
|
## Features
|
|
27
49
|
- Works with Node.js 20+.
|
|
28
50
|
- Convert Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 to TypeScript, Zod, React-Query, ...
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.0",
|
|
4
4
|
"description": "Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
],
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@kubb/react-fabric": "0.12.
|
|
83
|
+
"@kubb/react-fabric": "0.12.7",
|
|
84
84
|
"camelcase": "^8.0.0",
|
|
85
85
|
"find-up": "^7.0.0",
|
|
86
86
|
"fs-extra": "^11.3.3",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@types/semver": "^7.7.1"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@kubb/react-fabric": "0.12.
|
|
99
|
+
"@kubb/react-fabric": "0.12.7"
|
|
100
100
|
},
|
|
101
101
|
"engines": {
|
|
102
102
|
"node": ">=20"
|