@storm-software/linting-tools 1.132.75 → 1.132.77
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/bin/lint.cjs +19 -2
- package/bin/lint.js +19 -2
- package/package.json +2 -2
package/bin/lint.cjs
CHANGED
|
@@ -282775,6 +282775,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
282775
282775
|
help: "#5C4EE5",
|
|
282776
282776
|
success: "#087f5b",
|
|
282777
282777
|
info: "#0550ae",
|
|
282778
|
+
debug: "#8afafc",
|
|
282778
282779
|
warning: "#e3b341",
|
|
282779
282780
|
danger: "#D8314A",
|
|
282780
282781
|
fatal: "#51070f",
|
|
@@ -282791,6 +282792,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
282791
282792
|
help: "#818cf8",
|
|
282792
282793
|
success: "#10b981",
|
|
282793
282794
|
info: "#58a6ff",
|
|
282795
|
+
debug: "#8afafc",
|
|
282794
282796
|
warning: "#f3d371",
|
|
282795
282797
|
danger: "#D8314A",
|
|
282796
282798
|
fatal: "#a40e26",
|
|
@@ -282978,7 +282980,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
282978
282980
|
return (message) => {
|
|
282979
282981
|
console.debug(
|
|
282980
282982
|
`
|
|
282981
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.
|
|
282983
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
282982
282984
|
`
|
|
282983
282985
|
);
|
|
282984
282986
|
};
|
|
@@ -282987,7 +282989,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
282987
282989
|
return (message) => {
|
|
282988
282990
|
console.debug(
|
|
282989
282991
|
`
|
|
282990
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
282992
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
282991
282993
|
`
|
|
282992
282994
|
);
|
|
282993
282995
|
};
|
|
@@ -285350,6 +285352,10 @@ var infoColorSchema = _default(colorSchema, "#38bdf8");
|
|
|
285350
285352
|
schemaRegistry.add(infoColorSchema, {
|
|
285351
285353
|
description: "The informational color of the workspace"
|
|
285352
285354
|
});
|
|
285355
|
+
var debugColorSchema = _default(colorSchema, "#8afafc");
|
|
285356
|
+
schemaRegistry.add(debugColorSchema, {
|
|
285357
|
+
description: "The debug color of the workspace"
|
|
285358
|
+
});
|
|
285353
285359
|
var warningColorSchema = _default(colorSchema, "#f3d371");
|
|
285354
285360
|
schemaRegistry.add(warningColorSchema, {
|
|
285355
285361
|
description: "The warning color of the workspace"
|
|
@@ -285384,6 +285390,7 @@ var darkColorsSchema = object({
|
|
|
285384
285390
|
help: helpColorSchema,
|
|
285385
285391
|
success: successColorSchema,
|
|
285386
285392
|
info: infoColorSchema,
|
|
285393
|
+
debug: debugColorSchema,
|
|
285387
285394
|
warning: warningColorSchema,
|
|
285388
285395
|
danger: dangerColorSchema,
|
|
285389
285396
|
fatal: fatalColorSchema,
|
|
@@ -285401,6 +285408,7 @@ var lightColorsSchema = object({
|
|
|
285401
285408
|
help: helpColorSchema,
|
|
285402
285409
|
success: successColorSchema,
|
|
285403
285410
|
info: infoColorSchema,
|
|
285411
|
+
debug: debugColorSchema,
|
|
285404
285412
|
warning: warningColorSchema,
|
|
285405
285413
|
danger: dangerColorSchema,
|
|
285406
285414
|
fatal: fatalColorSchema,
|
|
@@ -285422,6 +285430,7 @@ var singleColorsSchema = object({
|
|
|
285422
285430
|
help: helpColorSchema,
|
|
285423
285431
|
success: successColorSchema,
|
|
285424
285432
|
info: infoColorSchema,
|
|
285433
|
+
debug: debugColorSchema,
|
|
285425
285434
|
warning: warningColorSchema,
|
|
285426
285435
|
danger: dangerColorSchema,
|
|
285427
285436
|
fatal: fatalColorSchema,
|
|
@@ -286273,6 +286282,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
286273
286282
|
help: process.env[`${prefix}HELP`],
|
|
286274
286283
|
success: process.env[`${prefix}SUCCESS`],
|
|
286275
286284
|
info: process.env[`${prefix}INFO`],
|
|
286285
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
286276
286286
|
warning: process.env[`${prefix}WARNING`],
|
|
286277
286287
|
danger: process.env[`${prefix}DANGER`],
|
|
286278
286288
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -286311,6 +286321,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
286311
286321
|
help: process.env[`${prefix}HELP`],
|
|
286312
286322
|
success: process.env[`${prefix}SUCCESS`],
|
|
286313
286323
|
info: process.env[`${prefix}INFO`],
|
|
286324
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
286314
286325
|
warning: process.env[`${prefix}WARNING`],
|
|
286315
286326
|
danger: process.env[`${prefix}DANGER`],
|
|
286316
286327
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -286613,6 +286624,9 @@ var setSingleThemeColorsEnv = (prefix, config2) => {
|
|
|
286613
286624
|
if (config2.info) {
|
|
286614
286625
|
process.env[`${prefix}INFO`] = config2.info;
|
|
286615
286626
|
}
|
|
286627
|
+
if (config2.debug) {
|
|
286628
|
+
process.env[`${prefix}DEBUG`] = config2.debug;
|
|
286629
|
+
}
|
|
286616
286630
|
if (config2.warning) {
|
|
286617
286631
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
286618
286632
|
}
|
|
@@ -286668,6 +286682,9 @@ var setBaseThemeColorsEnv = (prefix, config2) => {
|
|
|
286668
286682
|
if (config2.info) {
|
|
286669
286683
|
process.env[`${prefix}INFO`] = config2.info;
|
|
286670
286684
|
}
|
|
286685
|
+
if (config2.debug) {
|
|
286686
|
+
process.env[`${prefix}DEBUG`] = config2.debug;
|
|
286687
|
+
}
|
|
286671
286688
|
if (config2.warning) {
|
|
286672
286689
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
286673
286690
|
}
|
package/bin/lint.js
CHANGED
|
@@ -283374,6 +283374,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
283374
283374
|
help: "#5C4EE5",
|
|
283375
283375
|
success: "#087f5b",
|
|
283376
283376
|
info: "#0550ae",
|
|
283377
|
+
debug: "#8afafc",
|
|
283377
283378
|
warning: "#e3b341",
|
|
283378
283379
|
danger: "#D8314A",
|
|
283379
283380
|
fatal: "#51070f",
|
|
@@ -283390,6 +283391,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
283390
283391
|
help: "#818cf8",
|
|
283391
283392
|
success: "#10b981",
|
|
283392
283393
|
info: "#58a6ff",
|
|
283394
|
+
debug: "#8afafc",
|
|
283393
283395
|
warning: "#f3d371",
|
|
283394
283396
|
danger: "#D8314A",
|
|
283395
283397
|
fatal: "#a40e26",
|
|
@@ -283577,7 +283579,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
283577
283579
|
return (message) => {
|
|
283578
283580
|
console.debug(
|
|
283579
283581
|
`
|
|
283580
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.
|
|
283582
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
283581
283583
|
`
|
|
283582
283584
|
);
|
|
283583
283585
|
};
|
|
@@ -283586,7 +283588,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
283586
283588
|
return (message) => {
|
|
283587
283589
|
console.debug(
|
|
283588
283590
|
`
|
|
283589
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
283591
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
283590
283592
|
`
|
|
283591
283593
|
);
|
|
283592
283594
|
};
|
|
@@ -285949,6 +285951,10 @@ var infoColorSchema = _default(colorSchema, "#38bdf8");
|
|
|
285949
285951
|
schemaRegistry.add(infoColorSchema, {
|
|
285950
285952
|
description: "The informational color of the workspace"
|
|
285951
285953
|
});
|
|
285954
|
+
var debugColorSchema = _default(colorSchema, "#8afafc");
|
|
285955
|
+
schemaRegistry.add(debugColorSchema, {
|
|
285956
|
+
description: "The debug color of the workspace"
|
|
285957
|
+
});
|
|
285952
285958
|
var warningColorSchema = _default(colorSchema, "#f3d371");
|
|
285953
285959
|
schemaRegistry.add(warningColorSchema, {
|
|
285954
285960
|
description: "The warning color of the workspace"
|
|
@@ -285983,6 +285989,7 @@ var darkColorsSchema = object({
|
|
|
285983
285989
|
help: helpColorSchema,
|
|
285984
285990
|
success: successColorSchema,
|
|
285985
285991
|
info: infoColorSchema,
|
|
285992
|
+
debug: debugColorSchema,
|
|
285986
285993
|
warning: warningColorSchema,
|
|
285987
285994
|
danger: dangerColorSchema,
|
|
285988
285995
|
fatal: fatalColorSchema,
|
|
@@ -286000,6 +286007,7 @@ var lightColorsSchema = object({
|
|
|
286000
286007
|
help: helpColorSchema,
|
|
286001
286008
|
success: successColorSchema,
|
|
286002
286009
|
info: infoColorSchema,
|
|
286010
|
+
debug: debugColorSchema,
|
|
286003
286011
|
warning: warningColorSchema,
|
|
286004
286012
|
danger: dangerColorSchema,
|
|
286005
286013
|
fatal: fatalColorSchema,
|
|
@@ -286021,6 +286029,7 @@ var singleColorsSchema = object({
|
|
|
286021
286029
|
help: helpColorSchema,
|
|
286022
286030
|
success: successColorSchema,
|
|
286023
286031
|
info: infoColorSchema,
|
|
286032
|
+
debug: debugColorSchema,
|
|
286024
286033
|
warning: warningColorSchema,
|
|
286025
286034
|
danger: dangerColorSchema,
|
|
286026
286035
|
fatal: fatalColorSchema,
|
|
@@ -286872,6 +286881,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
286872
286881
|
help: process.env[`${prefix}HELP`],
|
|
286873
286882
|
success: process.env[`${prefix}SUCCESS`],
|
|
286874
286883
|
info: process.env[`${prefix}INFO`],
|
|
286884
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
286875
286885
|
warning: process.env[`${prefix}WARNING`],
|
|
286876
286886
|
danger: process.env[`${prefix}DANGER`],
|
|
286877
286887
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -286910,6 +286920,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
286910
286920
|
help: process.env[`${prefix}HELP`],
|
|
286911
286921
|
success: process.env[`${prefix}SUCCESS`],
|
|
286912
286922
|
info: process.env[`${prefix}INFO`],
|
|
286923
|
+
debug: process.env[`${prefix}DEBUG`],
|
|
286913
286924
|
warning: process.env[`${prefix}WARNING`],
|
|
286914
286925
|
danger: process.env[`${prefix}DANGER`],
|
|
286915
286926
|
fatal: process.env[`${prefix}FATAL`],
|
|
@@ -287212,6 +287223,9 @@ var setSingleThemeColorsEnv = (prefix, config2) => {
|
|
|
287212
287223
|
if (config2.info) {
|
|
287213
287224
|
process.env[`${prefix}INFO`] = config2.info;
|
|
287214
287225
|
}
|
|
287226
|
+
if (config2.debug) {
|
|
287227
|
+
process.env[`${prefix}DEBUG`] = config2.debug;
|
|
287228
|
+
}
|
|
287215
287229
|
if (config2.warning) {
|
|
287216
287230
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
287217
287231
|
}
|
|
@@ -287267,6 +287281,9 @@ var setBaseThemeColorsEnv = (prefix, config2) => {
|
|
|
287267
287281
|
if (config2.info) {
|
|
287268
287282
|
process.env[`${prefix}INFO`] = config2.info;
|
|
287269
287283
|
}
|
|
287284
|
+
if (config2.debug) {
|
|
287285
|
+
process.env[`${prefix}DEBUG`] = config2.debug;
|
|
287286
|
+
}
|
|
287270
287287
|
if (config2.warning) {
|
|
287271
287288
|
process.env[`${prefix}WARNING`] = config2.warning;
|
|
287272
287289
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.132.
|
|
3
|
+
"version": "1.132.77",
|
|
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": {
|
|
@@ -149,5 +149,5 @@
|
|
|
149
149
|
"vfile-reporter": "8.1.1"
|
|
150
150
|
},
|
|
151
151
|
"publishConfig": { "access": "public" },
|
|
152
|
-
"gitHead": "
|
|
152
|
+
"gitHead": "d07f74f1d50951459260d2738dea47586e194f7f"
|
|
153
153
|
}
|