@kubb/cli 0.56.4 → 1.0.0-alpha.2
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 +3 -3
- package/dist/index.js +2 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
</p>
|
|
22
22
|
|
|
23
23
|
<h4>
|
|
24
|
-
<a href="https://codesandbox.io/s/github/
|
|
24
|
+
<a href="https://codesandbox.io/s/github/kubb-project/kubb/tree/main/examples/simple">View Demo</a>
|
|
25
25
|
<span> · </span>
|
|
26
26
|
<a href="https://kubb.dev/" target="_blank">Documentation</a>
|
|
27
27
|
<span> · </span>
|
|
28
|
-
<a href="https://github.com/
|
|
28
|
+
<a href="https://github.com/kubb-project/kubb/issues/">Report Bug</a>
|
|
29
29
|
<span> · </span>
|
|
30
|
-
<a href="https://github.com/
|
|
30
|
+
<a href="https://github.com/kubb-project/kubb/issues/">Request Feature</a>
|
|
31
31
|
</h4>
|
|
32
32
|
</div>
|
|
33
33
|
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,6 @@ async function run({ config, options, spinner: spinner2 }) {
|
|
|
50
50
|
...config.output
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
mode: options.mode || "development",
|
|
54
53
|
logger
|
|
55
54
|
});
|
|
56
55
|
spinner2.succeed(pc3.blue("\u{1F308} Generation complete"));
|
|
@@ -156,7 +155,7 @@ async function getCosmiConfig(moduleName2, config) {
|
|
|
156
155
|
}
|
|
157
156
|
|
|
158
157
|
// package.json
|
|
159
|
-
var version = "0.
|
|
158
|
+
var version = "1.0.0-alpha.2";
|
|
160
159
|
|
|
161
160
|
// src/index.ts
|
|
162
161
|
var moduleName = "kubb";
|
|
@@ -190,5 +189,5 @@ var program = new Command(moduleName).description("Kubb").action(async (options)
|
|
|
190
189
|
} catch (e) {
|
|
191
190
|
spinner.fail(pc3.red(e.message));
|
|
192
191
|
}
|
|
193
|
-
}).addOption(new Option("-
|
|
192
|
+
}).addOption(new Option("-c, --config <path>", "Path to the Kubb config")).addOption(new Option("-d, --debug", "Debug mode").default(false)).addOption(new Option("-w, --watch", "Watch mode based on the input file"));
|
|
194
193
|
program.name(moduleName).description("Generate").version(version, "-v").parse();
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "Generator cli",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git://github.com/
|
|
7
|
+
"url": "git://github.com/kubb-project/kubb.git",
|
|
8
8
|
"directory": "packages/cli"
|
|
9
9
|
},
|
|
10
10
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@humanwhocodes/module-importer": "^1.0.1",
|
|
35
|
-
"@kubb/core": "0.
|
|
35
|
+
"@kubb/core": "1.0.0-alpha.2",
|
|
36
36
|
"chokidar": "^3.5.3",
|
|
37
37
|
"commander": "^10.0.0",
|
|
38
38
|
"cosmiconfig": "^8.1.0",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"picocolors": "^1.0.0",
|
|
43
43
|
"string-argv": "^0.3.1",
|
|
44
44
|
"ts-node": "^10.9.1",
|
|
45
|
-
"@swc/core": "^1.3.
|
|
45
|
+
"@swc/core": "^1.3.38"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@types/node": "^18.14.
|
|
48
|
+
"@types/node": "^18.14.6",
|
|
49
49
|
"tsup": "^6.6.3",
|
|
50
50
|
"typescript": "^4.9.5"
|
|
51
51
|
},
|