@storm-software/linting-tools 1.110.1 → 1.110.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.
- package/README.md +1 -1
- package/bin/lint.cjs +8 -8
- package/bin/lint.js +8 -8
- package/dist/index.cjs +8 -8
- package/dist/index.js +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/lint.cjs
CHANGED
|
@@ -860,55 +860,55 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
|
|
|
860
860
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
861
861
|
return (message) => {
|
|
862
862
|
console.error(`
|
|
863
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)}
|
|
863
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
864
864
|
`);
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
867
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
868
868
|
return (message) => {
|
|
869
869
|
console.error(`
|
|
870
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)}
|
|
870
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
871
871
|
`);
|
|
872
872
|
};
|
|
873
873
|
}
|
|
874
874
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
875
875
|
return (message) => {
|
|
876
876
|
console.warn(`
|
|
877
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)}
|
|
877
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
878
878
|
`);
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
881
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
882
882
|
return (message) => {
|
|
883
883
|
console.info(`
|
|
884
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)}
|
|
884
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
885
885
|
`);
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
888
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
889
889
|
return (message) => {
|
|
890
890
|
console.info(`
|
|
891
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)}
|
|
891
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
892
892
|
`);
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
895
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
896
896
|
return (message) => {
|
|
897
897
|
console.debug(`
|
|
898
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)}
|
|
898
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
899
899
|
`);
|
|
900
900
|
};
|
|
901
901
|
}
|
|
902
902
|
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
903
903
|
return (message) => {
|
|
904
904
|
console.debug(`
|
|
905
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)}
|
|
905
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
906
906
|
`);
|
|
907
907
|
};
|
|
908
908
|
}
|
|
909
909
|
return (message) => {
|
|
910
910
|
console.log(`
|
|
911
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)}
|
|
911
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
912
912
|
`);
|
|
913
913
|
};
|
|
914
914
|
}, "getLogFn");
|
package/bin/lint.js
CHANGED
|
@@ -872,55 +872,55 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
|
|
|
872
872
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
873
873
|
return (message) => {
|
|
874
874
|
console.error(`
|
|
875
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)}
|
|
875
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
876
876
|
`);
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
879
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
880
880
|
return (message) => {
|
|
881
881
|
console.error(`
|
|
882
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)}
|
|
882
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
883
883
|
`);
|
|
884
884
|
};
|
|
885
885
|
}
|
|
886
886
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
887
887
|
return (message) => {
|
|
888
888
|
console.warn(`
|
|
889
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)}
|
|
889
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
890
890
|
`);
|
|
891
891
|
};
|
|
892
892
|
}
|
|
893
893
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
894
894
|
return (message) => {
|
|
895
895
|
console.info(`
|
|
896
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)}
|
|
896
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
897
897
|
`);
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
901
901
|
return (message) => {
|
|
902
902
|
console.info(`
|
|
903
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)}
|
|
903
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
904
904
|
`);
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
907
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
908
908
|
return (message) => {
|
|
909
909
|
console.debug(`
|
|
910
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)}
|
|
910
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
911
911
|
`);
|
|
912
912
|
};
|
|
913
913
|
}
|
|
914
914
|
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
915
915
|
return (message) => {
|
|
916
916
|
console.debug(`
|
|
917
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)}
|
|
917
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
918
918
|
`);
|
|
919
919
|
};
|
|
920
920
|
}
|
|
921
921
|
return (message) => {
|
|
922
922
|
console.log(`
|
|
923
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)}
|
|
923
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
924
924
|
`);
|
|
925
925
|
};
|
|
926
926
|
}, "getLogFn");
|
package/dist/index.cjs
CHANGED
|
@@ -612,55 +612,55 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
|
|
|
612
612
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
613
613
|
return (message) => {
|
|
614
614
|
console.error(`
|
|
615
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)}
|
|
615
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
616
616
|
`);
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
619
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
620
620
|
return (message) => {
|
|
621
621
|
console.error(`
|
|
622
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)}
|
|
622
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
623
623
|
`);
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
626
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
627
627
|
return (message) => {
|
|
628
628
|
console.warn(`
|
|
629
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)}
|
|
629
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
630
630
|
`);
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
633
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
634
634
|
return (message) => {
|
|
635
635
|
console.info(`
|
|
636
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)}
|
|
636
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
637
637
|
`);
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
640
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
641
641
|
return (message) => {
|
|
642
642
|
console.info(`
|
|
643
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)}
|
|
643
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
644
644
|
`);
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
648
648
|
return (message) => {
|
|
649
649
|
console.debug(`
|
|
650
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)}
|
|
650
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
651
651
|
`);
|
|
652
652
|
};
|
|
653
653
|
}
|
|
654
654
|
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
655
655
|
return (message) => {
|
|
656
656
|
console.debug(`
|
|
657
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)}
|
|
657
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
658
658
|
`);
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
661
|
return (message) => {
|
|
662
662
|
console.log(`
|
|
663
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)}
|
|
663
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
664
664
|
`);
|
|
665
665
|
};
|
|
666
666
|
}, "getLogFn");
|
package/dist/index.js
CHANGED
|
@@ -612,55 +612,55 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
|
|
|
612
612
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
613
613
|
return (message) => {
|
|
614
614
|
console.error(`
|
|
615
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)}
|
|
615
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
616
616
|
`);
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
619
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
620
620
|
return (message) => {
|
|
621
621
|
console.error(`
|
|
622
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)}
|
|
622
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
623
623
|
`);
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
626
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
627
627
|
return (message) => {
|
|
628
628
|
console.warn(`
|
|
629
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)}
|
|
629
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
630
630
|
`);
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
633
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
634
634
|
return (message) => {
|
|
635
635
|
console.info(`
|
|
636
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)}
|
|
636
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
637
637
|
`);
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
640
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
641
641
|
return (message) => {
|
|
642
642
|
console.info(`
|
|
643
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)}
|
|
643
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
644
644
|
`);
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
648
648
|
return (message) => {
|
|
649
649
|
console.debug(`
|
|
650
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)}
|
|
650
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
651
651
|
`);
|
|
652
652
|
};
|
|
653
653
|
}
|
|
654
654
|
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
655
655
|
return (message) => {
|
|
656
656
|
console.debug(`
|
|
657
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)}
|
|
657
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
658
658
|
`);
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
661
|
return (message) => {
|
|
662
662
|
console.log(`
|
|
663
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)}
|
|
663
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
664
664
|
`);
|
|
665
665
|
};
|
|
666
666
|
}, "getLogFn");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.110.
|
|
3
|
+
"version": "1.110.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@angular-devkit/architect": "0.1900.6",
|
|
107
107
|
"@manypkg/cli": "0.21.4",
|
|
108
108
|
"@manypkg/get-packages": "2.2.1",
|
|
109
|
-
"@storm-software/cspell": "0.12.
|
|
109
|
+
"@storm-software/cspell": "0.12.1",
|
|
110
110
|
"alex": "11.0.1",
|
|
111
111
|
"check-dependency-version-consistency": "4.1.0",
|
|
112
112
|
"commander": "^12.1.0",
|