@kubb/core 3.0.0-alpha.17 → 3.0.0-alpha.19
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 +0 -4
- package/dist/{FileManager-YebPduRO.d.ts → FileManager-B4cpHcmd.d.ts} +30 -16
- package/dist/{FileManager-BYK3ddE3.d.cts → FileManager-WLbm4oGD.d.cts} +30 -16
- package/dist/{chunk-IR265SBR.cjs → chunk-2QXTZSV2.cjs} +4 -12
- package/dist/chunk-2QXTZSV2.cjs.map +1 -0
- package/dist/{chunk-B32U3U36.cjs → chunk-6VRWO4MS.cjs} +8 -8
- package/dist/{chunk-B32U3U36.cjs.map → chunk-6VRWO4MS.cjs.map} +1 -1
- package/dist/{chunk-PZZ736XC.cjs → chunk-AJJTLSA2.cjs} +6 -6
- package/dist/{chunk-PZZ736XC.cjs.map → chunk-AJJTLSA2.cjs.map} +1 -1
- package/dist/{chunk-IS3U2E4B.js → chunk-CLTNHSMO.js} +4 -4
- package/dist/chunk-CLTNHSMO.js.map +1 -0
- package/dist/{chunk-JSL2IBGJ.js → chunk-E6CN2CZC.js} +3 -3
- package/dist/{chunk-JSL2IBGJ.js.map → chunk-E6CN2CZC.js.map} +1 -1
- package/dist/{chunk-GDBJNFFQ.cjs → chunk-GTJDREOE.cjs} +4 -4
- package/dist/{chunk-GDBJNFFQ.cjs.map → chunk-GTJDREOE.cjs.map} +1 -1
- package/dist/{chunk-ZEL4DI72.js → chunk-HBQM723K.js} +3 -3
- package/dist/{chunk-ZEL4DI72.js.map → chunk-HBQM723K.js.map} +1 -1
- package/dist/{chunk-BUNKJZH3.cjs → chunk-L2EWYS6N.cjs} +10 -10
- package/dist/{chunk-BUNKJZH3.cjs.map → chunk-L2EWYS6N.cjs.map} +1 -1
- package/dist/{chunk-73IP2I4Z.cjs → chunk-YLNKHIBG.cjs} +35 -35
- package/dist/chunk-YLNKHIBG.cjs.map +1 -0
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/logger.cjs +7 -7
- package/dist/logger.js +2 -3
- package/dist/mocks.cjs +14 -23336
- package/dist/mocks.cjs.map +1 -1
- package/dist/mocks.d.cts +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/mocks.js +6 -23297
- package/dist/mocks.js.map +1 -1
- package/dist/{prompt-HYWTP2ND.cjs → prompt-PFSNR2XA.cjs} +62 -62
- package/dist/{prompt-HYWTP2ND.cjs.map → prompt-PFSNR2XA.cjs.map} +1 -1
- package/dist/{prompt-EWVFJSYF.js → prompt-WQQUN22Z.js} +3 -4
- package/dist/prompt-WQQUN22Z.js.map +1 -0
- package/dist/transformers.cjs +23 -23
- package/dist/transformers.cjs.map +1 -1
- package/dist/transformers.js +0 -1
- package/dist/transformers.js.map +1 -1
- package/dist/utils.cjs +17 -17
- package/dist/utils.js +1 -2
- package/package.json +7 -10
- package/src/BarrelManager.ts +1 -1
- package/src/FileManager.ts +2 -2
- package/src/PromiseManager.ts +1 -1
- package/src/transformers/escape.ts +0 -10
- package/src/types.ts +30 -15
- package/src/utils/executeStrategies.ts +2 -2
- package/src/utils/parser.ts +3 -3
- package/dist/acorn-BDQRFTH5.js +0 -3009
- package/dist/acorn-BDQRFTH5.js.map +0 -1
- package/dist/acorn-SWAHAI7X.cjs +0 -3015
- package/dist/acorn-SWAHAI7X.cjs.map +0 -1
- package/dist/angular-7QLNOURG.js +0 -1537
- package/dist/angular-7QLNOURG.js.map +0 -1
- package/dist/angular-W2RY3LST.cjs +0 -1543
- package/dist/angular-W2RY3LST.cjs.map +0 -1
- package/dist/babel-GWHGORSH.js +0 -6899
- package/dist/babel-GWHGORSH.js.map +0 -1
- package/dist/babel-Z3QMLNRG.cjs +0 -6905
- package/dist/babel-Z3QMLNRG.cjs.map +0 -1
- package/dist/chunk-73IP2I4Z.cjs.map +0 -1
- package/dist/chunk-IR265SBR.cjs.map +0 -1
- package/dist/chunk-IS3U2E4B.js.map +0 -1
- package/dist/chunk-KHG35XCD.cjs +0 -12933
- package/dist/chunk-KHG35XCD.cjs.map +0 -1
- package/dist/chunk-OSWGRZMH.js +0 -12927
- package/dist/chunk-OSWGRZMH.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -9
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/estree-4BFMOGHF.js +0 -4367
- package/dist/estree-4BFMOGHF.js.map +0 -1
- package/dist/estree-GUB2QUYV.cjs +0 -4375
- package/dist/estree-GUB2QUYV.cjs.map +0 -1
- package/dist/flow-KXNVL5TH.cjs +0 -26268
- package/dist/flow-KXNVL5TH.cjs.map +0 -1
- package/dist/flow-VXQDDICF.js +0 -26262
- package/dist/flow-VXQDDICF.js.map +0 -1
- package/dist/glimmer-7L53E5R3.cjs +0 -2852
- package/dist/glimmer-7L53E5R3.cjs.map +0 -1
- package/dist/glimmer-FBL5UTXI.js +0 -2844
- package/dist/glimmer-FBL5UTXI.js.map +0 -1
- package/dist/graphql-NAYJ7XUI.cjs +0 -1250
- package/dist/graphql-NAYJ7XUI.cjs.map +0 -1
- package/dist/graphql-VWUEBAX7.js +0 -1241
- package/dist/graphql-VWUEBAX7.js.map +0 -1
- package/dist/html-A4Q53WOG.cjs +0 -2754
- package/dist/html-A4Q53WOG.cjs.map +0 -1
- package/dist/html-SRQHPYU4.js +0 -2745
- package/dist/html-SRQHPYU4.js.map +0 -1
- package/dist/markdown-7H53GZRF.js +0 -3319
- package/dist/markdown-7H53GZRF.js.map +0 -1
- package/dist/markdown-UCYRKIQU.cjs +0 -3328
- package/dist/markdown-UCYRKIQU.cjs.map +0 -1
- package/dist/meriyah-FOV342OF.cjs +0 -2356
- package/dist/meriyah-FOV342OF.cjs.map +0 -1
- package/dist/meriyah-MBZURH4I.js +0 -2350
- package/dist/meriyah-MBZURH4I.js.map +0 -1
- package/dist/postcss-2ZEP7RB4.cjs +0 -4945
- package/dist/postcss-2ZEP7RB4.cjs.map +0 -1
- package/dist/postcss-TPQQRMEX.js +0 -4936
- package/dist/postcss-TPQQRMEX.js.map +0 -1
- package/dist/prompt-EWVFJSYF.js.map +0 -1
- package/dist/typescript-HWISSPX7.cjs +0 -19
- package/dist/typescript-HWISSPX7.cjs.map +0 -1
- package/dist/typescript-IRGFXOHK.js +0 -4
- package/dist/typescript-IRGFXOHK.js.map +0 -1
- package/dist/yaml-HOYUWFS4.cjs +0 -4216
- package/dist/yaml-HOYUWFS4.cjs.map +0 -1
- package/dist/yaml-Q6KMUOXF.js +0 -4207
- package/dist/yaml-Q6KMUOXF.js.map +0 -1
package/README.md
CHANGED
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
[![Coverage][coverage-src]][coverage-href]
|
|
14
14
|
[![License][license-src]][license-href]
|
|
15
15
|
|
|
16
|
-
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
17
|
-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
18
|
-
</p>
|
|
19
|
-
|
|
20
16
|
<h4>
|
|
21
17
|
<a href="https://codesandbox.io/s/github/kubb-labs/kubb/tree/alpha/examples/typescript" target="_blank">View Demo</a>
|
|
22
18
|
<span> · </span>
|
|
@@ -251,6 +251,7 @@ type UserPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> =
|
|
|
251
251
|
* @example @kubb/typescript
|
|
252
252
|
*/
|
|
253
253
|
name: TOptions['name'];
|
|
254
|
+
output?: Output;
|
|
254
255
|
/**
|
|
255
256
|
* Options set for a specific plugin(see kubb.config.js), passthrough of options.
|
|
256
257
|
*/
|
|
@@ -282,21 +283,7 @@ type Plugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = {
|
|
|
282
283
|
* @private
|
|
283
284
|
*/
|
|
284
285
|
key: TOptions['key'];
|
|
285
|
-
output?:
|
|
286
|
-
/**
|
|
287
|
-
* Output to save the clients.
|
|
288
|
-
*/
|
|
289
|
-
path: string;
|
|
290
|
-
/**
|
|
291
|
-
* Add an extension to the generated imports and exports, default it will not use an extension
|
|
292
|
-
*/
|
|
293
|
-
extName?: KubbFile.Extname;
|
|
294
|
-
/**
|
|
295
|
-
* Define what needs to exported, here you can also disable the export of barrel files
|
|
296
|
-
* @default `'barrelNamed'`
|
|
297
|
-
*/
|
|
298
|
-
exportType?: 'barrel' | 'barrelNamed' | false;
|
|
299
|
-
};
|
|
286
|
+
output?: Output;
|
|
300
287
|
/**
|
|
301
288
|
* Specifies the preceding plugins for the current plugin. You can pass an array of preceding plugin names, and the current plugin will be executed after these plugins.
|
|
302
289
|
* Can be used to validate dependent plugins.
|
|
@@ -381,6 +368,33 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
|
|
|
381
368
|
*/
|
|
382
369
|
plugin: Plugin<TOptions>;
|
|
383
370
|
};
|
|
371
|
+
type Output = {
|
|
372
|
+
/**
|
|
373
|
+
* Output to save the generated files.
|
|
374
|
+
*/
|
|
375
|
+
path: string;
|
|
376
|
+
/**
|
|
377
|
+
* Name to be used for the `export * as {{exportAs}} from './'`
|
|
378
|
+
*/
|
|
379
|
+
exportAs?: string;
|
|
380
|
+
/**
|
|
381
|
+
* Add an extension to the generated imports and exports, default it will not use an extension
|
|
382
|
+
*/
|
|
383
|
+
extName?: KubbFile.Extname;
|
|
384
|
+
/**
|
|
385
|
+
* Define what needs to exported, here you can also disable the export of barrel files
|
|
386
|
+
* @default `'barrelNamed'`
|
|
387
|
+
*/
|
|
388
|
+
exportType?: 'barrel' | 'barrelNamed' | false;
|
|
389
|
+
/**
|
|
390
|
+
* Add a footer text in the beginning of every file
|
|
391
|
+
*/
|
|
392
|
+
footer?: string;
|
|
393
|
+
/**
|
|
394
|
+
* Add a banner text in the beginning of every file
|
|
395
|
+
*/
|
|
396
|
+
banner?: string;
|
|
397
|
+
};
|
|
384
398
|
|
|
385
399
|
type BarrelData = {
|
|
386
400
|
file?: KubbFile.File;
|
|
@@ -462,4 +476,4 @@ type GetSourceOptions = {
|
|
|
462
476
|
};
|
|
463
477
|
declare function getSource<TMeta extends FileMetaBase = FileMetaBase>(file: ResolvedFile<TMeta>, { logger }?: GetSourceOptions): Promise<string>;
|
|
464
478
|
|
|
465
|
-
export { type Config as C, FileManager as F, type GetPluginFactoryOptions as G, type InputPath as I, type PluginContext as P, type ResolvePathParams as R, type UserConfig as U, PluginManager as a, type PluginFactoryOptions as b, type UserPluginWithLifeCycle as c, type FileMetaBase as d, type InputData as e, type PluginKey as f, getSource as g, type UserPlugin as h, type Plugin as i, type PluginWithLifeCycle as j, type PluginLifecycle as k, type PluginLifecycleHooks as l, type PluginParameter as m, type PluginCache as n, type ResolveNameParams as o };
|
|
479
|
+
export { type Config as C, FileManager as F, type GetPluginFactoryOptions as G, type InputPath as I, type Output as O, type PluginContext as P, type ResolvePathParams as R, type UserConfig as U, PluginManager as a, type PluginFactoryOptions as b, type UserPluginWithLifeCycle as c, type FileMetaBase as d, type InputData as e, type PluginKey as f, getSource as g, type UserPlugin as h, type Plugin as i, type PluginWithLifeCycle as j, type PluginLifecycle as k, type PluginLifecycleHooks as l, type PluginParameter as m, type PluginCache as n, type ResolveNameParams as o };
|
|
@@ -251,6 +251,7 @@ type UserPlugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> =
|
|
|
251
251
|
* @example @kubb/typescript
|
|
252
252
|
*/
|
|
253
253
|
name: TOptions['name'];
|
|
254
|
+
output?: Output;
|
|
254
255
|
/**
|
|
255
256
|
* Options set for a specific plugin(see kubb.config.js), passthrough of options.
|
|
256
257
|
*/
|
|
@@ -282,21 +283,7 @@ type Plugin<TOptions extends PluginFactoryOptions = PluginFactoryOptions> = {
|
|
|
282
283
|
* @private
|
|
283
284
|
*/
|
|
284
285
|
key: TOptions['key'];
|
|
285
|
-
output?:
|
|
286
|
-
/**
|
|
287
|
-
* Output to save the clients.
|
|
288
|
-
*/
|
|
289
|
-
path: string;
|
|
290
|
-
/**
|
|
291
|
-
* Add an extension to the generated imports and exports, default it will not use an extension
|
|
292
|
-
*/
|
|
293
|
-
extName?: KubbFile.Extname;
|
|
294
|
-
/**
|
|
295
|
-
* Define what needs to exported, here you can also disable the export of barrel files
|
|
296
|
-
* @default `'barrelNamed'`
|
|
297
|
-
*/
|
|
298
|
-
exportType?: 'barrel' | 'barrelNamed' | false;
|
|
299
|
-
};
|
|
286
|
+
output?: Output;
|
|
300
287
|
/**
|
|
301
288
|
* Specifies the preceding plugins for the current plugin. You can pass an array of preceding plugin names, and the current plugin will be executed after these plugins.
|
|
302
289
|
* Can be used to validate dependent plugins.
|
|
@@ -381,6 +368,33 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
|
|
|
381
368
|
*/
|
|
382
369
|
plugin: Plugin<TOptions>;
|
|
383
370
|
};
|
|
371
|
+
type Output = {
|
|
372
|
+
/**
|
|
373
|
+
* Output to save the generated files.
|
|
374
|
+
*/
|
|
375
|
+
path: string;
|
|
376
|
+
/**
|
|
377
|
+
* Name to be used for the `export * as {{exportAs}} from './'`
|
|
378
|
+
*/
|
|
379
|
+
exportAs?: string;
|
|
380
|
+
/**
|
|
381
|
+
* Add an extension to the generated imports and exports, default it will not use an extension
|
|
382
|
+
*/
|
|
383
|
+
extName?: KubbFile.Extname;
|
|
384
|
+
/**
|
|
385
|
+
* Define what needs to exported, here you can also disable the export of barrel files
|
|
386
|
+
* @default `'barrelNamed'`
|
|
387
|
+
*/
|
|
388
|
+
exportType?: 'barrel' | 'barrelNamed' | false;
|
|
389
|
+
/**
|
|
390
|
+
* Add a footer text in the beginning of every file
|
|
391
|
+
*/
|
|
392
|
+
footer?: string;
|
|
393
|
+
/**
|
|
394
|
+
* Add a banner text in the beginning of every file
|
|
395
|
+
*/
|
|
396
|
+
banner?: string;
|
|
397
|
+
};
|
|
384
398
|
|
|
385
399
|
type BarrelData = {
|
|
386
400
|
file?: KubbFile.File;
|
|
@@ -462,4 +476,4 @@ type GetSourceOptions = {
|
|
|
462
476
|
};
|
|
463
477
|
declare function getSource<TMeta extends FileMetaBase = FileMetaBase>(file: ResolvedFile<TMeta>, { logger }?: GetSourceOptions): Promise<string>;
|
|
464
478
|
|
|
465
|
-
export { type Config as C, FileManager as F, type GetPluginFactoryOptions as G, type InputPath as I, type PluginContext as P, type ResolvePathParams as R, type UserConfig as U, PluginManager as a, type PluginFactoryOptions as b, type UserPluginWithLifeCycle as c, type FileMetaBase as d, type InputData as e, type PluginKey as f, getSource as g, type UserPlugin as h, type Plugin as i, type PluginWithLifeCycle as j, type PluginLifecycle as k, type PluginLifecycleHooks as l, type PluginParameter as m, type PluginCache as n, type ResolveNameParams as o };
|
|
479
|
+
export { type Config as C, FileManager as F, type GetPluginFactoryOptions as G, type InputPath as I, type Output as O, type PluginContext as P, type ResolvePathParams as R, type UserConfig as U, PluginManager as a, type PluginFactoryOptions as b, type UserPluginWithLifeCycle as c, type FileMetaBase as d, type InputData as e, type PluginKey as f, getSource as g, type UserPlugin as h, type Plugin as i, type PluginWithLifeCycle as j, type PluginLifecycle as k, type PluginLifecycleHooks as l, type PluginParameter as m, type PluginCache as n, type ResolveNameParams as o };
|
|
@@ -12,10 +12,6 @@ var __esm = (fn, res) => function __init() {
|
|
|
12
12
|
var __commonJS = (cb, mod) => function __require() {
|
|
13
13
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
14
14
|
};
|
|
15
|
-
var __export = (target, all) => {
|
|
16
|
-
for (var name in all)
|
|
17
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
18
|
-
};
|
|
19
15
|
var __copyProps = (to, from, except, desc) => {
|
|
20
16
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
17
|
for (let key of __getOwnPropNames(from))
|
|
@@ -33,18 +29,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
29
|
mod
|
|
34
30
|
));
|
|
35
31
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.
|
|
37
|
-
var getImportMetaUrl; exports.importMetaUrl = void 0;
|
|
32
|
+
// ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.9_@types+node@20.16.5__@swc+core@1.7.22_jiti@1.21.6__uxkr36v33irapmxvuadxell67a/node_modules/tsup/assets/cjs_shims.js
|
|
38
33
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.
|
|
40
|
-
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
41
|
-
exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.9_@types+node@20.16.5__@swc+core@1.7.22_jiti@1.21.6__uxkr36v33irapmxvuadxell67a/node_modules/tsup/assets/cjs_shims.js"() {
|
|
42
35
|
}
|
|
43
36
|
});
|
|
44
37
|
|
|
45
38
|
exports.__commonJS = __commonJS;
|
|
46
|
-
exports.__export = __export;
|
|
47
39
|
exports.__toESM = __toESM;
|
|
48
40
|
exports.init_cjs_shims = init_cjs_shims;
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-2QXTZSV2.cjs.map
|
|
42
|
+
//# sourceMappingURL=chunk-2QXTZSV2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.47.9_@types+node@20.16.5__@swc+core@1.7.22_jiti@1.21.6__uxkr36v33irapmxvuadxell67a/node_modules/tsup/assets/cjs_shims.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,cAAA,GAAA,KAAA,CAAA;AAAA,EAAA,yLAAA,GAAA;AAAA,GAAA;AAAA,CAAA","file":"chunk-2QXTZSV2.cjs","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () =>\n typeof document === 'undefined'\n ? new URL(`file:${__filename}`).href\n : (document.currentScript && document.currentScript.src) ||\n new URL('main.js', document.baseURI).href\n\nexport const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2QXTZSV2_cjs = require('./chunk-2QXTZSV2.cjs');
|
|
4
4
|
var util = require('util');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var tty = require('tty');
|
|
@@ -30,7 +30,7 @@ var tty__namespace = /*#__PURE__*/_interopNamespace(tty);
|
|
|
30
30
|
var process$1__default = /*#__PURE__*/_interopDefault(process$1);
|
|
31
31
|
|
|
32
32
|
// ../../node_modules/.pnpm/consola@3.2.3/node_modules/consola/dist/core.mjs
|
|
33
|
-
|
|
33
|
+
chunk2QXTZSV2_cjs.init_cjs_shims();
|
|
34
34
|
var LogLevels = {
|
|
35
35
|
silent: Number.NEGATIVE_INFINITY,
|
|
36
36
|
fatal: 0,
|
|
@@ -433,7 +433,7 @@ function createConsola(options = {}) {
|
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
// ../../node_modules/.pnpm/consola@3.2.3/node_modules/consola/dist/shared/consola.06ad8a64.mjs
|
|
436
|
-
|
|
436
|
+
chunk2QXTZSV2_cjs.init_cjs_shims();
|
|
437
437
|
function parseStack(stack) {
|
|
438
438
|
const cwd = process.cwd() + path.sep;
|
|
439
439
|
const lines = stack.split("\n").splice(1).map((l) => l.trim().replace("file://", "").replace(cwd, ""));
|
|
@@ -491,7 +491,7 @@ var BasicReporter = class {
|
|
|
491
491
|
};
|
|
492
492
|
|
|
493
493
|
// ../../node_modules/.pnpm/consola@3.2.3/node_modules/consola/dist/utils.mjs
|
|
494
|
-
|
|
494
|
+
chunk2QXTZSV2_cjs.init_cjs_shims();
|
|
495
495
|
var {
|
|
496
496
|
env = {},
|
|
497
497
|
argv = [],
|
|
@@ -723,7 +723,7 @@ function box(text, _opts = {}) {
|
|
|
723
723
|
}
|
|
724
724
|
|
|
725
725
|
// ../../node_modules/.pnpm/consola@3.2.3/node_modules/consola/dist/shared/consola.36c0034f.mjs
|
|
726
|
-
|
|
726
|
+
chunk2QXTZSV2_cjs.init_cjs_shims();
|
|
727
727
|
var providers = [
|
|
728
728
|
["APPVEYOR"],
|
|
729
729
|
["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],
|
|
@@ -1061,7 +1061,7 @@ function createConsola2(options = {}) {
|
|
|
1061
1061
|
defaults: { level },
|
|
1062
1062
|
stdout: process.stdout,
|
|
1063
1063
|
stderr: process.stderr,
|
|
1064
|
-
prompt: (...args) => import('./prompt-
|
|
1064
|
+
prompt: (...args) => import('./prompt-PFSNR2XA.cjs').then((m) => m.prompt(...args)),
|
|
1065
1065
|
reporters: options.reporters || [
|
|
1066
1066
|
options.fancy ?? !(isCI2 || isTest) ? new FancyReporter() : new BasicReporter()
|
|
1067
1067
|
],
|
|
@@ -1084,5 +1084,5 @@ exports.colors = colors;
|
|
|
1084
1084
|
exports.createConsola = createConsola2;
|
|
1085
1085
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
1086
1086
|
exports.isUnicodeSupported = isUnicodeSupported;
|
|
1087
|
-
//# sourceMappingURL=chunk-
|
|
1088
|
-
//# sourceMappingURL=chunk-
|
|
1087
|
+
//# sourceMappingURL=chunk-6VRWO4MS.cjs.map
|
|
1088
|
+
//# sourceMappingURL=chunk-6VRWO4MS.cjs.map
|