@kubb/cli 2.13.3 → 2.15.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/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +0 -1
- package/src/utils/getConfig.ts +1 -1
- package/src/utils/getCosmiConfig.ts +10 -0
- package/src/utils/getSummary.ts +2 -0
package/dist/index.cjs
CHANGED
|
@@ -69,9 +69,9 @@ var __privateMethod = (obj, member, method) => {
|
|
|
69
69
|
return method;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.
|
|
72
|
+
// ../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.1_@types+node@20.12.7__postcss@8.4.38_ts-node@10.9.2_4cb746h7xbnoda5ladgxgeqgt4/node_modules/tsup/assets/cjs_shims.js
|
|
73
73
|
var init_cjs_shims = __esm({
|
|
74
|
-
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.
|
|
74
|
+
"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.1_@types+node@20.12.7__postcss@8.4.38_ts-node@10.9.2_4cb746h7xbnoda5ladgxgeqgt4/node_modules/tsup/assets/cjs_shims.js"() {
|
|
75
75
|
"use strict";
|
|
76
76
|
}
|
|
77
77
|
});
|
|
@@ -2607,7 +2607,7 @@ var _tty = require('tty'); var _tty2 = _interopRequireDefault(_tty);
|
|
|
2607
2607
|
var p2 = w(_tty.isatty.call(void 0, 1));
|
|
2608
2608
|
|
|
2609
2609
|
// package.json
|
|
2610
|
-
var version = "2.
|
|
2610
|
+
var version = "2.15.0";
|
|
2611
2611
|
|
|
2612
2612
|
// src/generate.ts
|
|
2613
2613
|
init_cjs_shims();
|
|
@@ -5374,6 +5374,7 @@ function getSummary({ pluginManager, status, hrstart, config, logger }) {
|
|
|
5374
5374
|
pluginsFailed: status === "failed" ? _optionalChain([failedPlugins, 'optionalAccess', _38 => _38.map, 'call', _39 => _39((name) => _logger.randomCliColour.call(void 0, name)), 'optionalAccess', _40 => _40.join, 'call', _41 => _41(", ")]) : void 0,
|
|
5375
5375
|
filesCreated: files.length,
|
|
5376
5376
|
time: p2.yellow(`${elapsedSeconds}s`),
|
|
5377
|
+
endTime: p2.yellow(Date()),
|
|
5377
5378
|
output: _path2.default.isAbsolute(config.root) ? _path2.default.resolve(config.root, config.output.path) : config.root
|
|
5378
5379
|
};
|
|
5379
5380
|
logger.emit("debug", ["\nGenerated files:\n"]);
|
|
@@ -5389,6 +5390,7 @@ function getSummary({ pluginManager, status, hrstart, config, logger }) {
|
|
|
5389
5390
|
[` ${p2.dim("Failed:")} ${meta.pluginsFailed || "none"}`, !!meta.pluginsFailed],
|
|
5390
5391
|
[`${p2.bold("Generated:")} ${meta.filesCreated} files`, true],
|
|
5391
5392
|
[` ${p2.bold("Time:")} ${meta.time}`, true],
|
|
5393
|
+
[` ${p2.bold("Ended:")} ${meta.endTime}`, true],
|
|
5392
5394
|
[` ${p2.bold("Output:")} ${meta.output}`, true],
|
|
5393
5395
|
["\n", true]
|
|
5394
5396
|
].map((item) => {
|