@storm-software/config-tools 1.142.1 → 1.142.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 (128) hide show
  1. package/README.md +1 -1
  2. package/dist/acorn-L4DOC4MD.cjs +3131 -0
  3. package/dist/acorn-W3WKDYQS.js +3131 -0
  4. package/dist/angular-KZBUGLAB.cjs +3014 -0
  5. package/dist/angular-QCZRQONA.js +3014 -0
  6. package/dist/babel-2YQL7BNO.cjs +7166 -0
  7. package/dist/babel-66ARC5Z7.js +7166 -0
  8. package/dist/chunk-2AAM5DJO.cjs +70 -0
  9. package/dist/chunk-2NUTLYUV.js +6 -0
  10. package/dist/chunk-2XFPIBCN.js +164 -0
  11. package/dist/chunk-3ALZEFKM.cjs +2645 -0
  12. package/dist/chunk-3ER2D3OU.js +67 -0
  13. package/dist/chunk-3W5JECK3.cjs +6 -0
  14. package/dist/chunk-46O7IOH6.js +24 -0
  15. package/dist/chunk-4AYNBMPP.cjs +27 -0
  16. package/dist/chunk-4OKHW64R.js +271 -0
  17. package/dist/chunk-4OURELB7.js +6 -0
  18. package/dist/chunk-5EL2OHUB.js +84 -0
  19. package/dist/chunk-6E5A2ZAH.cjs +451 -0
  20. package/dist/chunk-6KJOU57T.cjs +4054 -0
  21. package/dist/chunk-6O7E2ODJ.cjs +44 -0
  22. package/dist/chunk-7A74BDUJ.js +70 -0
  23. package/dist/chunk-7EC2JMQH.cjs +95 -0
  24. package/dist/chunk-7NYYYVNT.cjs +67 -0
  25. package/dist/chunk-AWCT22F2.cjs +271 -0
  26. package/dist/chunk-B5R5SGMG.cjs +50 -0
  27. package/dist/chunk-BFNZYC5O.js +64 -0
  28. package/dist/chunk-BJSQ7LGZ.cjs +70 -0
  29. package/dist/chunk-BQUXDMBD.cjs +144 -0
  30. package/dist/chunk-BVYQ2BKK.js +451 -0
  31. package/dist/chunk-C47MHGNY.js +6 -0
  32. package/dist/chunk-CCTOWFDI.js +95 -0
  33. package/dist/chunk-DBERGKMJ.cjs +765 -0
  34. package/dist/chunk-DFJNOFN2.cjs +61 -0
  35. package/dist/chunk-E7NMPYYE.cjs +93 -0
  36. package/dist/chunk-EXWTV42F.js +51 -0
  37. package/dist/chunk-FBGCL5ZA.cjs +24 -0
  38. package/dist/chunk-G5KDHCJJ.cjs +28 -0
  39. package/dist/chunk-GKOLL5ZA.cjs +51 -0
  40. package/dist/chunk-GWLF37RE.cjs +14 -0
  41. package/dist/chunk-GYCLBSTB.js +2645 -0
  42. package/dist/chunk-HBVGMJMF.js +27 -0
  43. package/dist/chunk-HM2PVPCY.js +144 -0
  44. package/dist/chunk-IWKKZOUZ.js +34067 -0
  45. package/dist/chunk-JIMG6E5P.cjs +21 -0
  46. package/dist/chunk-JMTLS4UN.js +27 -0
  47. package/dist/chunk-JPL6SA45.cjs +27 -0
  48. package/dist/chunk-KRV5ZLBN.cjs +510 -0
  49. package/dist/chunk-LQFUWYSF.js +70 -0
  50. package/dist/chunk-N3ELM5YV.js +28 -0
  51. package/dist/chunk-NO5ZHAIA.js +1120 -0
  52. package/dist/chunk-O4SGVAEB.cjs +33 -0
  53. package/dist/chunk-OL4KMEX5.js +7601 -0
  54. package/dist/chunk-PEPDFP2O.js +33 -0
  55. package/dist/chunk-PKJKHCLN.cjs +84 -0
  56. package/dist/chunk-QHDHDNID.cjs +6 -0
  57. package/dist/chunk-QHWDK2XS.js +93 -0
  58. package/dist/chunk-QUWIUSLT.cjs +34070 -0
  59. package/dist/chunk-QUZ63TS4.cjs +39947 -0
  60. package/dist/chunk-REWVG2LP.cjs +164 -0
  61. package/dist/chunk-S3QN6LZI.js +39948 -0
  62. package/dist/chunk-SKMG52TD.cjs +6 -0
  63. package/dist/chunk-TRG5FOW5.js +44 -0
  64. package/dist/chunk-TVUMXFOR.js +6 -0
  65. package/dist/chunk-TX6WHZNM.js +21 -0
  66. package/dist/chunk-UIA5EFWJ.cjs +7601 -0
  67. package/dist/chunk-VDAYBDFK.js +50 -0
  68. package/dist/chunk-VPMAS2N2.cjs +1120 -0
  69. package/dist/chunk-WTEHBMCM.js +14 -0
  70. package/dist/chunk-XQXUMNEU.js +510 -0
  71. package/dist/chunk-YJSIQHKP.cjs +6 -0
  72. package/dist/chunk-ZQV3QSH5.js +4054 -0
  73. package/dist/chunk-ZY35TVMB.js +765 -0
  74. package/dist/create-storm-config.cjs +36 -0
  75. package/dist/create-storm-config.d.cts +23 -0
  76. package/dist/create-storm-config.d.ts +23 -0
  77. package/dist/create-storm-config.js +36 -0
  78. package/dist/dist-M3E36L2G.cjs +17571 -0
  79. package/dist/dist-M5DWQXRA.js +17570 -0
  80. package/dist/esm-HOUHOM6T.cjs +1716 -0
  81. package/dist/esm-KALGCEZT.js +1716 -0
  82. package/dist/estree-OTYURYPI.js +4859 -0
  83. package/dist/estree-VNPZ3XG5.cjs +4859 -0
  84. package/dist/execa-XEKRORBS.cjs +2424 -0
  85. package/dist/execa-XN4WNY2K.js +2424 -0
  86. package/dist/flow-3RTSTJJN.cjs +28076 -0
  87. package/dist/flow-BEGL6EBU.js +28076 -0
  88. package/dist/get-config.cjs +35 -0
  89. package/dist/get-config.d.cts +19 -0
  90. package/dist/get-config.d.ts +19 -0
  91. package/dist/get-config.js +35 -0
  92. package/dist/glimmer-SJ3NEFEI.cjs +3062 -0
  93. package/dist/glimmer-T7L4DGCA.js +3062 -0
  94. package/dist/graphql-N7VNZRCY.cjs +1355 -0
  95. package/dist/graphql-ZGKSF4HS.js +1355 -0
  96. package/dist/html-76MY4VK3.cjs +3036 -0
  97. package/dist/html-PSA3ZLF3.js +3036 -0
  98. package/dist/index.cjs +157 -0
  99. package/dist/index.d.cts +25 -0
  100. package/dist/index.d.ts +25 -0
  101. package/dist/index.js +157 -0
  102. package/dist/json5-AWKL3VDN.js +10 -0
  103. package/dist/json5-H2TAIKSA.cjs +10 -0
  104. package/dist/jsonc-AGNNV3TC.js +15 -0
  105. package/dist/jsonc-QNZQN4WT.cjs +15 -0
  106. package/dist/markdown-C7FDHMIG.js +3846 -0
  107. package/dist/markdown-GO2SD6ZH.cjs +3846 -0
  108. package/dist/meriyah-BAACQM2N.cjs +2720 -0
  109. package/dist/meriyah-ED62ZUKL.js +2720 -0
  110. package/dist/multipart-parser-6JNXK7VG.js +187 -0
  111. package/dist/multipart-parser-MXQWMODT.cjs +187 -0
  112. package/dist/postcss-2EUHH6PK.cjs +5440 -0
  113. package/dist/postcss-KWRUITUE.js +5440 -0
  114. package/dist/prettier-3OESQDIX.cjs +23560 -0
  115. package/dist/prettier-PADI4U76.js +23559 -0
  116. package/dist/toml-E3DJZTNR.js +10 -0
  117. package/dist/toml-VAFZQSC5.cjs +10 -0
  118. package/dist/types.cjs +9 -0
  119. package/dist/types.d.cts +50 -0
  120. package/dist/types.d.ts +50 -0
  121. package/dist/types.js +9 -0
  122. package/dist/typescript-YFBMA3EY.js +14956 -0
  123. package/dist/typescript-ZI3EJ455.cjs +14956 -0
  124. package/dist/yaml-2WY5XICX.js +10 -0
  125. package/dist/yaml-6R64VIIN.js +4584 -0
  126. package/dist/yaml-KDDF5JAF.cjs +4584 -0
  127. package/dist/yaml-X7EHFDS4.cjs +10 -0
  128. package/package.json +2 -2
@@ -0,0 +1,61 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
+ }) : x)(function(x) {
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __esm = (fn, res) => function __init() {
15
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
+ };
17
+ var __commonJS = (cb, mod) => function __require2() {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ };
20
+ var __export = (target, all) => {
21
+ for (var name in all)
22
+ __defProp(target, name, { get: all[name], enumerable: true });
23
+ };
24
+ var __copyProps = (to, from, except, desc) => {
25
+ if (from && typeof from === "object" || typeof from === "function") {
26
+ for (let key of __getOwnPropNames(from))
27
+ if (!__hasOwnProp.call(to, key) && key !== except)
28
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
29
+ }
30
+ return to;
31
+ };
32
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
33
+ // If the importer is in node compatibility mode or this is not an ESM
34
+ // file that has been converted to a CommonJS file using a Babel-
35
+ // compatible transform (i.e. "__esModule" has not been set), then set
36
+ // "default" to the CommonJS "module.exports" for node compatibility.
37
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
38
+ mod
39
+ ));
40
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
+
42
+ // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/cjs_shims.js
43
+ var getImportMetaUrl, importMetaUrl;
44
+ var init_cjs_shims = __esm({
45
+ "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/cjs_shims.js"() {
46
+ getImportMetaUrl = /* @__PURE__ */ __name(() => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href, "getImportMetaUrl");
47
+ importMetaUrl = exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
48
+ }
49
+ });
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+ exports.__name = __name; exports.__require = __require; exports.__esm = __esm; exports.__commonJS = __commonJS; exports.__export = __export; exports.__toESM = __toESM; exports.__toCommonJS = __toCommonJS; exports.importMetaUrl = importMetaUrl; exports.init_cjs_shims = init_cjs_shims;
@@ -0,0 +1,93 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkBJSQ7LGZcjs = require('./chunk-BJSQ7LGZ.cjs');
4
+
5
+
6
+ var _chunkQUZ63TS4cjs = require('./chunk-QUZ63TS4.cjs');
7
+
8
+
9
+
10
+ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
11
+
12
+ // src/utilities/get-default-config.ts
13
+ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
14
+ var _config = require('@storm-software/config');
15
+ var _fs = require('fs');
16
+ var _promises = require('fs/promises');
17
+ var _path = require('path');
18
+ var DEFAULT_COLOR_CONFIG = {
19
+ "light": {
20
+ "background": "#fafafa",
21
+ "foreground": "#1d1e22",
22
+ "brand": "#1fb2a6",
23
+ "alternate": "#db2777",
24
+ "help": "#5C4EE5",
25
+ "success": "#087f5b",
26
+ "info": "#0550ae",
27
+ "warning": "#e3b341",
28
+ "danger": "#D8314A",
29
+ "positive": "#22c55e",
30
+ "negative": "#dc2626"
31
+ },
32
+ "dark": {
33
+ "background": "#1d1e22",
34
+ "foreground": "#cbd5e1",
35
+ "brand": "#2dd4bf",
36
+ "alternate": "#db2777",
37
+ "help": "#818cf8",
38
+ "success": "#10b981",
39
+ "info": "#58a6ff",
40
+ "warning": "#f3d371",
41
+ "danger": "#D8314A",
42
+ "positive": "#22c55e",
43
+ "negative": "#dc2626"
44
+ }
45
+ };
46
+ var getDefaultConfig = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async (root) => {
47
+ let license = _config.STORM_DEFAULT_LICENSE;
48
+ let homepage = _config.STORM_DEFAULT_HOMEPAGE;
49
+ let name = void 0;
50
+ let namespace = void 0;
51
+ let repository = void 0;
52
+ const workspaceRoot = _chunkBJSQ7LGZcjs.findWorkspaceRoot.call(void 0, root);
53
+ if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
54
+ const file = await _promises.readFile.call(void 0, _chunkQUZ63TS4cjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
55
+ if (file) {
56
+ const packageJson = JSON.parse(file);
57
+ if (packageJson.name) {
58
+ name = packageJson.name;
59
+ }
60
+ if (packageJson.namespace) {
61
+ namespace = packageJson.namespace;
62
+ }
63
+ if (packageJson.repository) {
64
+ if (typeof packageJson.repository === "string") {
65
+ repository = packageJson.repository;
66
+ } else if (packageJson.repository.url) {
67
+ repository = packageJson.repository.url;
68
+ }
69
+ }
70
+ if (packageJson.license) {
71
+ license = packageJson.license;
72
+ }
73
+ if (packageJson.homepage) {
74
+ homepage = packageJson.homepage;
75
+ }
76
+ }
77
+ }
78
+ return {
79
+ workspaceRoot,
80
+ name,
81
+ namespace,
82
+ repository,
83
+ license,
84
+ homepage,
85
+ docs: `${homepage || _config.STORM_DEFAULT_HOMEPAGE}/docs`,
86
+ licensing: `${homepage || _config.STORM_DEFAULT_HOMEPAGE}/license`
87
+ };
88
+ }, "getDefaultConfig");
89
+
90
+
91
+
92
+
93
+ exports.DEFAULT_COLOR_CONFIG = DEFAULT_COLOR_CONFIG; exports.getDefaultConfig = getDefaultConfig;
@@ -0,0 +1,51 @@
1
+ import {
2
+ writeError,
3
+ writeFatal,
4
+ writeSuccess,
5
+ writeTrace
6
+ } from "./chunk-HM2PVPCY.js";
7
+ import {
8
+ __name,
9
+ init_esm_shims
10
+ } from "./chunk-BFNZYC5O.js";
11
+
12
+ // src/utilities/process-handler.ts
13
+ init_esm_shims();
14
+ var exitWithError = /* @__PURE__ */ __name((config) => {
15
+ writeFatal("Exiting script with an error status...", config);
16
+ process.exit(1);
17
+ }, "exitWithError");
18
+ var exitWithSuccess = /* @__PURE__ */ __name((config) => {
19
+ writeSuccess("Script completed successfully. Exiting...", config);
20
+ process.exit(0);
21
+ }, "exitWithSuccess");
22
+ var handleProcess = /* @__PURE__ */ __name((config) => {
23
+ writeTrace(`Using the following arguments to process the script: ${process.argv.join(", ")}`, config);
24
+ process.on("unhandledRejection", (error) => {
25
+ writeError(`An Unhandled Rejection occurred while running the program: ${error}`, config);
26
+ exitWithError(config);
27
+ });
28
+ process.on("uncaughtException", (error) => {
29
+ writeError(`An Uncaught Exception occurred while running the program: ${error.message}
30
+ Stacktrace: ${error.stack}`, config);
31
+ exitWithError(config);
32
+ });
33
+ process.on("SIGTERM", (signal) => {
34
+ writeError(`The program terminated with signal code: ${signal}`, config);
35
+ exitWithError(config);
36
+ });
37
+ process.on("SIGINT", (signal) => {
38
+ writeError(`The program terminated with signal code: ${signal}`, config);
39
+ exitWithError(config);
40
+ });
41
+ process.on("SIGHUP", (signal) => {
42
+ writeError(`The program terminated with signal code: ${signal}`, config);
43
+ exitWithError(config);
44
+ });
45
+ }, "handleProcess");
46
+
47
+ export {
48
+ exitWithError,
49
+ exitWithSuccess,
50
+ handleProcess
51
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
+
3
+
4
+ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
5
+
6
+ // src/logger/is-unicode-supported.ts
7
+ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
8
+ var _process = require('process'); var _process2 = _interopRequireDefault(_process);
9
+ function isUnicodeSupported() {
10
+ const { env } = _process2.default;
11
+ const { TERM, TERM_PROGRAM } = env;
12
+ if (_process2.default.platform !== "win32") {
13
+ return TERM !== "linux";
14
+ }
15
+ return Boolean(env.WT_SESSION) || // Windows Terminal
16
+ Boolean(env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
17
+ env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
18
+ TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
19
+ }
20
+ _chunkDFJNOFN2cjs.__name.call(void 0, isUnicodeSupported, "isUnicodeSupported");
21
+
22
+
23
+
24
+ exports.isUnicodeSupported = isUnicodeSupported;
@@ -0,0 +1,28 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkFBGCL5ZAcjs = require('./chunk-FBGCL5ZA.cjs');
4
+
5
+
6
+ var _chunkO4SGVAEBcjs = require('./chunk-O4SGVAEB.cjs');
7
+
8
+
9
+
10
+ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
11
+
12
+ // src/logger/console-icons.ts
13
+ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
14
+ var useIcon = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (c, fallback) => _chunkFBGCL5ZAcjs.isUnicodeSupported.call(void 0, ) ? c : fallback, "useIcon");
15
+ var CONSOLE_ICONS = {
16
+ [_chunkO4SGVAEBcjs.LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
17
+ [_chunkO4SGVAEBcjs.LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
18
+ [_chunkO4SGVAEBcjs.LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
19
+ [_chunkO4SGVAEBcjs.LogLevelLabel.INFO]: useIcon("\u2139", "i"),
20
+ [_chunkO4SGVAEBcjs.LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
21
+ [_chunkO4SGVAEBcjs.LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
22
+ [_chunkO4SGVAEBcjs.LogLevelLabel.TRACE]: useIcon("\u{1F6E0}", "T"),
23
+ [_chunkO4SGVAEBcjs.LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
24
+ };
25
+
26
+
27
+
28
+ exports.CONSOLE_ICONS = CONSOLE_ICONS;
@@ -0,0 +1,51 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkBQUXDMBDcjs = require('./chunk-BQUXDMBD.cjs');
7
+
8
+
9
+
10
+ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
11
+
12
+ // src/utilities/process-handler.ts
13
+ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
14
+ var exitWithError = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (config) => {
15
+ _chunkBQUXDMBDcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
16
+ process.exit(1);
17
+ }, "exitWithError");
18
+ var exitWithSuccess = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (config) => {
19
+ _chunkBQUXDMBDcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
20
+ process.exit(0);
21
+ }, "exitWithSuccess");
22
+ var handleProcess = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (config) => {
23
+ _chunkBQUXDMBDcjs.writeTrace.call(void 0, `Using the following arguments to process the script: ${process.argv.join(", ")}`, config);
24
+ process.on("unhandledRejection", (error) => {
25
+ _chunkBQUXDMBDcjs.writeError.call(void 0, `An Unhandled Rejection occurred while running the program: ${error}`, config);
26
+ exitWithError(config);
27
+ });
28
+ process.on("uncaughtException", (error) => {
29
+ _chunkBQUXDMBDcjs.writeError.call(void 0, `An Uncaught Exception occurred while running the program: ${error.message}
30
+ Stacktrace: ${error.stack}`, config);
31
+ exitWithError(config);
32
+ });
33
+ process.on("SIGTERM", (signal) => {
34
+ _chunkBQUXDMBDcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
35
+ exitWithError(config);
36
+ });
37
+ process.on("SIGINT", (signal) => {
38
+ _chunkBQUXDMBDcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
39
+ exitWithError(config);
40
+ });
41
+ process.on("SIGHUP", (signal) => {
42
+ _chunkBQUXDMBDcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
43
+ exitWithError(config);
44
+ });
45
+ }, "handleProcess");
46
+
47
+
48
+
49
+
50
+
51
+ exports.exitWithError = exitWithError; exports.exitWithSuccess = exitWithSuccess; exports.handleProcess = handleProcess;
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
5
+
6
+ // src/logger/format-timestamp.ts
7
+ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
8
+ var formatTimestamp = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (date = /* @__PURE__ */ new Date()) => {
9
+ return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
10
+ }, "formatTimestamp");
11
+
12
+
13
+
14
+ exports.formatTimestamp = formatTimestamp;