@storm-software/config-tools 1.133.0 → 1.133.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.
Files changed (93) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-22DJFJ62.js +6 -0
  3. package/dist/{chunk-NEKG6P4K.js → chunk-25WKQUCS.js} +10 -10
  4. package/dist/{chunk-NT3PYFHS.mjs → chunk-2Z2NUZGO.mjs} +1 -1
  5. package/dist/{chunk-TNLZVCTP.mjs → chunk-36YIAZMD.mjs} +3 -3
  6. package/dist/{chunk-C4VLVXJN.js → chunk-4I3VB7B4.js} +26 -26
  7. package/dist/{chunk-LPQ4FF5L.js → chunk-4MBJSEBS.js} +23 -23
  8. package/dist/{chunk-XKZMC6KB.mjs → chunk-5EN3BWVN.mjs} +1 -1
  9. package/dist/{chunk-IIGOPGL6.mjs → chunk-5FVCBU6R.mjs} +4 -4
  10. package/dist/{chunk-DMD4BZNL.mjs → chunk-5GHDZSSH.mjs} +1 -1
  11. package/dist/{chunk-32UYMWRB.js → chunk-7GSJ2YLJ.js} +4 -4
  12. package/dist/{chunk-AKCURVFT.mjs → chunk-EG4OHTQF.mjs} +2 -2
  13. package/dist/{chunk-LBOANMDU.mjs → chunk-EVEP57Q3.mjs} +2 -2
  14. package/dist/{chunk-6BTUPXXY.mjs → chunk-GKEOM3CA.mjs} +2 -2
  15. package/dist/{chunk-VDI6RB2K.mjs → chunk-GORCQQGS.mjs} +4 -4
  16. package/dist/{chunk-57NZN5LS.js → chunk-HB72CIXB.js} +6 -6
  17. package/dist/{chunk-466C365J.mjs → chunk-I6PX575K.mjs} +8 -8
  18. package/dist/{chunk-6HNUCWCP.js → chunk-JYGRRNZP.js} +4 -4
  19. package/dist/{chunk-H27IJBG5.js → chunk-K44Z36LS.js} +14 -14
  20. package/dist/{chunk-UHP64YQS.js → chunk-K7V3S3BW.js} +3 -3
  21. package/dist/{chunk-VRBWYSRL.mjs → chunk-KFTO4V5W.mjs} +1 -1
  22. package/dist/{chunk-DN2ONFFH.js → chunk-KNCWTODF.js} +34 -34
  23. package/dist/{chunk-JB2OGVMT.mjs → chunk-KVGJIBF2.mjs} +1 -1
  24. package/dist/{chunk-CAC5QWDO.mjs → chunk-KX62XKXR.mjs} +3 -3
  25. package/dist/{chunk-42LDHZTN.mjs → chunk-LJLITR54.mjs} +1 -1
  26. package/dist/{chunk-SMASJSMP.mjs → chunk-LQCUO5PV.mjs} +1 -1
  27. package/dist/{chunk-B67YPZJS.mjs → chunk-LQGTS5ON.mjs} +1 -1
  28. package/dist/{chunk-P2L7RR4C.mjs → chunk-MJJ7UOJ7.mjs} +1 -1
  29. package/dist/{chunk-LC4R7SYL.js → chunk-MW3ECYT3.js} +28 -28
  30. package/dist/chunk-OHHQHME7.js +6 -0
  31. package/dist/chunk-OLORJVVT.js +6 -0
  32. package/dist/chunk-PIDYVUHK.js +6 -0
  33. package/dist/{chunk-PUDMF65B.mjs → chunk-PPRH5US5.mjs} +2 -2
  34. package/dist/{chunk-KJGMZH7T.mjs → chunk-QNMM2MLO.mjs} +1 -1
  35. package/dist/{chunk-EUW3VQ2H.js → chunk-QQ2ANR5T.js} +35 -35
  36. package/dist/chunk-RAXO3D6D.js +70 -0
  37. package/dist/{chunk-AKW3LGAX.js → chunk-RBSVNX4W.js} +2 -2
  38. package/dist/{chunk-B62ZVSHB.js → chunk-T7WO327S.js} +8 -8
  39. package/dist/{chunk-7CXUCCRW.js → chunk-VK6ZC6XP.js} +7 -7
  40. package/dist/{chunk-RZ7CQ6LI.js → chunk-WLOD7C6O.js} +2 -2
  41. package/dist/{chunk-M74C3ZKJ.mjs → chunk-WSK3J3XQ.mjs} +4 -4
  42. package/dist/{chunk-U2AZDXL5.mjs → chunk-XOVQCXWL.mjs} +5 -5
  43. package/dist/{chunk-5V4E557T.js → chunk-Z5UYG3QU.js} +4 -4
  44. package/dist/{chunk-7CJCN6LD.js → chunk-Z6KGUYVE.js} +27 -27
  45. package/dist/{chunk-ST6NK2TD.mjs → chunk-ZJOTERLI.mjs} +1 -1
  46. package/dist/config-file/get-config-file.js +17 -17
  47. package/dist/config-file/get-config-file.mjs +16 -16
  48. package/dist/config-file/index.js +18 -18
  49. package/dist/config-file/index.mjs +17 -17
  50. package/dist/create-storm-config.js +25 -25
  51. package/dist/create-storm-config.mjs +19 -19
  52. package/dist/env/get-env.js +7 -7
  53. package/dist/env/get-env.mjs +6 -6
  54. package/dist/env/index.js +9 -9
  55. package/dist/env/index.mjs +8 -8
  56. package/dist/env/set-env.js +6 -6
  57. package/dist/env/set-env.mjs +5 -5
  58. package/dist/index.js +24 -24
  59. package/dist/index.mjs +22 -22
  60. package/dist/logger/chalk.js +3 -3
  61. package/dist/logger/chalk.mjs +2 -2
  62. package/dist/logger/console.js +11 -11
  63. package/dist/logger/console.mjs +10 -10
  64. package/dist/logger/get-log-level.js +4 -4
  65. package/dist/logger/get-log-level.mjs +3 -3
  66. package/dist/logger/index.js +12 -12
  67. package/dist/logger/index.mjs +11 -11
  68. package/dist/types.js +3 -3
  69. package/dist/types.mjs +2 -2
  70. package/dist/utilities/apply-workspace-tokens.js +6 -6
  71. package/dist/utilities/apply-workspace-tokens.mjs +5 -5
  72. package/dist/utilities/correct-paths.js +3 -3
  73. package/dist/utilities/correct-paths.mjs +2 -2
  74. package/dist/utilities/file-path-utils.js +3 -3
  75. package/dist/utilities/file-path-utils.mjs +2 -2
  76. package/dist/utilities/find-up.js +3 -3
  77. package/dist/utilities/find-up.mjs +2 -2
  78. package/dist/utilities/find-workspace-root.js +5 -5
  79. package/dist/utilities/find-workspace-root.mjs +4 -4
  80. package/dist/utilities/get-default-config.js +7 -7
  81. package/dist/utilities/get-default-config.mjs +6 -6
  82. package/dist/utilities/index.js +16 -16
  83. package/dist/utilities/index.mjs +15 -15
  84. package/dist/utilities/process-handler.js +12 -12
  85. package/dist/utilities/process-handler.mjs +11 -11
  86. package/dist/utilities/run.js +3 -3
  87. package/dist/utilities/run.mjs +2 -2
  88. package/package.json +1 -1
  89. package/dist/chunk-5TIISDHW.js +0 -6
  90. package/dist/chunk-7ODMGALX.js +0 -6
  91. package/dist/chunk-7Q6P3AZK.js +0 -6
  92. package/dist/chunk-AHMQBZSL.js +0 -70
  93. package/dist/chunk-DY2IGU5S.js +0 -6
@@ -3,43 +3,43 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkLC4R7SYLjs = require('./chunk-LC4R7SYL.js');
6
+ var _chunkMW3ECYT3js = require('./chunk-MW3ECYT3.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkAKW3LGAXjs = require('./chunk-AKW3LGAX.js');
10
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
11
11
 
12
12
  // src/utilities/process-handler.ts
13
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
14
- var exitWithError = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (config) => {
15
- _chunkLC4R7SYLjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
13
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
14
+ var exitWithError = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config) => {
15
+ _chunkMW3ECYT3js.writeFatal.call(void 0, "Exiting script with an error status...", config);
16
16
  process.exit(1);
17
17
  }, "exitWithError");
18
- var exitWithSuccess = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (config) => {
19
- _chunkLC4R7SYLjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
18
+ var exitWithSuccess = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config) => {
19
+ _chunkMW3ECYT3js.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
20
20
  process.exit(0);
21
21
  }, "exitWithSuccess");
22
- var handleProcess = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (config) => {
23
- _chunkLC4R7SYLjs.writeTrace.call(void 0, `Using the following arguments to process the script: ${process.argv.join(", ")}`, config);
22
+ var handleProcess = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config) => {
23
+ _chunkMW3ECYT3js.writeTrace.call(void 0, `Using the following arguments to process the script: ${process.argv.join(", ")}`, config);
24
24
  process.on("unhandledRejection", (error) => {
25
- _chunkLC4R7SYLjs.writeError.call(void 0, `An Unhandled Rejection occurred while running the program: ${error}`, config);
25
+ _chunkMW3ECYT3js.writeError.call(void 0, `An Unhandled Rejection occurred while running the program: ${error}`, config);
26
26
  exitWithError(config);
27
27
  });
28
28
  process.on("uncaughtException", (error) => {
29
- _chunkLC4R7SYLjs.writeError.call(void 0, `An Uncaught Exception occurred while running the program: ${error.message}
29
+ _chunkMW3ECYT3js.writeError.call(void 0, `An Uncaught Exception occurred while running the program: ${error.message}
30
30
  Stacktrace: ${error.stack}`, config);
31
31
  exitWithError(config);
32
32
  });
33
33
  process.on("SIGTERM", (signal) => {
34
- _chunkLC4R7SYLjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
34
+ _chunkMW3ECYT3js.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
35
35
  exitWithError(config);
36
36
  });
37
37
  process.on("SIGINT", (signal) => {
38
- _chunkLC4R7SYLjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
38
+ _chunkMW3ECYT3js.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
39
39
  exitWithError(config);
40
40
  });
41
41
  process.on("SIGHUP", (signal) => {
42
- _chunkLC4R7SYLjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
42
+ _chunkMW3ECYT3js.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
43
43
  exitWithError(config);
44
44
  });
45
45
  }, "handleProcess");
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkAKW3LGAXjs = require('./chunk-AKW3LGAX.js');
4
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
5
5
 
6
6
  // src/utilities/find-up.ts
7
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
7
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
8
8
  var _fs = require('fs');
9
9
  var _path = require('path');
10
10
  var MAX_PATH_SEARCH_DEPTH = 30;
@@ -20,7 +20,7 @@ function findFolderUp(startPath, endFileNames) {
20
20
  }
21
21
  return void 0;
22
22
  }
23
- _chunkAKW3LGAXjs.__name.call(void 0, findFolderUp, "findFolderUp");
23
+ _chunkRBSVNX4Wjs.__name.call(void 0, findFolderUp, "findFolderUp");
24
24
 
25
25
 
26
26
 
@@ -4,7 +4,7 @@ import {
4
4
  __require,
5
5
  __toESM,
6
6
  init_esm_shims
7
- } from "./chunk-LBOANMDU.mjs";
7
+ } from "./chunk-EVEP57Q3.mjs";
8
8
 
9
9
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
10
10
  var require_util = __commonJS({
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLC4R7SYLjs = require('./chunk-LC4R7SYL.js');
3
+ var _chunkMW3ECYT3js = require('./chunk-MW3ECYT3.js');
4
4
 
5
5
 
6
- var _chunkB62ZVSHBjs = require('./chunk-B62ZVSHB.js');
6
+ var _chunkT7WO327Sjs = require('./chunk-T7WO327S.js');
7
7
 
8
8
 
9
- var _chunk6HNUCWCPjs = require('./chunk-6HNUCWCP.js');
9
+ var _chunkJYGRRNZPjs = require('./chunk-JYGRRNZP.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkAKW3LGAXjs = require('./chunk-AKW3LGAX.js');
13
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
14
14
 
15
15
  // src/config-file/get-config-file.ts
16
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
16
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
17
17
 
18
18
  // ../../node_modules/.pnpm/c12@2.0.1/node_modules/c12/dist/index.mjs
19
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
19
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
20
20
 
21
21
  // ../../node_modules/.pnpm/c12@2.0.1/node_modules/c12/dist/shared/c12.B4fc1S0C.mjs
22
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
22
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
23
23
  var _fs = require('fs');
24
24
  var _promises = require('fs/promises');
25
25
  var _os = require('os');
@@ -29,7 +29,7 @@ var _mlly = require('mlly');
29
29
  var _rc9 = require('rc9'); var rc9 = _interopRequireWildcard(_rc9);
30
30
 
31
31
  // ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
32
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
32
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
33
33
  function isPlainObject(value) {
34
34
  if (value === null || typeof value !== "object") {
35
35
  return false;
@@ -46,7 +46,7 @@ function isPlainObject(value) {
46
46
  }
47
47
  return true;
48
48
  }
49
- _chunkAKW3LGAXjs.__name.call(void 0, isPlainObject, "isPlainObject");
49
+ _chunkRBSVNX4Wjs.__name.call(void 0, isPlainObject, "isPlainObject");
50
50
  function _defu(baseObject, defaults, namespace = ".", merger) {
51
51
  if (!isPlainObject(defaults)) {
52
52
  return _defu(baseObject, {}, namespace, merger);
@@ -78,14 +78,14 @@ function _defu(baseObject, defaults, namespace = ".", merger) {
78
78
  }
79
79
  return object;
80
80
  }
81
- _chunkAKW3LGAXjs.__name.call(void 0, _defu, "_defu");
81
+ _chunkRBSVNX4Wjs.__name.call(void 0, _defu, "_defu");
82
82
  function createDefu(merger) {
83
83
  return (...arguments_) => (
84
84
  // eslint-disable-next-line unicorn/no-array-reduce
85
85
  arguments_.reduce((p, c) => _defu(p, c, "", merger), {})
86
86
  );
87
87
  }
88
- _chunkAKW3LGAXjs.__name.call(void 0, createDefu, "createDefu");
88
+ _chunkRBSVNX4Wjs.__name.call(void 0, createDefu, "createDefu");
89
89
  var defu = createDefu();
90
90
  var defuFn = createDefu((object, key, currentValue) => {
91
91
  if (object[key] !== void 0 && typeof currentValue === "function") {
@@ -119,7 +119,7 @@ async function setupDotenv(options) {
119
119
  }
120
120
  return environment;
121
121
  }
122
- _chunkAKW3LGAXjs.__name.call(void 0, setupDotenv, "setupDotenv");
122
+ _chunkRBSVNX4Wjs.__name.call(void 0, setupDotenv, "setupDotenv");
123
123
  async function loadDotenv(options) {
124
124
  const environment = /* @__PURE__ */ Object.create(null);
125
125
  const dotenvFile = _pathe.resolve.call(void 0, options.cwd, options.fileName);
@@ -136,12 +136,12 @@ async function loadDotenv(options) {
136
136
  }
137
137
  return environment;
138
138
  }
139
- _chunkAKW3LGAXjs.__name.call(void 0, loadDotenv, "loadDotenv");
139
+ _chunkRBSVNX4Wjs.__name.call(void 0, loadDotenv, "loadDotenv");
140
140
  function interpolate(target, source = {}, parse2 = (v) => v) {
141
141
  function getValue(key) {
142
142
  return source[key] === void 0 ? target[key] : source[key];
143
143
  }
144
- _chunkAKW3LGAXjs.__name.call(void 0, getValue, "getValue");
144
+ _chunkRBSVNX4Wjs.__name.call(void 0, getValue, "getValue");
145
145
  function interpolate2(value, parents = []) {
146
146
  if (typeof value !== "string") {
147
147
  return value;
@@ -174,19 +174,19 @@ function interpolate(target, source = {}, parse2 = (v) => v) {
174
174
  }, value)
175
175
  );
176
176
  }
177
- _chunkAKW3LGAXjs.__name.call(void 0, interpolate2, "interpolate2");
177
+ _chunkRBSVNX4Wjs.__name.call(void 0, interpolate2, "interpolate2");
178
178
  for (const key in target) {
179
179
  target[key] = interpolate2(getValue(key));
180
180
  }
181
181
  }
182
- _chunkAKW3LGAXjs.__name.call(void 0, interpolate, "interpolate");
183
- var _normalize = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (p) => _optionalChain([p, 'optionalAccess', _3 => _3.replace, 'call', _4 => _4(/\\/g, "/")]), "_normalize");
182
+ _chunkRBSVNX4Wjs.__name.call(void 0, interpolate, "interpolate");
183
+ var _normalize = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (p) => _optionalChain([p, 'optionalAccess', _3 => _3.replace, 'call', _4 => _4(/\\/g, "/")]), "_normalize");
184
184
  var ASYNC_LOADERS = {
185
- ".yaml": /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/yaml"))).then((r) => r.parseYAML), ".yaml"),
186
- ".yml": /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/yaml"))).then((r) => r.parseYAML), ".yml"),
187
- ".jsonc": /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/jsonc"))).then((r) => r.parseJSONC), ".jsonc"),
188
- ".json5": /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/json5"))).then((r) => r.parseJSON5), ".json5"),
189
- ".toml": /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/toml"))).then((r) => r.parseTOML), ".toml")
185
+ ".yaml": /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/yaml"))).then((r) => r.parseYAML), ".yaml"),
186
+ ".yml": /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/yaml"))).then((r) => r.parseYAML), ".yml"),
187
+ ".jsonc": /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/jsonc"))).then((r) => r.parseJSONC), ".jsonc"),
188
+ ".json5": /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/json5"))).then((r) => r.parseJSON5), ".json5"),
189
+ ".toml": /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("confbox/toml"))).then((r) => r.parseTOML), ".toml")
190
190
  };
191
191
  var SUPPORTED_EXTENSIONS = [
192
192
  // with jiti
@@ -313,7 +313,7 @@ async function loadConfig(options) {
313
313
  }
314
314
  return r;
315
315
  }
316
- _chunkAKW3LGAXjs.__name.call(void 0, loadConfig, "loadConfig");
316
+ _chunkRBSVNX4Wjs.__name.call(void 0, loadConfig, "loadConfig");
317
317
  async function extendConfig(config, options) {
318
318
  config._layers = config._layers || [];
319
319
  if (!options.extend) {
@@ -366,7 +366,7 @@ async function extendConfig(config, options) {
366
366
  }
367
367
  }
368
368
  }
369
- _chunkAKW3LGAXjs.__name.call(void 0, extendConfig, "extendConfig");
369
+ _chunkRBSVNX4Wjs.__name.call(void 0, extendConfig, "extendConfig");
370
370
  var GIGET_PREFIXES = [
371
371
  "gh:",
372
372
  "github:",
@@ -410,7 +410,7 @@ async function resolveConfig(source, options, sourceOptions = {}) {
410
410
  });
411
411
  source = cloned.dir;
412
412
  }
413
- const tryResolve = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (id) => {
413
+ const tryResolve = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (id) => {
414
414
  const resolved = options.jiti.esmResolve(id, { try: true });
415
415
  return resolved ? _mlly.fileURLToPath.call(void 0, resolved) : void 0;
416
416
  }, "tryResolve");
@@ -465,7 +465,7 @@ async function resolveConfig(source, options, sourceOptions = {}) {
465
465
  res.source = _normalize(res.source);
466
466
  return res;
467
467
  }
468
- _chunkAKW3LGAXjs.__name.call(void 0, resolveConfig, "resolveConfig");
468
+ _chunkRBSVNX4Wjs.__name.call(void 0, resolveConfig, "resolveConfig");
469
469
 
470
470
  // ../../node_modules/.pnpm/c12@2.0.1/node_modules/c12/dist/index.mjs
471
471
  var _perfectdebounce = require('perfect-debounce');
@@ -481,8 +481,8 @@ var _perfectdebounce = require('perfect-debounce');
481
481
 
482
482
 
483
483
  // src/config-file/get-config-file.ts
484
- var getConfigFileByName = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
485
- const workspacePath = filePath || _chunkB62ZVSHBjs.findWorkspaceRoot.call(void 0, filePath);
484
+ var getConfigFileByName = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
485
+ const workspacePath = filePath || _chunkT7WO327Sjs.findWorkspaceRoot.call(void 0, filePath);
486
486
  let config = loadConfig({
487
487
  cwd: workspacePath,
488
488
  packageJson: true,
@@ -490,7 +490,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, a
490
490
  envName: _optionalChain([fileName, 'optionalAccess', _9 => _9.toUpperCase, 'call', _10 => _10()]),
491
491
  jitiOptions: {
492
492
  debug: false,
493
- cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk6HNUCWCPjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
493
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkJYGRRNZPjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
494
494
  },
495
495
  ...options
496
496
  });
@@ -502,7 +502,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, a
502
502
  envName: _optionalChain([fileName, 'optionalAccess', _11 => _11.toUpperCase, 'call', _12 => _12()]),
503
503
  jitiOptions: {
504
504
  debug: false,
505
- cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk6HNUCWCPjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
505
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkJYGRRNZPjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
506
506
  },
507
507
  configFile: fileName,
508
508
  ...options
@@ -510,13 +510,13 @@ var getConfigFileByName = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, a
510
510
  }
511
511
  return config;
512
512
  }, "getConfigFileByName");
513
- var getConfigFile = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
514
- const workspacePath = filePath ? filePath : _chunkB62ZVSHBjs.findWorkspaceRoot.call(void 0, filePath);
513
+ var getConfigFile = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
514
+ const workspacePath = filePath ? filePath : _chunkT7WO327Sjs.findWorkspaceRoot.call(void 0, filePath);
515
515
  const result = await getConfigFileByName("storm", workspacePath);
516
516
  let config = result.config;
517
517
  const configFile = result.configFile;
518
518
  if (config && configFile && Object.keys(config).length > 0) {
519
- _chunkLC4R7SYLjs.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
519
+ _chunkMW3ECYT3js.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
520
520
  logLevel: "all"
521
521
  });
522
522
  }
@@ -524,7 +524,7 @@ var getConfigFile = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, async (
524
524
  const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
525
525
  for (const result2 of results) {
526
526
  if (_optionalChain([result2, 'optionalAccess', _13 => _13.config]) && _optionalChain([result2, 'optionalAccess', _14 => _14.configFile]) && Object.keys(result2.config).length > 0) {
527
- _chunkLC4R7SYLjs.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
527
+ _chunkMW3ECYT3js.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
528
528
  logLevel: "all"
529
529
  });
530
530
  config = defu(_nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-LBOANMDU.mjs";
3
+ } from "./chunk-EVEP57Q3.mjs";
4
4
 
5
5
  // src/env/index.ts
6
6
  init_esm_shims();
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-TNLZVCTP.mjs";
3
+ } from "./chunk-36YIAZMD.mjs";
4
4
  import {
5
5
  STORM_DEFAULT_HOMEPAGE,
6
6
  STORM_DEFAULT_LICENSE
7
- } from "./chunk-ST6NK2TD.mjs";
7
+ } from "./chunk-ZJOTERLI.mjs";
8
8
  import {
9
9
  __name,
10
10
  init_esm_shims
11
- } from "./chunk-LBOANMDU.mjs";
11
+ } from "./chunk-EVEP57Q3.mjs";
12
12
 
13
13
  // src/utilities/get-default-config.ts
14
14
  init_esm_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __name,
3
3
  init_esm_shims
4
- } from "./chunk-LBOANMDU.mjs";
4
+ } from "./chunk-EVEP57Q3.mjs";
5
5
 
6
6
  // src/utilities/file-path-utils.ts
7
7
  init_esm_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __name,
3
3
  init_esm_shims
4
- } from "./chunk-LBOANMDU.mjs";
4
+ } from "./chunk-EVEP57Q3.mjs";
5
5
 
6
6
  // src/utilities/find-up.ts
7
7
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-LBOANMDU.mjs";
3
+ } from "./chunk-EVEP57Q3.mjs";
4
4
 
5
5
  // src/utilities/index.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-LBOANMDU.mjs";
3
+ } from "./chunk-EVEP57Q3.mjs";
4
4
 
5
5
  // src/types.ts
6
6
  init_esm_shims();
@@ -1,62 +1,62 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkNEKG6P4Kjs = require('./chunk-NEKG6P4K.js');
3
+ var _chunk25WKQUCSjs = require('./chunk-25WKQUCS.js');
4
4
 
5
5
 
6
- var _chunkEUW3VQ2Hjs = require('./chunk-EUW3VQ2H.js');
6
+ var _chunkQQ2ANR5Tjs = require('./chunk-QQ2ANR5T.js');
7
7
 
8
8
 
9
- var _chunkAHMQBZSLjs = require('./chunk-AHMQBZSL.js');
9
+ var _chunkRAXO3D6Djs = require('./chunk-RAXO3D6D.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkRZ7CQ6LIjs = require('./chunk-RZ7CQ6LI.js');
13
+ var _chunkWLOD7C6Ojs = require('./chunk-WLOD7C6O.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkAKW3LGAXjs = require('./chunk-AKW3LGAX.js');
17
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
18
18
 
19
19
  // src/logger/console.ts
20
- _chunkAKW3LGAXjs.init_cjs_shims.call(void 0, );
21
- var getLogFn = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (logLevel = _chunkRZ7CQ6LIjs.LogLevel.INFO, config = {}) => {
22
- const _chalk = _chunkEUW3VQ2Hjs.getChalk.call(void 0, );
23
- const colors = !_optionalChain([config, 'access', _2 => _2.colors, 'optionalAccess', _3 => _3.dark]) && !_optionalChain([config, 'access', _4 => _4.colors, 'optionalAccess', _5 => _5["base"]]) && !_optionalChain([config, 'access', _6 => _6.colors, 'optionalAccess', _7 => _7["base"], 'optionalAccess', _8 => _8.dark]) ? _chunkNEKG6P4Kjs.DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) ? _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"]]) : _chunkNEKG6P4Kjs.DEFAULT_COLOR_CONFIG;
24
- const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || _chunkRZ7CQ6LIjs.LogLevelLabel.INFO;
25
- if (typeof logLevel === "number" && (logLevel >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, configLogLevel) || logLevel <= _chunkRZ7CQ6LIjs.LogLevel.SILENT) || typeof logLevel === "string" && _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel) >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, configLogLevel)) {
20
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
21
+ var getLogFn = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (logLevel = _chunkWLOD7C6Ojs.LogLevel.INFO, config = {}) => {
22
+ const _chalk = _chunkQQ2ANR5Tjs.getChalk.call(void 0, );
23
+ const colors = !_optionalChain([config, 'access', _2 => _2.colors, 'optionalAccess', _3 => _3.dark]) && !_optionalChain([config, 'access', _4 => _4.colors, 'optionalAccess', _5 => _5["base"]]) && !_optionalChain([config, 'access', _6 => _6.colors, 'optionalAccess', _7 => _7["base"], 'optionalAccess', _8 => _8.dark]) ? _chunk25WKQUCSjs.DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) ? _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"]]) : _chunk25WKQUCSjs.DEFAULT_COLOR_CONFIG;
24
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || _chunkWLOD7C6Ojs.LogLevelLabel.INFO;
25
+ if (typeof logLevel === "number" && (logLevel >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, configLogLevel) || logLevel <= _chunkWLOD7C6Ojs.LogLevel.SILENT) || typeof logLevel === "string" && _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel) >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, configLogLevel)) {
26
26
  return (_) => {
27
27
  };
28
28
  }
29
- if (typeof logLevel === "number" && _chunkRZ7CQ6LIjs.LogLevel.FATAL >= logLevel || typeof logLevel === "string" && _chunkRZ7CQ6LIjs.LogLevel.FATAL >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel)) {
29
+ if (typeof logLevel === "number" && _chunkWLOD7C6Ojs.LogLevel.FATAL >= logLevel || typeof logLevel === "string" && _chunkWLOD7C6Ojs.LogLevel.FATAL >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel)) {
30
30
  return (message) => {
31
31
  console.error(`${_chalk.bold.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a"))).whiteBright(" \u{1F480} Fatal ")} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(formatLogMessage(message))}
32
32
  `);
33
33
  };
34
34
  }
35
- if (typeof logLevel === "number" && _chunkRZ7CQ6LIjs.LogLevel.ERROR >= logLevel || typeof logLevel === "string" && _chunkRZ7CQ6LIjs.LogLevel.ERROR >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel)) {
35
+ if (typeof logLevel === "number" && _chunkWLOD7C6Ojs.LogLevel.ERROR >= logLevel || typeof logLevel === "string" && _chunkWLOD7C6Ojs.LogLevel.ERROR >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel)) {
36
36
  return (message) => {
37
37
  console.error(`${_chalk.bold.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.danger, () => ( "#f85149"))).whiteBright(" \u2718 Error ")} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(formatLogMessage(message))}
38
38
  `);
39
39
  };
40
40
  }
41
- if (typeof logLevel === "number" && _chunkRZ7CQ6LIjs.LogLevel.WARN >= logLevel || typeof logLevel === "string" && _chunkRZ7CQ6LIjs.LogLevel.WARN >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel)) {
41
+ if (typeof logLevel === "number" && _chunkWLOD7C6Ojs.LogLevel.WARN >= logLevel || typeof logLevel === "string" && _chunkWLOD7C6Ojs.LogLevel.WARN >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel)) {
42
42
  return (message) => {
43
43
  console.warn(`${_chalk.bold.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.warning, () => ( "#e3b341"))).whiteBright(" \u26A0 Warn ")} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(formatLogMessage(message))}
44
44
  `);
45
45
  };
46
46
  }
47
- if (typeof logLevel === "number" && _chunkRZ7CQ6LIjs.LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && _chunkRZ7CQ6LIjs.LogLevel.SUCCESS >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel)) {
47
+ if (typeof logLevel === "number" && _chunkWLOD7C6Ojs.LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && _chunkWLOD7C6Ojs.LogLevel.SUCCESS >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel)) {
48
48
  return (message) => {
49
49
  console.info(`${_chalk.bold.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.success, () => ( "#56d364"))).whiteBright(" \u2713 Success ")} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(formatLogMessage(message))}
50
50
  `);
51
51
  };
52
52
  }
53
- if (typeof logLevel === "number" && _chunkRZ7CQ6LIjs.LogLevel.INFO >= logLevel || typeof logLevel === "string" && _chunkRZ7CQ6LIjs.LogLevel.INFO >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel)) {
53
+ if (typeof logLevel === "number" && _chunkWLOD7C6Ojs.LogLevel.INFO >= logLevel || typeof logLevel === "string" && _chunkWLOD7C6Ojs.LogLevel.INFO >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel)) {
54
54
  return (message) => {
55
55
  console.info(`${_chalk.bold.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.info, () => ( "#58a6ff"))).whiteBright(" \u2139 Info ")} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(formatLogMessage(message))}
56
56
  `);
57
57
  };
58
58
  }
59
- if (typeof logLevel === "number" && _chunkRZ7CQ6LIjs.LogLevel.TRACE >= logLevel || typeof logLevel === "string" && _chunkRZ7CQ6LIjs.LogLevel.TRACE >= _chunkAHMQBZSLjs.getLogLevel.call(void 0, logLevel)) {
59
+ if (typeof logLevel === "number" && _chunkWLOD7C6Ojs.LogLevel.TRACE >= logLevel || typeof logLevel === "string" && _chunkWLOD7C6Ojs.LogLevel.TRACE >= _chunkRAXO3D6Djs.getLogLevel.call(void 0, logLevel)) {
60
60
  return (message) => {
61
61
  console.debug(`${_chalk.bold.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(">")} ${_chalk.bold.bgHex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6"))).whiteBright(" \u{1F6E0} Debug ")} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(formatLogMessage(message))}
62
62
  `);
@@ -67,15 +67,15 @@ var getLogFn = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (logLevel =
67
67
  `);
68
68
  };
69
69
  }, "getLogFn");
70
- var writeFatal = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.FATAL, config)(message), "writeFatal");
71
- var writeError = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.ERROR, config)(message), "writeError");
72
- var writeWarning = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.WARN, config)(message), "writeWarning");
73
- var writeInfo = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.INFO, config)(message), "writeInfo");
74
- var writeSuccess = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.SUCCESS, config)(message), "writeSuccess");
75
- var writeDebug = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.DEBUG, config)(message), "writeDebug");
76
- var writeTrace = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.TRACE, config)(message), "writeTrace");
77
- var writeSystem = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, config) => getLogFn(_chunkRZ7CQ6LIjs.LogLevel.ALL, config)(message), "writeSystem");
78
- var getStopwatch = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (name) => {
70
+ var writeFatal = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.FATAL, config)(message), "writeFatal");
71
+ var writeError = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.ERROR, config)(message), "writeError");
72
+ var writeWarning = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.WARN, config)(message), "writeWarning");
73
+ var writeInfo = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.INFO, config)(message), "writeInfo");
74
+ var writeSuccess = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.SUCCESS, config)(message), "writeSuccess");
75
+ var writeDebug = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.DEBUG, config)(message), "writeDebug");
76
+ var writeTrace = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.TRACE, config)(message), "writeTrace");
77
+ var writeSystem = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, config) => getLogFn(_chunkWLOD7C6Ojs.LogLevel.ALL, config)(message), "writeSystem");
78
+ var getStopwatch = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (name) => {
79
79
  const start = process.hrtime();
80
80
  return () => {
81
81
  const end = process.hrtime(start);
@@ -86,7 +86,7 @@ var getStopwatch = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (name) =
86
86
  };
87
87
  }, "getStopwatch");
88
88
  var MAX_DEPTH = 4;
89
- var formatLogMessage = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (message, options = {}, depth = 0) => {
89
+ var formatLogMessage = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (message, options = {}, depth = 0) => {
90
90
  if (depth > MAX_DEPTH) {
91
91
  return "<max depth>";
92
92
  }
@@ -102,7 +102,7 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map((key) => ` ${pre
102
102
  skip
103
103
  }, depth + 1) : message[key]}`).join("\n")}` : message;
104
104
  }, "formatLogMessage");
105
- var _isFunction = /* @__PURE__ */ _chunkAKW3LGAXjs.__name.call(void 0, (value) => {
105
+ var _isFunction = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (value) => {
106
106
  try {
107
107
  return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _18 => _18.constructor]) && _optionalChain([value, 'optionalAccess', _19 => _19.call]) && _optionalChain([value, 'optionalAccess', _20 => _20.apply]));
108
108
  } catch (e) {
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
4
+
5
+ // src/logger/index.ts
6
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
4
+
5
+ // src/config-file/index.ts
6
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
4
+
5
+ // src/env/index.ts
6
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
@@ -3,11 +3,11 @@ import {
3
3
  writeFatal,
4
4
  writeSuccess,
5
5
  writeTrace
6
- } from "./chunk-U2AZDXL5.mjs";
6
+ } from "./chunk-XOVQCXWL.mjs";
7
7
  import {
8
8
  __name,
9
9
  init_esm_shims
10
- } from "./chunk-LBOANMDU.mjs";
10
+ } from "./chunk-EVEP57Q3.mjs";
11
11
 
12
12
  // src/utilities/process-handler.ts
13
13
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-LBOANMDU.mjs";
3
+ } from "./chunk-EVEP57Q3.mjs";
4
4
 
5
5
  // src/logger/index.ts
6
6
  init_esm_shims();