@kubb/cli 1.1.7 → 1.1.8
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 +34 -27
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +26 -23
package/README.md
CHANGED
|
@@ -5,38 +5,45 @@
|
|
|
5
5
|
|
|
6
6
|
<p>
|
|
7
7
|
CLI package to generate the different clients when using the terminal.
|
|
8
|
-
</p>
|
|
8
|
+
</p>
|
|
9
|
+
<img src="https://raw.githubusercontent.com/kubb-project/kubb/main/assets/banner.png" alt="logo" height="auto" />
|
|
9
10
|
|
|
10
|
-
<!-- Badges -->
|
|
11
|
-
<p>
|
|
12
|
-
<a href="https://www.npmjs.com/package/@kubb/cli">
|
|
11
|
+
<!-- Badges -->
|
|
12
|
+
<p>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@kubb/cli" target="_blank">
|
|
13
14
|
<img alt="npm version" src="https://img.shields.io/npm/v/@kubb/cli?style=for-the-badge"/>
|
|
14
15
|
</a>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</a>
|
|
18
|
-
<a href="https://www.npmjs.com/package/@kubb/cli">
|
|
16
|
+
|
|
17
|
+
<a href="https://www.npmjs.com/package/@kubb/cli" target="_blank">
|
|
19
18
|
<img alt="npm downloads" src="https://img.shields.io/npm/dm/@kubb/cli?style=for-the-badge"/>
|
|
20
19
|
</a>
|
|
21
|
-
</p>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
<p>
|
|
23
|
+
<a href="https://www.npmjs.com/package/@kubb/cli" target="_blank">
|
|
24
|
+
<img alt="Minified size" src="https://img.shields.io/bundlephobia/min/@kubb/cli?style=for-the-badge"/>
|
|
25
|
+
</a>
|
|
26
|
+
|
|
27
|
+
<a href="https://www.npmjs.com/package/@kubb/cli" target="_blank">
|
|
28
|
+
<img alt="Coverage" src="https://img.shields.io/codecov/c/github/kubb-project/kubb?style=for-the-badge"/>
|
|
29
|
+
</a>
|
|
30
|
+
|
|
31
|
+
<a href="https://www.npmjs.com/package/@kubb/cli" target="_blank">
|
|
32
|
+
<img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/kubb-project/kubb/ci.yaml?style=for-the-badge"/>
|
|
33
|
+
</a>
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
37
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
38
|
+
</p>
|
|
22
39
|
|
|
23
|
-
<h4>
|
|
24
|
-
<a href="https://codesandbox.io/s/github/kubb-project/kubb/tree/main/examples/simple">View Demo</a>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
40
|
+
<h4>
|
|
41
|
+
<a href="https://codesandbox.io/s/github/kubb-project/kubb/tree/main/examples/simple" target="_blank">View Demo</a>
|
|
42
|
+
<span> · </span>
|
|
43
|
+
<a href="https://kubb.dev/" target="_blank">Documentation</a>
|
|
44
|
+
<span> · </span>
|
|
45
|
+
<a href="https://github.com/kubb-project/kubb/issues/" target="_blank">Report Bug</a>
|
|
46
|
+
<span> · </span>
|
|
47
|
+
<a href="https://github.com/kubb-project/kubb/issues/" target="_blank">Request Feature</a>
|
|
31
48
|
</h4>
|
|
32
49
|
</div>
|
|
33
|
-
|
|
34
|
-
<br />
|
|
35
|
-
|
|
36
|
-
<!-- About the Project
|
|
37
|
-
## :star2: About the Project
|
|
38
|
-
|
|
39
|
-
<div align="center">
|
|
40
|
-
<img src="assets/screenshot.jpg" alt="screenshot" />
|
|
41
|
-
</div>
|
|
42
|
-
-->
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "Generator cli",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git://github.com/kubb-project/kubb.git",
|
|
8
|
-
"directory": "packages/cli"
|
|
9
|
-
},
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"author": "Stijn Van Hulle <stijn@stijnvanhulle.be",
|
|
12
5
|
"keywords": [
|
|
13
6
|
"typescript",
|
|
14
7
|
"plugins",
|
|
@@ -16,6 +9,13 @@
|
|
|
16
9
|
"codegen",
|
|
17
10
|
"cli"
|
|
18
11
|
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git://github.com/kubb-project/kubb.git",
|
|
15
|
+
"directory": "packages/cli"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Stijn Van Hulle <stijn@stijnvanhulle.be",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"type": "module",
|
|
21
21
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"bin": {
|
|
25
25
|
"kubb": "dist/index.js"
|
|
26
26
|
},
|
|
27
|
-
"preferGlobal": true,
|
|
28
27
|
"files": [
|
|
29
28
|
"dist",
|
|
30
29
|
"src",
|
|
@@ -32,42 +31,46 @@
|
|
|
32
31
|
"!/**/__tests__/**"
|
|
33
32
|
],
|
|
34
33
|
"dependencies": {
|
|
34
|
+
"@swc/core": "^1.3.62",
|
|
35
35
|
"chokidar": "^3.5.3",
|
|
36
36
|
"commander": "^10.0.1",
|
|
37
37
|
"cosmiconfig": "^8.2.0",
|
|
38
38
|
"execa": "^7.1.1",
|
|
39
39
|
"ora": "^6.3.1",
|
|
40
40
|
"picocolors": "^1.0.0",
|
|
41
|
+
"pretty-error": "^4.0.0",
|
|
41
42
|
"string-argv": "^0.3.2",
|
|
42
43
|
"ts-node": "^10.9.1",
|
|
43
44
|
"yaml": "^2.3.1",
|
|
44
|
-
"@
|
|
45
|
-
"pretty-error": "^4.0.0",
|
|
46
|
-
"@kubb/core": "1.1.7"
|
|
45
|
+
"@kubb/core": "1.1.8"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
48
|
+
"@types/node": "^20.2.6",
|
|
49
49
|
"tsup": "^6.7.0",
|
|
50
|
-
"@types/node": "^20.2.5",
|
|
51
50
|
"typescript": "^5.1.3",
|
|
52
|
-
"@kubb/swagger": "1.1.
|
|
53
|
-
"@kubb/tsup-config": "0.1.0"
|
|
51
|
+
"@kubb/swagger": "1.1.8",
|
|
52
|
+
"@kubb/tsup-config": "0.1.0",
|
|
53
|
+
"@kubb/typescript-config": "0.1.0"
|
|
54
54
|
},
|
|
55
|
+
"packageManager": "pnpm@8.3.0",
|
|
56
|
+
"engines": {
|
|
57
|
+
"node": ">=18",
|
|
58
|
+
"pnpm": ">=8.3.0"
|
|
59
|
+
},
|
|
60
|
+
"preferGlobal": true,
|
|
55
61
|
"publishConfig": {
|
|
56
62
|
"access": "public",
|
|
57
63
|
"registry": "https://registry.npmjs.org/"
|
|
58
64
|
},
|
|
59
|
-
"engines": {
|
|
60
|
-
"node": ">=18",
|
|
61
|
-
"pnpm": ">=8"
|
|
62
|
-
},
|
|
63
65
|
"scripts": {
|
|
64
66
|
"build": "tsup",
|
|
65
|
-
"
|
|
66
|
-
"release": "pnpm publish --no-git-check",
|
|
67
|
+
"clean": "rimraf ./dist",
|
|
67
68
|
"lint": "eslint \"**/*.{ts,tsx}\"",
|
|
68
69
|
"lint-fix": "eslint \"**/*.{ts,tsx}\" --quiet --fix",
|
|
70
|
+
"release": "pnpm publish --no-git-check",
|
|
71
|
+
"start": "tsup --watch",
|
|
69
72
|
"test": "vitest --passWithNoTests",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
73
|
+
"typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false",
|
|
74
|
+
"upgrade": "pnpm update"
|
|
72
75
|
}
|
|
73
76
|
}
|