conventional-changelog-storm-software 0.3.159 → 0.3.161

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__8549b0106dd40384320fcc6895606f0f/node_modules/tsup/assets/cjs_shims.js
3
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/cjs_shims.js
4
4
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
5
5
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
6
6
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk5N2ARSSR_cjs = require('./chunk-5N2ARSSR.cjs');
4
- require('./chunk-N7ERQUBP.cjs');
4
+ require('./chunk-UE7SZBYV.cjs');
5
5
 
6
6
 
7
7
 
@@ -6,7 +6,7 @@ require('../chunk-MOSKPEIX.cjs');
6
6
  require('../chunk-FK6SU6OS.cjs');
7
7
  require('../chunk-KZ3J3GGS.cjs');
8
8
  require('../chunk-5N2ARSSR.cjs');
9
- require('../chunk-N7ERQUBP.cjs');
9
+ require('../chunk-UE7SZBYV.cjs');
10
10
 
11
11
 
12
12
 
@@ -189,7 +189,7 @@ declare const COMMIT_CONFIGS: {
189
189
  "footer-max-line-length": (string | number)[];
190
190
  "header-max-length": (string | number)[];
191
191
  "header-trim": (string | RuleConfigSeverity)[];
192
- "subject-case": (string | string[] | RuleConfigSeverity)[];
192
+ "subject-case": (string | RuleConfigSeverity | string[])[];
193
193
  "subject-empty": (string | RuleConfigSeverity)[];
194
194
  "subject-full-stop": (string | RuleConfigSeverity)[];
195
195
  "subject-max-length": (string | number)[];
@@ -398,7 +398,7 @@ declare const COMMIT_CONFIGS: {
398
398
  "footer-max-line-length": (string | number)[];
399
399
  "header-max-length": (string | number)[];
400
400
  "header-trim": (string | RuleConfigSeverity)[];
401
- "subject-case": (string | string[] | RuleConfigSeverity)[];
401
+ "subject-case": (string | RuleConfigSeverity | string[])[];
402
402
  "subject-empty": (string | RuleConfigSeverity)[];
403
403
  "subject-full-stop": (string | RuleConfigSeverity)[];
404
404
  "subject-max-length": (string | number)[];
@@ -408,7 +408,7 @@ declare const COMMIT_CONFIGS: {
408
408
  "type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
409
409
  "type-max-length": (string | number)[];
410
410
  "type-min-length": (string | number)[];
411
- "scope-case": (string | string[] | RuleConfigSeverity)[];
411
+ "scope-case": (string | RuleConfigSeverity | string[])[];
412
412
  "scope-empty": (string | RuleConfigSeverity)[];
413
413
  };
414
414
  settings: {
@@ -189,7 +189,7 @@ declare const COMMIT_CONFIGS: {
189
189
  "footer-max-line-length": (string | number)[];
190
190
  "header-max-length": (string | number)[];
191
191
  "header-trim": (string | RuleConfigSeverity)[];
192
- "subject-case": (string | string[] | RuleConfigSeverity)[];
192
+ "subject-case": (string | RuleConfigSeverity | string[])[];
193
193
  "subject-empty": (string | RuleConfigSeverity)[];
194
194
  "subject-full-stop": (string | RuleConfigSeverity)[];
195
195
  "subject-max-length": (string | number)[];
@@ -398,7 +398,7 @@ declare const COMMIT_CONFIGS: {
398
398
  "footer-max-line-length": (string | number)[];
399
399
  "header-max-length": (string | number)[];
400
400
  "header-trim": (string | RuleConfigSeverity)[];
401
- "subject-case": (string | string[] | RuleConfigSeverity)[];
401
+ "subject-case": (string | RuleConfigSeverity | string[])[];
402
402
  "subject-empty": (string | RuleConfigSeverity)[];
403
403
  "subject-full-stop": (string | RuleConfigSeverity)[];
404
404
  "subject-max-length": (string | number)[];
@@ -408,7 +408,7 @@ declare const COMMIT_CONFIGS: {
408
408
  "type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
409
409
  "type-max-length": (string | number)[];
410
410
  "type-min-length": (string | number)[];
411
- "scope-case": (string | string[] | RuleConfigSeverity)[];
411
+ "scope-case": (string | RuleConfigSeverity | string[])[];
412
412
  "scope-empty": (string | RuleConfigSeverity)[];
413
413
  };
414
414
  settings: {
@@ -6,7 +6,7 @@ var chunkNBWP5FXE_cjs = require('../chunk-NBWP5FXE.cjs');
6
6
  require('../chunk-FK6SU6OS.cjs');
7
7
  require('../chunk-KZ3J3GGS.cjs');
8
8
  require('../chunk-5N2ARSSR.cjs');
9
- require('../chunk-N7ERQUBP.cjs');
9
+ require('../chunk-UE7SZBYV.cjs');
10
10
 
11
11
 
12
12
 
@@ -62,7 +62,7 @@ declare const commitlint: {
62
62
  "footer-max-line-length": (string | number)[];
63
63
  "header-max-length": (string | number)[];
64
64
  "header-trim": (string | RuleConfigSeverity)[];
65
- "subject-case": (string | string[] | RuleConfigSeverity)[];
65
+ "subject-case": (string | RuleConfigSeverity | string[])[];
66
66
  "subject-empty": (string | RuleConfigSeverity)[];
67
67
  "subject-full-stop": (string | RuleConfigSeverity)[];
68
68
  "subject-max-length": (string | number)[];
@@ -270,7 +270,7 @@ declare const config: {
270
270
  "footer-max-line-length": (string | number)[];
271
271
  "header-max-length": (string | number)[];
272
272
  "header-trim": (string | RuleConfigSeverity)[];
273
- "subject-case": (string | string[] | RuleConfigSeverity)[];
273
+ "subject-case": (string | RuleConfigSeverity | string[])[];
274
274
  "subject-empty": (string | RuleConfigSeverity)[];
275
275
  "subject-full-stop": (string | RuleConfigSeverity)[];
276
276
  "subject-max-length": (string | number)[];
@@ -62,7 +62,7 @@ declare const commitlint: {
62
62
  "footer-max-line-length": (string | number)[];
63
63
  "header-max-length": (string | number)[];
64
64
  "header-trim": (string | RuleConfigSeverity)[];
65
- "subject-case": (string | string[] | RuleConfigSeverity)[];
65
+ "subject-case": (string | RuleConfigSeverity | string[])[];
66
66
  "subject-empty": (string | RuleConfigSeverity)[];
67
67
  "subject-full-stop": (string | RuleConfigSeverity)[];
68
68
  "subject-max-length": (string | number)[];
@@ -270,7 +270,7 @@ declare const config: {
270
270
  "footer-max-line-length": (string | number)[];
271
271
  "header-max-length": (string | number)[];
272
272
  "header-trim": (string | RuleConfigSeverity)[];
273
- "subject-case": (string | string[] | RuleConfigSeverity)[];
273
+ "subject-case": (string | RuleConfigSeverity | string[])[];
274
274
  "subject-empty": (string | RuleConfigSeverity)[];
275
275
  "subject-full-stop": (string | RuleConfigSeverity)[];
276
276
  "subject-max-length": (string | number)[];
@@ -6,7 +6,7 @@ var chunkMOSKPEIX_cjs = require('../chunk-MOSKPEIX.cjs');
6
6
  require('../chunk-FK6SU6OS.cjs');
7
7
  require('../chunk-KZ3J3GGS.cjs');
8
8
  require('../chunk-5N2ARSSR.cjs');
9
- require('../chunk-N7ERQUBP.cjs');
9
+ require('../chunk-UE7SZBYV.cjs');
10
10
 
11
11
 
12
12
 
@@ -62,7 +62,7 @@ declare const commitlint: {
62
62
  "footer-max-line-length": (string | number)[];
63
63
  "header-max-length": (string | number)[];
64
64
  "header-trim": (string | RuleConfigSeverity)[];
65
- "subject-case": (string | string[] | RuleConfigSeverity)[];
65
+ "subject-case": (string | RuleConfigSeverity | string[])[];
66
66
  "subject-empty": (string | RuleConfigSeverity)[];
67
67
  "subject-full-stop": (string | RuleConfigSeverity)[];
68
68
  "subject-max-length": (string | number)[];
@@ -72,7 +72,7 @@ declare const commitlint: {
72
72
  "type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
73
73
  "type-max-length": (string | number)[];
74
74
  "type-min-length": (string | number)[];
75
- "scope-case": (string | string[] | RuleConfigSeverity)[];
75
+ "scope-case": (string | RuleConfigSeverity | string[])[];
76
76
  "scope-empty": (string | RuleConfigSeverity)[];
77
77
  };
78
78
  settings: {
@@ -271,7 +271,7 @@ declare const config: {
271
271
  "footer-max-line-length": (string | number)[];
272
272
  "header-max-length": (string | number)[];
273
273
  "header-trim": (string | RuleConfigSeverity)[];
274
- "subject-case": (string | string[] | RuleConfigSeverity)[];
274
+ "subject-case": (string | RuleConfigSeverity | string[])[];
275
275
  "subject-empty": (string | RuleConfigSeverity)[];
276
276
  "subject-full-stop": (string | RuleConfigSeverity)[];
277
277
  "subject-max-length": (string | number)[];
@@ -281,7 +281,7 @@ declare const config: {
281
281
  "type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
282
282
  "type-max-length": (string | number)[];
283
283
  "type-min-length": (string | number)[];
284
- "scope-case": (string | string[] | RuleConfigSeverity)[];
284
+ "scope-case": (string | RuleConfigSeverity | string[])[];
285
285
  "scope-empty": (string | RuleConfigSeverity)[];
286
286
  };
287
287
  settings: {
@@ -62,7 +62,7 @@ declare const commitlint: {
62
62
  "footer-max-line-length": (string | number)[];
63
63
  "header-max-length": (string | number)[];
64
64
  "header-trim": (string | RuleConfigSeverity)[];
65
- "subject-case": (string | string[] | RuleConfigSeverity)[];
65
+ "subject-case": (string | RuleConfigSeverity | string[])[];
66
66
  "subject-empty": (string | RuleConfigSeverity)[];
67
67
  "subject-full-stop": (string | RuleConfigSeverity)[];
68
68
  "subject-max-length": (string | number)[];
@@ -72,7 +72,7 @@ declare const commitlint: {
72
72
  "type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
73
73
  "type-max-length": (string | number)[];
74
74
  "type-min-length": (string | number)[];
75
- "scope-case": (string | string[] | RuleConfigSeverity)[];
75
+ "scope-case": (string | RuleConfigSeverity | string[])[];
76
76
  "scope-empty": (string | RuleConfigSeverity)[];
77
77
  };
78
78
  settings: {
@@ -271,7 +271,7 @@ declare const config: {
271
271
  "footer-max-line-length": (string | number)[];
272
272
  "header-max-length": (string | number)[];
273
273
  "header-trim": (string | RuleConfigSeverity)[];
274
- "subject-case": (string | string[] | RuleConfigSeverity)[];
274
+ "subject-case": (string | RuleConfigSeverity | string[])[];
275
275
  "subject-empty": (string | RuleConfigSeverity)[];
276
276
  "subject-full-stop": (string | RuleConfigSeverity)[];
277
277
  "subject-max-length": (string | number)[];
@@ -281,7 +281,7 @@ declare const config: {
281
281
  "type-enum": [RuleConfigSeverity, RuleConfigCondition, string[]];
282
282
  "type-max-length": (string | number)[];
283
283
  "type-min-length": (string | number)[];
284
- "scope-case": (string | string[] | RuleConfigSeverity)[];
284
+ "scope-case": (string | RuleConfigSeverity | string[])[];
285
285
  "scope-empty": (string | RuleConfigSeverity)[];
286
286
  };
287
287
  settings: {
package/dist/index.cjs CHANGED
@@ -15,7 +15,7 @@ require('./chunk-MOSKPEIX.cjs');
15
15
  require('./chunk-FK6SU6OS.cjs');
16
16
  var chunkKZ3J3GGS_cjs = require('./chunk-KZ3J3GGS.cjs');
17
17
  var chunk5N2ARSSR_cjs = require('./chunk-5N2ARSSR.cjs');
18
- require('./chunk-N7ERQUBP.cjs');
18
+ require('./chunk-UE7SZBYV.cjs');
19
19
  var fs = require('fs');
20
20
  var path = require('path');
21
21
  var chalk = require('chalk');
@@ -356,9 +356,9 @@ var CONSOLE_ICONS = {
356
356
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
357
357
  };
358
358
 
359
- // ../config-tools/dist/chunk-CZ4IE2QN.js
360
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
361
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
359
+ // ../config-tools/dist/chunk-JZAYHDV3.js
360
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
361
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
362
362
  };
363
363
 
364
364
  // ../config-tools/dist/chunk-SXPH7ILL.js
@@ -416,7 +416,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
416
416
  }
417
417
  return LogLevelLabel.INFO;
418
418
  };
419
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
419
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
420
+ const {
421
+ chalk: _chalk = getChalk(),
422
+ fullDateTime = false,
423
+ hideDateTime = false
424
+ } = options;
420
425
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
421
426
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
422
427
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -427,9 +432,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
427
432
  return (message) => {
428
433
  console.error(
429
434
  `
430
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
431
- colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
432
- )(
435
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
433
436
  `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
434
437
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
435
438
  `
@@ -440,9 +443,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
440
443
  return (message) => {
441
444
  console.error(
442
445
  `
443
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
444
- colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
445
- )(
446
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
446
447
  `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
447
448
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
448
449
  `
@@ -453,9 +454,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
453
454
  return (message) => {
454
455
  console.warn(
455
456
  `
456
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
457
- colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
458
- )(
457
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
459
458
  `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
460
459
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
461
460
  `
@@ -466,9 +465,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
466
465
  return (message) => {
467
466
  console.info(
468
467
  `
469
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
470
- colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
471
- )(
468
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
472
469
  `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
473
470
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
474
471
  `
@@ -479,9 +476,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
479
476
  return (message) => {
480
477
  console.info(
481
478
  `
482
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
483
- colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
484
- )(
479
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
485
480
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
486
481
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
487
482
  `
@@ -492,9 +487,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
492
487
  return (message) => {
493
488
  console.debug(
494
489
  `
495
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
496
- colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
497
- )(
490
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
498
491
  `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
499
492
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
500
493
  `
@@ -505,9 +498,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
505
498
  return (message) => {
506
499
  console.debug(
507
500
  `
508
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
509
- colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
510
- )(
501
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
511
502
  `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
512
503
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
513
504
  `
@@ -518,7 +509,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
518
509
  return (message) => {
519
510
  console.debug(
520
511
  `
521
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
512
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
522
513
  `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
523
514
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
524
515
  `
@@ -528,9 +519,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
528
519
  return (message) => {
529
520
  console.log(
530
521
  `
531
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
532
- colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
533
- )(
522
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
534
523
  `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
535
524
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
536
525
  `
@@ -1561,7 +1550,7 @@ ${formatLogMessage(config)}`,
1561
1550
  return config;
1562
1551
  };
1563
1552
 
1564
- // ../config-tools/dist/chunk-DTC27IVR.js
1553
+ // ../config-tools/dist/chunk-CZGO7WY3.js
1565
1554
  function getConfig(workspaceRoot, skipLogs = false) {
1566
1555
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
1567
1556
  }
package/dist/index.js CHANGED
@@ -329,9 +329,9 @@ var CONSOLE_ICONS = {
329
329
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
330
330
  };
331
331
 
332
- // ../config-tools/dist/chunk-CZ4IE2QN.js
333
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
334
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
332
+ // ../config-tools/dist/chunk-JZAYHDV3.js
333
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
334
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
335
335
  };
336
336
 
337
337
  // ../config-tools/dist/chunk-SXPH7ILL.js
@@ -389,7 +389,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
389
389
  }
390
390
  return LogLevelLabel.INFO;
391
391
  };
392
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
392
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
393
+ const {
394
+ chalk: _chalk = getChalk(),
395
+ fullDateTime = false,
396
+ hideDateTime = false
397
+ } = options;
393
398
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
394
399
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
395
400
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -400,9 +405,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
400
405
  return (message) => {
401
406
  console.error(
402
407
  `
403
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
404
- colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
405
- )(
408
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
406
409
  `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
407
410
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
408
411
  `
@@ -413,9 +416,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
413
416
  return (message) => {
414
417
  console.error(
415
418
  `
416
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
417
- colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
418
- )(
419
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
419
420
  `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
420
421
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
421
422
  `
@@ -426,9 +427,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
426
427
  return (message) => {
427
428
  console.warn(
428
429
  `
429
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
430
- colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
431
- )(
430
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
432
431
  `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
433
432
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
434
433
  `
@@ -439,9 +438,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
439
438
  return (message) => {
440
439
  console.info(
441
440
  `
442
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
443
- colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
444
- )(
441
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
445
442
  `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
446
443
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
447
444
  `
@@ -452,9 +449,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
452
449
  return (message) => {
453
450
  console.info(
454
451
  `
455
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
456
- colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
457
- )(
452
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
458
453
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
459
454
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
460
455
  `
@@ -465,9 +460,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
465
460
  return (message) => {
466
461
  console.debug(
467
462
  `
468
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
469
- colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
470
- )(
463
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
471
464
  `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
472
465
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
473
466
  `
@@ -478,9 +471,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
478
471
  return (message) => {
479
472
  console.debug(
480
473
  `
481
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
482
- colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
483
- )(
474
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
484
475
  `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
485
476
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
486
477
  `
@@ -491,7 +482,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
491
482
  return (message) => {
492
483
  console.debug(
493
484
  `
494
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
485
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
495
486
  `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
496
487
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
497
488
  `
@@ -501,9 +492,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
501
492
  return (message) => {
502
493
  console.log(
503
494
  `
504
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
505
- colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
506
- )(
495
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
507
496
  `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
508
497
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
509
498
  `
@@ -1534,7 +1523,7 @@ ${formatLogMessage(config)}`,
1534
1523
  return config;
1535
1524
  };
1536
1525
 
1537
- // ../config-tools/dist/chunk-DTC27IVR.js
1526
+ // ../config-tools/dist/chunk-CZGO7WY3.js
1538
1527
  function getConfig(workspaceRoot, skipLogs = false) {
1539
1528
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
1540
1529
  }
package/dist/parser.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkWROHPAJ6_cjs = require('./chunk-WROHPAJ6.cjs');
4
- require('./chunk-N7ERQUBP.cjs');
4
+ require('./chunk-UE7SZBYV.cjs');
5
5
 
6
6
  // src/parser.ts
7
7
  function createParserOpts(variant) {
@@ -1,4 +1,4 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-N7ERQUBP.cjs');
3
+ require('../chunk-UE7SZBYV.cjs');
4
4
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFK6SU6OS_cjs = require('../chunk-FK6SU6OS.cjs');
4
- require('../chunk-N7ERQUBP.cjs');
4
+ require('../chunk-UE7SZBYV.cjs');
5
5
 
6
6
 
7
7
 
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-SPHHWYOU.cjs');
4
- require('../chunk-N7ERQUBP.cjs');
4
+ require('../chunk-UE7SZBYV.cjs');
5
5
 
@@ -6,7 +6,7 @@ require('../chunk-XHJNEOAM.cjs');
6
6
  require('../chunk-5GQ7ZUDG.cjs');
7
7
  require('../chunk-ZPVHPMDE.cjs');
8
8
  var chunkFK6SU6OS_cjs = require('../chunk-FK6SU6OS.cjs');
9
- require('../chunk-N7ERQUBP.cjs');
9
+ require('../chunk-UE7SZBYV.cjs');
10
10
 
11
11
 
12
12
 
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-XHJNEOAM.cjs');
4
- require('../chunk-N7ERQUBP.cjs');
4
+ require('../chunk-UE7SZBYV.cjs');
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-5GQ7ZUDG.cjs');
4
- require('../chunk-N7ERQUBP.cjs');
4
+ require('../chunk-UE7SZBYV.cjs');
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ZPVHPMDE.cjs');
4
- require('../chunk-N7ERQUBP.cjs');
4
+ require('../chunk-UE7SZBYV.cjs');
5
5
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkKZ3J3GGS_cjs = require('../chunk-KZ3J3GGS.cjs');
4
4
  require('../chunk-5N2ARSSR.cjs');
5
- require('../chunk-N7ERQUBP.cjs');
5
+ require('../chunk-UE7SZBYV.cjs');
6
6
 
7
7
 
8
8
 
@@ -3,7 +3,7 @@
3
3
  var chunkZMGLMEH4_cjs = require('../chunk-ZMGLMEH4.cjs');
4
4
  require('../chunk-KZ3J3GGS.cjs');
5
5
  require('../chunk-5N2ARSSR.cjs');
6
- require('../chunk-N7ERQUBP.cjs');
6
+ require('../chunk-UE7SZBYV.cjs');
7
7
 
8
8
 
9
9
 
@@ -10,7 +10,7 @@ var chunkZMGLMEH4_cjs = require('../chunk-ZMGLMEH4.cjs');
10
10
  require('../chunk-FK6SU6OS.cjs');
11
11
  var chunkKZ3J3GGS_cjs = require('../chunk-KZ3J3GGS.cjs');
12
12
  require('../chunk-5N2ARSSR.cjs');
13
- require('../chunk-N7ERQUBP.cjs');
13
+ require('../chunk-UE7SZBYV.cjs');
14
14
 
15
15
 
16
16
 
@@ -7,7 +7,7 @@ require('../chunk-XHJNEOAM.cjs');
7
7
  require('../chunk-5GQ7ZUDG.cjs');
8
8
  require('../chunk-ZPVHPMDE.cjs');
9
9
  require('../chunk-FK6SU6OS.cjs');
10
- require('../chunk-N7ERQUBP.cjs');
10
+ require('../chunk-UE7SZBYV.cjs');
11
11
 
12
12
 
13
13
 
package/dist/whatBump.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  var chunkZMGLMEH4_cjs = require('./chunk-ZMGLMEH4.cjs');
4
4
  var chunkKZ3J3GGS_cjs = require('./chunk-KZ3J3GGS.cjs');
5
5
  require('./chunk-5N2ARSSR.cjs');
6
- require('./chunk-N7ERQUBP.cjs');
6
+ require('./chunk-UE7SZBYV.cjs');
7
7
 
8
8
  // src/whatBump.ts
9
9
  function createWhatBump(options) {
package/dist/writer.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  var chunkZMGLMEH4_cjs = require('./chunk-ZMGLMEH4.cjs');
4
4
  var chunkKZ3J3GGS_cjs = require('./chunk-KZ3J3GGS.cjs');
5
5
  require('./chunk-5N2ARSSR.cjs');
6
- var chunkN7ERQUBP_cjs = require('./chunk-N7ERQUBP.cjs');
6
+ var chunkUE7SZBYV_cjs = require('./chunk-UE7SZBYV.cjs');
7
7
  var compareFunc = require('compare-func');
8
8
  var promises = require('fs/promises');
9
9
  var path = require('path');
@@ -13,7 +13,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
13
13
 
14
14
  var compareFunc__default = /*#__PURE__*/_interopDefault(compareFunc);
15
15
 
16
- var dirname = url.fileURLToPath(new URL(".", chunkN7ERQUBP_cjs.importMetaUrl));
16
+ var dirname = url.fileURLToPath(new URL(".", chunkUE7SZBYV_cjs.importMetaUrl));
17
17
  var releaseAsRegex = /release-as:\s*\w*@?([0-9]+\.[0-9]+\.[0-9a-z]+(-[0-9a-z.]+)?)\s*/i;
18
18
  var owner = "{{#if this.owner}}{{~this.owner}}{{else}}{{~@root.owner}}{{/if}}";
19
19
  var host = "{{~@root.host}}";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conventional-changelog-storm-software",
3
- "version": "0.3.159",
3
+ "version": "0.3.161",
4
4
  "type": "module",
5
5
  "description": "This package contains the shared conventional-changelog configuration used in Storm Software projects.",
6
6
  "repository": {
@@ -213,8 +213,8 @@
213
213
  "storm-software"
214
214
  ],
215
215
  "dependencies": {
216
- "@storm-software/config": "^1.137.32",
217
- "@storm-software/config-tools": "^1.189.78",
216
+ "@storm-software/config": "^1.137.34",
217
+ "@storm-software/config-tools": "^1.190.1",
218
218
  "compare-func": "^2.0.0",
219
219
  "conventional-changelog-conventionalcommits": "^9.3.1",
220
220
  "conventional-changelog-writer": "^8.4.0",
@@ -228,5 +228,5 @@
228
228
  },
229
229
  "publishConfig": { "access": "public" },
230
230
  "sideEffects": false,
231
- "gitHead": "53d2ed234e902be71b97a3f927d2613f1a15731f"
231
+ "gitHead": "07683ca13c988d45253edcd947640ab1a7f31e25"
232
232
  }