@kubb/core 4.1.3 → 4.2.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.
Files changed (60) hide show
  1. package/README.md +15 -16
  2. package/dist/{FileManager-C8it6zdT.cjs → FileManager-DlkY9W5A.cjs} +4 -4
  3. package/dist/FileManager-DlkY9W5A.cjs.map +1 -0
  4. package/dist/{FileManager-CkRuIf5a.js → FileManager-zlhCXf6A.js} +9 -9
  5. package/dist/FileManager-zlhCXf6A.js.map +1 -0
  6. package/dist/{chunk-kPDogv7o.js → chunk-1SJ2vVWa.js} +1 -1
  7. package/dist/{fs-B7JGYSzW.js → fs-BIPMUfpW.js} +2 -2
  8. package/dist/{fs-B7JGYSzW.js.map → fs-BIPMUfpW.js.map} +1 -1
  9. package/dist/fs.d.cts +1 -1
  10. package/dist/fs.d.ts +1 -1
  11. package/dist/fs.js +2 -2
  12. package/dist/hooks.cjs +29 -0
  13. package/dist/hooks.cjs.map +1 -0
  14. package/dist/hooks.d.cts +15 -0
  15. package/dist/hooks.d.ts +15 -0
  16. package/dist/hooks.js +25 -0
  17. package/dist/hooks.js.map +1 -0
  18. package/dist/{index-3smcdUnJ.d.ts → index-BY_kka8d.d.ts} +4 -2
  19. package/dist/{index-B428LQ0Z.d.ts → index-CYcjcRdj.d.ts} +5 -5
  20. package/dist/{index-DERUIhQK.d.cts → index-DaYv9bst.d.cts} +5 -5
  21. package/dist/{index-Bglrijef.d.cts → index-Iq8NJRgc.d.cts} +2 -2
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +10 -10
  24. package/dist/index.d.ts +10 -10
  25. package/dist/index.js +6 -6
  26. package/dist/{logger-B-4AXUmB.d.ts → logger-BkGPbocD.d.ts} +2 -2
  27. package/dist/{logger-CibtdnUJ.js → logger-CsQ2EGpR.js} +4 -4
  28. package/dist/{logger-CibtdnUJ.js.map → logger-CsQ2EGpR.js.map} +1 -1
  29. package/dist/{logger-OWS6fqk0.d.cts → logger-DpoDtxfo.d.cts} +2 -2
  30. package/dist/logger.d.cts +1 -1
  31. package/dist/logger.d.ts +1 -1
  32. package/dist/logger.js +2 -2
  33. package/dist/mocks.cjs +1 -1
  34. package/dist/mocks.d.cts +3 -3
  35. package/dist/mocks.d.ts +3 -3
  36. package/dist/mocks.js +7 -7
  37. package/dist/{prompt-BYM8dl_2.js → prompt-C5GR2LPU.js} +2 -2
  38. package/dist/{prompt-BYM8dl_2.js.map → prompt-C5GR2LPU.js.map} +1 -1
  39. package/dist/{transformers-j70QaKtD.js → transformers-5BubQvcu.js} +3 -3
  40. package/dist/{transformers-j70QaKtD.js.map → transformers-5BubQvcu.js.map} +1 -1
  41. package/dist/transformers.js +1 -1
  42. package/dist/{PluginManager-C62HGihR.d.cts → types-DtokChaW.d.ts} +245 -245
  43. package/dist/{PluginManager-H8G0i6KS.d.ts → types-IOE1JAFC.d.cts} +245 -245
  44. package/dist/{typescript-CKDlnZSX.js → typescript-B7n7vRma.js} +2 -2
  45. package/dist/{typescript-CKDlnZSX.js.map → typescript-B7n7vRma.js.map} +1 -1
  46. package/dist/typescript-CIdP4XPm.js +3 -0
  47. package/dist/utils.cjs +1 -1
  48. package/dist/utils.d.cts +4 -4
  49. package/dist/utils.d.ts +4 -4
  50. package/dist/utils.js +4 -4
  51. package/dist/{write-O9QWtBJ_.js → write-CxO1CDML.js} +2 -2
  52. package/dist/{write-O9QWtBJ_.js.map → write-CxO1CDML.js.map} +1 -1
  53. package/package.json +16 -4
  54. package/src/hooks/index.ts +3 -0
  55. package/src/hooks/useMode.ts +8 -0
  56. package/src/hooks/usePlugin.ts +8 -0
  57. package/src/hooks/usePluginManager.ts +8 -0
  58. package/dist/FileManager-C8it6zdT.cjs.map +0 -1
  59. package/dist/FileManager-CkRuIf5a.js.map +0 -1
  60. package/dist/typescript-CabSmKb3.js +0 -3
@@ -1,3 +1,5 @@
1
+ import { n as __export } from "./chunk-1SJ2vVWa.js";
2
+
1
3
  //#region src/fs/clean.d.ts
2
4
  declare function clean(path: string): Promise<void>;
3
5
  //#endregion
@@ -139,5 +141,5 @@ type ResolvedFile<TMeta extends object = object> = File<TMeta> & {
139
141
  //#region src/fs/index.d.ts
140
142
  declare function trimExtName(text: string): string;
141
143
  //#endregion
142
- export { BaseName, Export, Extname, File, Import, Mode, OptionalPath, Path, ResolvedExport, ResolvedFile, ResolvedImport, clean, exists, getRelativePath, read, readSync, trimExtName, types_d_exports, unlink, write };
143
- //# sourceMappingURL=index-3smcdUnJ.d.ts.map
144
+ export { read as _, File as a, clean as b, OptionalPath as c, ResolvedFile as d, ResolvedImport as f, unlink as g, getRelativePath as h, Extname as i, Path as l, write as m, BaseName as n, Import as o, types_d_exports as p, Export as r, Mode as s, trimExtName as t, ResolvedExport as u, readSync as v, exists as y };
145
+ //# sourceMappingURL=index-BY_kka8d.d.ts.map
@@ -1,6 +1,6 @@
1
- import { Export, Extname, File, Import, ResolvedExport, ResolvedFile, ResolvedImport } from "./index-3smcdUnJ.js";
2
- import { Logger } from "./logger-B-4AXUmB.js";
3
- import { Config, PossiblePromise } from "./PluginManager-H8G0i6KS.js";
1
+ import { a as File, d as ResolvedFile, f as ResolvedImport, i as Extname, o as Import, r as Export, u as ResolvedExport } from "./index-BY_kka8d.js";
2
+ import { n as Logger } from "./logger-BkGPbocD.js";
3
+ import { T as PossiblePromise, n as Config } from "./types-DtokChaW.js";
4
4
 
5
5
  //#region src/utils/FunctionParams.d.ts
6
6
  type FunctionParamsASTWithoutType = {
@@ -175,5 +175,5 @@ declare class Cache<T> {
175
175
  flush(): Promise<void>;
176
176
  }
177
177
  //#endregion
178
- export { Cache, FunctionParams, type FunctionParamsAST, type ParserModule, type URLObject, URLPath, createFile, createFileExport, createFileImport, createFileParser, getDefaultBanner, getFileParser, getUniqueName, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, renderTemplate, setUniqueName, timeout };
179
- //# sourceMappingURL=index-B428LQ0Z.d.ts.map
178
+ export { isPromiseRejectedResult as _, createFileImport as a, getFileParser as c, getUniqueName as d, setUniqueName as f, isPromiseFulfilledResult as g, isPromise as h, createFileExport as i, URLObject as l, renderTemplate as m, ParserModule as n, createFileParser as o, timeout as p, createFile as r, getDefaultBanner as s, Cache as t, URLPath as u, FunctionParams as v, FunctionParamsAST as y };
179
+ //# sourceMappingURL=index-CYcjcRdj.d.ts.map
@@ -1,6 +1,6 @@
1
- import { Export, Extname, File, Import, ResolvedExport, ResolvedFile, ResolvedImport } from "./index-Bglrijef.cjs";
2
- import { Logger } from "./logger-OWS6fqk0.cjs";
3
- import { Config, PossiblePromise } from "./PluginManager-C62HGihR.cjs";
1
+ import { a as File, d as ResolvedFile, f as ResolvedImport, i as Extname, o as Import, r as Export, u as ResolvedExport } from "./index-Iq8NJRgc.cjs";
2
+ import { n as Logger } from "./logger-DpoDtxfo.cjs";
3
+ import { T as PossiblePromise, n as Config } from "./types-IOE1JAFC.cjs";
4
4
 
5
5
  //#region src/utils/FunctionParams.d.ts
6
6
  type FunctionParamsASTWithoutType = {
@@ -175,5 +175,5 @@ declare class Cache<T> {
175
175
  flush(): Promise<void>;
176
176
  }
177
177
  //#endregion
178
- export { Cache, FunctionParams, type FunctionParamsAST, type ParserModule, type URLObject, URLPath, createFile, createFileExport, createFileImport, createFileParser, getDefaultBanner, getFileParser, getUniqueName, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, renderTemplate, setUniqueName, timeout };
179
- //# sourceMappingURL=index-DERUIhQK.d.cts.map
178
+ export { isPromiseRejectedResult as _, createFileImport as a, getFileParser as c, getUniqueName as d, setUniqueName as f, isPromiseFulfilledResult as g, isPromise as h, createFileExport as i, URLObject as l, renderTemplate as m, ParserModule as n, createFileParser as o, timeout as p, createFile as r, getDefaultBanner as s, Cache as t, URLPath as u, FunctionParams as v, FunctionParamsAST as y };
179
+ //# sourceMappingURL=index-DaYv9bst.d.cts.map
@@ -140,5 +140,5 @@ type ResolvedFile<TMeta extends object = object> = File<TMeta> & {
140
140
  //#region src/fs/index.d.ts
141
141
  declare function trimExtName(text: string): string;
142
142
  //#endregion
143
- export { BaseName, Export, Extname, File, Import, Mode, OptionalPath, Path, ResolvedExport, ResolvedFile, ResolvedImport, clean, exists, getRelativePath, read, readSync, trimExtName, types_d_exports, unlink, write };
144
- //# sourceMappingURL=index-Bglrijef.d.cts.map
143
+ export { read as _, File as a, clean as b, OptionalPath as c, ResolvedFile as d, ResolvedImport as f, unlink as g, getRelativePath as h, Extname as i, Path as l, write as m, BaseName as n, Import as o, types_d_exports as p, Export as r, Mode as s, trimExtName as t, ResolvedExport as u, readSync as v, exists as y };
144
+ //# sourceMappingURL=index-Iq8NJRgc.d.cts.map
package/dist/index.cjs CHANGED
@@ -4,7 +4,7 @@ const require_fs = require('./fs-RSVoUw3S.cjs');
4
4
  require('./write-BJfM7G1_.cjs');
5
5
  const require_logger = require('./logger-S_t55o9n.cjs');
6
6
  const require_transformers = require('./transformers-BIx7CVmw.cjs');
7
- const require_FileManager = require('./FileManager-C8it6zdT.cjs');
7
+ const require_FileManager = require('./FileManager-DlkY9W5A.cjs');
8
8
  let node_path = require("node:path");
9
9
  node_path = require_chunk.__toESM(node_path);
10
10
  let picocolors = require("picocolors");
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { ResolvedFile } from "./index-Bglrijef.cjs";
2
- import { Logger } from "./logger-OWS6fqk0.cjs";
3
- import { BarrelType, Config, FileManager, FileMetaBase, GetPluginFactoryOptions, Group, InputData, InputPath, Output, Plugin, PluginContext, PluginFactoryOptions, PluginKey, PluginLifecycle, PluginLifecycleHooks, PluginManager, PluginParameter, PluginWithLifeCycle, PossiblePromise, ResolveNameParams, ResolvePathParams, UserConfig, UserPlugin, UserPluginWithLifeCycle, getSource } from "./PluginManager-C62HGihR.cjs";
4
- import { getDefaultBanner } from "./index-DERUIhQK.cjs";
1
+ import { d as ResolvedFile } from "./index-Iq8NJRgc.cjs";
2
+ import { n as Logger } from "./logger-DpoDtxfo.cjs";
3
+ import { C as FileMetaBase, S as FileManager, T as PossiblePromise, _ as ResolvePathParams, a as InputData, b as UserPluginWithLifeCycle, c as Plugin, d as PluginKey, f as PluginLifecycle, g as ResolveNameParams, h as PluginWithLifeCycle, i as Group, l as PluginContext, m as PluginParameter, n as Config, o as InputPath, p as PluginLifecycleHooks, r as GetPluginFactoryOptions, s as Output, t as BarrelType, u as PluginFactoryOptions, v as UserConfig, w as getSource, x as PluginManager, y as UserPlugin } from "./types-IOE1JAFC.cjs";
4
+ import { s as getDefaultBanner } from "./index-DaYv9bst.cjs";
5
5
 
6
6
  //#region src/BaseGenerator.d.ts
7
7
  /**
@@ -97,24 +97,24 @@ declare class PackageManager {
97
97
  //#endregion
98
98
  //#region src/utils/executeStrategies.d.ts
99
99
  type PromiseFunc$1<T = unknown, T2 = never> = (state?: T) => T2 extends never ? Promise<T> : Promise<T> | T2;
100
- type ValueOfPromiseFuncArray<TInput extends Array<unknown>> = TInput extends Array<PromiseFunc$1<infer X, infer Y>> ? X | Y : never;
101
- type SeqOutput<TInput extends Array<PromiseFunc$1<TValue, null>>, TValue> = Promise<Array<Awaited<ValueOfPromiseFuncArray<TInput>>>>;
100
+ type ValueOfPromiseFuncArray<TInput$1 extends Array<unknown>> = TInput$1 extends Array<PromiseFunc$1<infer X, infer Y>> ? X | Y : never;
101
+ type SeqOutput<TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1> = Promise<Array<Awaited<ValueOfPromiseFuncArray<TInput$1>>>>;
102
102
  /**
103
103
  * Chains promises
104
104
  */
105
105
 
106
- type HookFirstOutput<TInput extends Array<PromiseFunc$1<TValue, null>>, TValue = unknown> = ValueOfPromiseFuncArray<TInput>;
106
+ type HookFirstOutput<TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1 = unknown> = ValueOfPromiseFuncArray<TInput$1>;
107
107
  /**
108
108
  * Chains promises, first non-null result stops and returns
109
109
  */
110
110
 
111
- type HookParallelOutput<TInput extends Array<PromiseFunc$1<TValue, null>>, TValue> = Promise<PromiseSettledResult<Awaited<ValueOfPromiseFuncArray<TInput>>>[]>;
111
+ type HookParallelOutput<TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1> = Promise<PromiseSettledResult<Awaited<ValueOfPromiseFuncArray<TInput$1>>>[]>;
112
112
  /**
113
113
  * Runs an array of promise functions with optional concurrency limit.
114
114
  */
115
115
 
116
116
  type Strategy = 'seq' | 'first' | 'parallel';
117
- type StrategySwitch<TStrategy extends Strategy, TInput extends Array<PromiseFunc$1<TValue, null>>, TValue> = TStrategy extends 'first' ? HookFirstOutput<TInput, TValue> : TStrategy extends 'seq' ? SeqOutput<TInput, TValue> : TStrategy extends 'parallel' ? HookParallelOutput<TInput, TValue> : never;
117
+ type StrategySwitch<TStrategy$1 extends Strategy, TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1> = TStrategy$1 extends 'first' ? HookFirstOutput<TInput$1, TValue$1> : TStrategy$1 extends 'seq' ? SeqOutput<TInput$1, TValue$1> : TStrategy$1 extends 'parallel' ? HookParallelOutput<TInput$1, TValue$1> : never;
118
118
  //#endregion
119
119
  //#region src/PromiseManager.d.ts
120
120
  type PromiseFunc<T = unknown, T2 = never> = () => T2 extends never ? Promise<T> : Promise<T> | T2;
@@ -136,5 +136,5 @@ type PluginFactory<T extends PluginFactoryOptions = PluginFactoryOptions> = (opt
136
136
  type OptionalPluginFactory<T extends PluginFactoryOptions = PluginFactoryOptions> = (options?: T['options']) => UserPluginWithLifeCycle<T>;
137
137
  declare function createPlugin<T extends PluginFactoryOptions = PluginFactoryOptions>(factory: PluginFactory<T>): OptionalPluginFactory<T>;
138
138
  //#endregion
139
- export { BarrelType, BaseGenerator, Config, FileManager, type FileMetaBase, GetPluginFactoryOptions, Group, InputData, InputPath, Output, PackageManager, Plugin, PluginContext, PluginFactoryOptions, PluginKey, PluginLifecycle, PluginLifecycleHooks, PluginManager, PluginParameter, PluginWithLifeCycle, PromiseManager, ResolveNameParams, ResolvePathParams, UserConfig, UserPlugin, UserPluginWithLifeCycle, build, createPlugin, build as default, defineConfig, getDefaultBanner, getSource, isInputPath, safeBuild, setup };
139
+ export { BarrelType, BaseGenerator, Config, FileManager, type FileMetaBase, GetPluginFactoryOptions, Group, InputData, InputPath, Output, PackageManager, Plugin, PluginContext, PluginFactoryOptions, PluginKey, PluginLifecycle, PluginLifecycleHooks, PluginManager, PluginParameter, PluginWithLifeCycle, PromiseManager, ResolveNameParams, ResolvePathParams, UserConfig, UserPlugin, UserPluginWithLifeCycle, build, build as default, createPlugin, defineConfig, getDefaultBanner, getSource, isInputPath, safeBuild, setup };
140
140
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { ResolvedFile } from "./index-3smcdUnJ.js";
2
- import { Logger } from "./logger-B-4AXUmB.js";
3
- import { BarrelType, Config, FileManager, FileMetaBase, GetPluginFactoryOptions, Group, InputData, InputPath, Output, Plugin, PluginContext, PluginFactoryOptions, PluginKey, PluginLifecycle, PluginLifecycleHooks, PluginManager, PluginParameter, PluginWithLifeCycle, PossiblePromise, ResolveNameParams, ResolvePathParams, UserConfig, UserPlugin, UserPluginWithLifeCycle, getSource } from "./PluginManager-H8G0i6KS.js";
4
- import { getDefaultBanner } from "./index-B428LQ0Z.js";
1
+ import { d as ResolvedFile } from "./index-BY_kka8d.js";
2
+ import { n as Logger } from "./logger-BkGPbocD.js";
3
+ import { C as FileMetaBase, S as FileManager, T as PossiblePromise, _ as ResolvePathParams, a as InputData, b as UserPluginWithLifeCycle, c as Plugin, d as PluginKey, f as PluginLifecycle, g as ResolveNameParams, h as PluginWithLifeCycle, i as Group, l as PluginContext, m as PluginParameter, n as Config, o as InputPath, p as PluginLifecycleHooks, r as GetPluginFactoryOptions, s as Output, t as BarrelType, u as PluginFactoryOptions, v as UserConfig, w as getSource, x as PluginManager, y as UserPlugin } from "./types-DtokChaW.js";
4
+ import { s as getDefaultBanner } from "./index-CYcjcRdj.js";
5
5
 
6
6
  //#region src/BaseGenerator.d.ts
7
7
  /**
@@ -97,24 +97,24 @@ declare class PackageManager {
97
97
  //#endregion
98
98
  //#region src/utils/executeStrategies.d.ts
99
99
  type PromiseFunc$1<T = unknown, T2 = never> = (state?: T) => T2 extends never ? Promise<T> : Promise<T> | T2;
100
- type ValueOfPromiseFuncArray<TInput extends Array<unknown>> = TInput extends Array<PromiseFunc$1<infer X, infer Y>> ? X | Y : never;
101
- type SeqOutput<TInput extends Array<PromiseFunc$1<TValue, null>>, TValue> = Promise<Array<Awaited<ValueOfPromiseFuncArray<TInput>>>>;
100
+ type ValueOfPromiseFuncArray<TInput$1 extends Array<unknown>> = TInput$1 extends Array<PromiseFunc$1<infer X, infer Y>> ? X | Y : never;
101
+ type SeqOutput<TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1> = Promise<Array<Awaited<ValueOfPromiseFuncArray<TInput$1>>>>;
102
102
  /**
103
103
  * Chains promises
104
104
  */
105
105
 
106
- type HookFirstOutput<TInput extends Array<PromiseFunc$1<TValue, null>>, TValue = unknown> = ValueOfPromiseFuncArray<TInput>;
106
+ type HookFirstOutput<TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1 = unknown> = ValueOfPromiseFuncArray<TInput$1>;
107
107
  /**
108
108
  * Chains promises, first non-null result stops and returns
109
109
  */
110
110
 
111
- type HookParallelOutput<TInput extends Array<PromiseFunc$1<TValue, null>>, TValue> = Promise<PromiseSettledResult<Awaited<ValueOfPromiseFuncArray<TInput>>>[]>;
111
+ type HookParallelOutput<TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1> = Promise<PromiseSettledResult<Awaited<ValueOfPromiseFuncArray<TInput$1>>>[]>;
112
112
  /**
113
113
  * Runs an array of promise functions with optional concurrency limit.
114
114
  */
115
115
 
116
116
  type Strategy = 'seq' | 'first' | 'parallel';
117
- type StrategySwitch<TStrategy extends Strategy, TInput extends Array<PromiseFunc$1<TValue, null>>, TValue> = TStrategy extends 'first' ? HookFirstOutput<TInput, TValue> : TStrategy extends 'seq' ? SeqOutput<TInput, TValue> : TStrategy extends 'parallel' ? HookParallelOutput<TInput, TValue> : never;
117
+ type StrategySwitch<TStrategy$1 extends Strategy, TInput$1 extends Array<PromiseFunc$1<TValue$1, null>>, TValue$1> = TStrategy$1 extends 'first' ? HookFirstOutput<TInput$1, TValue$1> : TStrategy$1 extends 'seq' ? SeqOutput<TInput$1, TValue$1> : TStrategy$1 extends 'parallel' ? HookParallelOutput<TInput$1, TValue$1> : never;
118
118
  //#endregion
119
119
  //#region src/PromiseManager.d.ts
120
120
  type PromiseFunc<T = unknown, T2 = never> = () => T2 extends never ? Promise<T> : Promise<T> | T2;
@@ -136,5 +136,5 @@ type PluginFactory<T extends PluginFactoryOptions = PluginFactoryOptions> = (opt
136
136
  type OptionalPluginFactory<T extends PluginFactoryOptions = PluginFactoryOptions> = (options?: T['options']) => UserPluginWithLifeCycle<T>;
137
137
  declare function createPlugin<T extends PluginFactoryOptions = PluginFactoryOptions>(factory: PluginFactory<T>): OptionalPluginFactory<T>;
138
138
  //#endregion
139
- export { BarrelType, BaseGenerator, Config, FileManager, type FileMetaBase, GetPluginFactoryOptions, Group, InputData, InputPath, Output, PackageManager, Plugin, PluginContext, PluginFactoryOptions, PluginKey, PluginLifecycle, PluginLifecycleHooks, PluginManager, PluginParameter, PluginWithLifeCycle, PromiseManager, ResolveNameParams, ResolvePathParams, UserConfig, UserPlugin, UserPluginWithLifeCycle, build, createPlugin, build as default, defineConfig, getDefaultBanner, getSource, isInputPath, safeBuild, setup };
139
+ export { BarrelType, BaseGenerator, Config, FileManager, type FileMetaBase, GetPluginFactoryOptions, Group, InputData, InputPath, Output, PackageManager, Plugin, PluginContext, PluginFactoryOptions, PluginKey, PluginLifecycle, PluginLifecycleHooks, PluginManager, PluginParameter, PluginWithLifeCycle, PromiseManager, ResolveNameParams, ResolvePathParams, UserConfig, UserPlugin, UserPluginWithLifeCycle, build, build as default, createPlugin, defineConfig, getDefaultBanner, getSource, isInputPath, safeBuild, setup };
140
140
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { clean, exists, getRelativePath, read, readSync } from "./fs-B7JGYSzW.js";
2
- import "./write-O9QWtBJ_.js";
3
- import { EventEmitter, createLogger } from "./logger-CibtdnUJ.js";
4
- import { transformReservedWord, trim } from "./transformers-j70QaKtD.js";
5
- import { FileManager, Queue, URLPath, getDefaultBanner, getSource, pLimit as pLimit$1, setUniqueName } from "./FileManager-CkRuIf5a.js";
1
+ import { a as read, c as clean, o as readSync, r as getRelativePath, s as exists } from "./fs-BIPMUfpW.js";
2
+ import "./write-CxO1CDML.js";
3
+ import { a as EventEmitter, n as createLogger } from "./logger-CsQ2EGpR.js";
4
+ import { a as transformReservedWord, l as trim } from "./transformers-5BubQvcu.js";
5
+ import { b as Queue, c as getDefaultBanner, f as setUniqueName, n as getSource, t as FileManager, u as URLPath, y as pLimit$1 } from "./FileManager-zlhCXf6A.js";
6
6
  import mod from "node:module";
7
7
  import path, { join, resolve } from "node:path";
8
8
  import pc from "picocolors";
@@ -977,5 +977,5 @@ var PackageManager = class PackageManager {
977
977
  };
978
978
 
979
979
  //#endregion
980
- export { BaseGenerator, FileManager, PackageManager, PluginManager, PromiseManager, build, createPlugin, build as default, defineConfig, getDefaultBanner, getSource, isInputPath, safeBuild, setup };
980
+ export { BaseGenerator, FileManager, PackageManager, PluginManager, PromiseManager, build, build as default, createPlugin, defineConfig, getDefaultBanner, getSource, isInputPath, safeBuild, setup };
981
981
  //# sourceMappingURL=index.js.map
@@ -65,5 +65,5 @@ declare function createLogger({
65
65
  declare function randomColour(text?: string): 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray';
66
66
  declare function randomCliColour(text?: string): string;
67
67
  //#endregion
68
- export { EventEmitter, LogMapper, Logger, createLogger, randomCliColour, randomColour };
69
- //# sourceMappingURL=logger-B-4AXUmB.d.ts.map
68
+ export { randomColour as a, randomCliColour as i, Logger as n, EventEmitter as o, createLogger as r, LogMapper as t };
69
+ //# sourceMappingURL=logger-BkGPbocD.d.ts.map
@@ -1,4 +1,4 @@
1
- import { write } from "./write-O9QWtBJ_.js";
1
+ import { t as write } from "./write-CxO1CDML.js";
2
2
  import { resolve, sep } from "node:path";
3
3
  import pc from "picocolors";
4
4
  import { formatWithOptions } from "node:util";
@@ -945,7 +945,7 @@ function createConsola(options = {}) {
945
945
  defaults: { level },
946
946
  stdout: process.stdout,
947
947
  stderr: process.stderr,
948
- prompt: (...args) => import("./prompt-BYM8dl_2.js").then((m) => m.prompt(...args)),
948
+ prompt: (...args) => import("./prompt-C5GR2LPU.js").then((m) => m.prompt(...args)),
949
949
  reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
950
950
  ...options
951
951
  });
@@ -1069,5 +1069,5 @@ function randomCliColour(text) {
1069
1069
  }
1070
1070
 
1071
1071
  //#endregion
1072
- export { EventEmitter$1 as EventEmitter, LogMapper, createLogger, randomCliColour, randomColour };
1073
- //# sourceMappingURL=logger-CibtdnUJ.js.map
1072
+ export { EventEmitter$1 as a, randomColour as i, createLogger as n, randomCliColour as r, LogMapper as t };
1073
+ //# sourceMappingURL=logger-CsQ2EGpR.js.map