@storm-software/workspace-tools 1.196.0 → 1.198.0
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/index.js +34 -42
- package/meta.json +188 -188
- package/package.json +1 -1
- package/src/base/base-executor.js +34 -42
- package/src/base/base-generator.js +34 -42
- package/src/base/index.js +34 -42
- package/src/executors/cargo-build/executor.js +34 -42
- package/src/executors/cargo-check/executor.js +34 -42
- package/src/executors/cargo-clippy/executor.js +34 -42
- package/src/executors/cargo-doc/executor.js +34 -42
- package/src/executors/cargo-format/executor.js +34 -42
- package/src/executors/clean-package/executor.js +34 -42
- package/src/executors/rolldown/executor.js +34 -42
- package/src/executors/rollup/executor.js +34 -42
- package/src/executors/size-limit/executor.js +34 -42
- package/src/executors/tsup/executor.js +34 -42
- package/src/executors/tsup-browser/executor.js +34 -42
- package/src/executors/tsup-neutral/executor.js +34 -42
- package/src/executors/tsup-node/executor.js +34 -42
- package/src/executors/typia/executor.js +34 -42
- package/src/executors/unbuild/executor.js +34 -42
- package/src/generators/browser-library/generator.js +34 -42
- package/src/generators/config-schema/generator.js +34 -42
- package/src/generators/neutral-library/generator.js +34 -42
- package/src/generators/node-library/generator.js +34 -42
- package/src/generators/preset/generator.js +34 -42
- package/src/generators/release-version/generator.js +34 -42
- package/src/utils/index.js +34 -42
|
@@ -91921,22 +91921,22 @@ var init_lib = __esm({
|
|
|
91921
91921
|
});
|
|
91922
91922
|
|
|
91923
91923
|
// packages/config/src/schema.ts
|
|
91924
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
91924
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
91925
91925
|
var init_schema = __esm({
|
|
91926
91926
|
"packages/config/src/schema.ts"() {
|
|
91927
91927
|
init_lib();
|
|
91928
91928
|
init_constants();
|
|
91929
|
-
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91929
|
+
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
91930
91930
|
LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
91931
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91931
|
+
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
91932
91932
|
AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
91933
91933
|
AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
91934
|
-
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
91934
|
+
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
91935
91935
|
HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
91936
|
-
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91937
|
-
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91936
|
+
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
91937
|
+
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
91938
91938
|
WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
91939
|
-
|
|
91939
|
+
DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
91940
91940
|
FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
91941
91941
|
PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
91942
91942
|
NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
@@ -91951,7 +91951,7 @@ var init_schema = __esm({
|
|
|
91951
91951
|
success: SuccessColorSchema,
|
|
91952
91952
|
info: InfoColorSchema,
|
|
91953
91953
|
warning: WarningColorSchema,
|
|
91954
|
-
|
|
91954
|
+
danger: DangerColorSchema,
|
|
91955
91955
|
fatal: FatalColorSchema,
|
|
91956
91956
|
positive: PositiveColorSchema,
|
|
91957
91957
|
negative: NegativeColorSchema
|
|
@@ -91967,7 +91967,7 @@ var init_schema = __esm({
|
|
|
91967
91967
|
success: SuccessColorSchema,
|
|
91968
91968
|
info: InfoColorSchema,
|
|
91969
91969
|
warning: WarningColorSchema,
|
|
91970
|
-
|
|
91970
|
+
danger: DangerColorSchema,
|
|
91971
91971
|
fatal: FatalColorSchema,
|
|
91972
91972
|
positive: PositiveColorSchema,
|
|
91973
91973
|
negative: NegativeColorSchema
|
|
@@ -91987,7 +91987,7 @@ var init_schema = __esm({
|
|
|
91987
91987
|
success: SuccessColorSchema,
|
|
91988
91988
|
info: InfoColorSchema,
|
|
91989
91989
|
warning: WarningColorSchema,
|
|
91990
|
-
|
|
91990
|
+
danger: DangerColorSchema,
|
|
91991
91991
|
fatal: FatalColorSchema,
|
|
91992
91992
|
positive: PositiveColorSchema,
|
|
91993
91993
|
negative: NegativeColorSchema
|
|
@@ -92089,7 +92089,7 @@ var init_types = __esm({
|
|
|
92089
92089
|
"help",
|
|
92090
92090
|
"info",
|
|
92091
92091
|
"warning",
|
|
92092
|
-
"
|
|
92092
|
+
"danger",
|
|
92093
92093
|
"fatal",
|
|
92094
92094
|
"positive",
|
|
92095
92095
|
"negative"
|
|
@@ -92125,7 +92125,7 @@ var init_get_default_config = __esm({
|
|
|
92125
92125
|
"success": "#087f5b",
|
|
92126
92126
|
"info": "#0550ae",
|
|
92127
92127
|
"warning": "#e3b341",
|
|
92128
|
-
"
|
|
92128
|
+
"danger": "#D8314A",
|
|
92129
92129
|
"positive": "#22c55e",
|
|
92130
92130
|
"negative": "#dc2626"
|
|
92131
92131
|
},
|
|
@@ -92138,7 +92138,7 @@ var init_get_default_config = __esm({
|
|
|
92138
92138
|
"success": "#10b981",
|
|
92139
92139
|
"info": "#58a6ff",
|
|
92140
92140
|
"warning": "#f3d371",
|
|
92141
|
-
"
|
|
92141
|
+
"danger": "#D8314A",
|
|
92142
92142
|
"positive": "#22c55e",
|
|
92143
92143
|
"negative": "#dc2626"
|
|
92144
92144
|
}
|
|
@@ -92161,7 +92161,6 @@ var init_get_default_config = __esm({
|
|
|
92161
92161
|
organization: "storm-software",
|
|
92162
92162
|
configFile: null,
|
|
92163
92163
|
runtimeVersion: "1.0.0",
|
|
92164
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
92165
92164
|
extensions: {}
|
|
92166
92165
|
};
|
|
92167
92166
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -92204,7 +92203,7 @@ var init_get_default_config = __esm({
|
|
|
92204
92203
|
}
|
|
92205
92204
|
return ret;
|
|
92206
92205
|
}, {}),
|
|
92207
|
-
colors: config.colors
|
|
92206
|
+
colors: config.colors,
|
|
92208
92207
|
workspaceRoot,
|
|
92209
92208
|
name,
|
|
92210
92209
|
namespace,
|
|
@@ -92325,10 +92324,9 @@ var init_logger = __esm({
|
|
|
92325
92324
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
92326
92325
|
return (message) => {
|
|
92327
92326
|
console.error(
|
|
92328
|
-
|
|
92329
|
-
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
92327
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
92330
92328
|
" \u{1F480} Fatal "
|
|
92331
|
-
)} ${_chalk.hex(colors.
|
|
92329
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
92332
92330
|
`
|
|
92333
92331
|
);
|
|
92334
92332
|
};
|
|
@@ -92336,10 +92334,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
92336
92334
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
92337
92335
|
return (message) => {
|
|
92338
92336
|
console.error(
|
|
92339
|
-
|
|
92340
|
-
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
92337
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
92341
92338
|
" \u2718 Error "
|
|
92342
|
-
)} ${_chalk.hex(colors.
|
|
92339
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
92343
92340
|
`
|
|
92344
92341
|
);
|
|
92345
92342
|
};
|
|
@@ -92347,10 +92344,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
92347
92344
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
92348
92345
|
return (message) => {
|
|
92349
92346
|
console.warn(
|
|
92350
|
-
|
|
92351
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
92347
|
+
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
92352
92348
|
" \u26A0 Warn "
|
|
92353
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
92349
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
|
|
92354
92350
|
`
|
|
92355
92351
|
);
|
|
92356
92352
|
};
|
|
@@ -92358,10 +92354,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
92358
92354
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
|
|
92359
92355
|
return (message) => {
|
|
92360
92356
|
console.info(
|
|
92361
|
-
|
|
92362
|
-
${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
92357
|
+
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
92363
92358
|
" \u2713 Success "
|
|
92364
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
92359
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
|
|
92365
92360
|
`
|
|
92366
92361
|
);
|
|
92367
92362
|
};
|
|
@@ -92369,10 +92364,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
92369
92364
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
92370
92365
|
return (message) => {
|
|
92371
92366
|
console.info(
|
|
92372
|
-
|
|
92373
|
-
${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
92367
|
+
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
92374
92368
|
" \u2139 Info "
|
|
92375
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
92369
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
|
|
92376
92370
|
`
|
|
92377
92371
|
);
|
|
92378
92372
|
};
|
|
@@ -92380,20 +92374,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
|
|
|
92380
92374
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
92381
92375
|
return (message) => {
|
|
92382
92376
|
console.debug(
|
|
92383
|
-
|
|
92384
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
92377
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
92385
92378
|
" \u{1F6E0} Debug "
|
|
92386
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
92379
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
92387
92380
|
`
|
|
92388
92381
|
);
|
|
92389
92382
|
};
|
|
92390
92383
|
}
|
|
92391
92384
|
return (message) => {
|
|
92392
92385
|
console.log(
|
|
92393
|
-
|
|
92394
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
92386
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
92395
92387
|
" \u2709 System "
|
|
92396
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
92388
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
92397
92389
|
`
|
|
92398
92390
|
);
|
|
92399
92391
|
};
|
|
@@ -92745,7 +92737,7 @@ var init_get_env = __esm({
|
|
|
92745
92737
|
success: process.env[`${prefix}SUCCESS`],
|
|
92746
92738
|
info: process.env[`${prefix}INFO`],
|
|
92747
92739
|
warning: process.env[`${prefix}WARNING`],
|
|
92748
|
-
|
|
92740
|
+
danger: process.env[`${prefix}DANGER`],
|
|
92749
92741
|
fatal: process.env[`${prefix}FATAL`],
|
|
92750
92742
|
positive: process.env[`${prefix}POSITIVE`],
|
|
92751
92743
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -92771,7 +92763,7 @@ var init_get_env = __esm({
|
|
|
92771
92763
|
success: process.env[`${prefix}SUCCESS`],
|
|
92772
92764
|
info: process.env[`${prefix}INFO`],
|
|
92773
92765
|
warning: process.env[`${prefix}WARNING`],
|
|
92774
|
-
|
|
92766
|
+
danger: process.env[`${prefix}DANGER`],
|
|
92775
92767
|
fatal: process.env[`${prefix}FATAL`],
|
|
92776
92768
|
positive: process.env[`${prefix}POSITIVE`],
|
|
92777
92769
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -92999,8 +92991,8 @@ var init_set_env = __esm({
|
|
|
92999
92991
|
if (config.warning) {
|
|
93000
92992
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
93001
92993
|
}
|
|
93002
|
-
if (config.
|
|
93003
|
-
process.env[`${prefix}
|
|
92994
|
+
if (config.danger) {
|
|
92995
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
93004
92996
|
}
|
|
93005
92997
|
if (config.fatal) {
|
|
93006
92998
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -93049,8 +93041,8 @@ var init_set_env = __esm({
|
|
|
93049
93041
|
if (config.warning) {
|
|
93050
93042
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
93051
93043
|
}
|
|
93052
|
-
if (config.
|
|
93053
|
-
process.env[`${prefix}
|
|
93044
|
+
if (config.danger) {
|
|
93045
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
93054
93046
|
}
|
|
93055
93047
|
if (config.fatal) {
|
|
93056
93048
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -66151,22 +66151,22 @@ var init_lib = __esm({
|
|
|
66151
66151
|
});
|
|
66152
66152
|
|
|
66153
66153
|
// packages/config/src/schema.ts
|
|
66154
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
66154
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
66155
66155
|
var init_schema = __esm({
|
|
66156
66156
|
"packages/config/src/schema.ts"() {
|
|
66157
66157
|
init_lib();
|
|
66158
66158
|
init_constants();
|
|
66159
|
-
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66159
|
+
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
66160
66160
|
LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
66161
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66161
|
+
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
66162
66162
|
AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
66163
66163
|
AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
66164
|
-
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
66164
|
+
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
66165
66165
|
HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
66166
|
-
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66167
|
-
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66166
|
+
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
66167
|
+
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
66168
66168
|
WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
66169
|
-
|
|
66169
|
+
DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
66170
66170
|
FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
66171
66171
|
PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
66172
66172
|
NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
@@ -66181,7 +66181,7 @@ var init_schema = __esm({
|
|
|
66181
66181
|
success: SuccessColorSchema,
|
|
66182
66182
|
info: InfoColorSchema,
|
|
66183
66183
|
warning: WarningColorSchema,
|
|
66184
|
-
|
|
66184
|
+
danger: DangerColorSchema,
|
|
66185
66185
|
fatal: FatalColorSchema,
|
|
66186
66186
|
positive: PositiveColorSchema,
|
|
66187
66187
|
negative: NegativeColorSchema
|
|
@@ -66197,7 +66197,7 @@ var init_schema = __esm({
|
|
|
66197
66197
|
success: SuccessColorSchema,
|
|
66198
66198
|
info: InfoColorSchema,
|
|
66199
66199
|
warning: WarningColorSchema,
|
|
66200
|
-
|
|
66200
|
+
danger: DangerColorSchema,
|
|
66201
66201
|
fatal: FatalColorSchema,
|
|
66202
66202
|
positive: PositiveColorSchema,
|
|
66203
66203
|
negative: NegativeColorSchema
|
|
@@ -66217,7 +66217,7 @@ var init_schema = __esm({
|
|
|
66217
66217
|
success: SuccessColorSchema,
|
|
66218
66218
|
info: InfoColorSchema,
|
|
66219
66219
|
warning: WarningColorSchema,
|
|
66220
|
-
|
|
66220
|
+
danger: DangerColorSchema,
|
|
66221
66221
|
fatal: FatalColorSchema,
|
|
66222
66222
|
positive: PositiveColorSchema,
|
|
66223
66223
|
negative: NegativeColorSchema
|
|
@@ -66319,7 +66319,7 @@ var init_types = __esm({
|
|
|
66319
66319
|
"help",
|
|
66320
66320
|
"info",
|
|
66321
66321
|
"warning",
|
|
66322
|
-
"
|
|
66322
|
+
"danger",
|
|
66323
66323
|
"fatal",
|
|
66324
66324
|
"positive",
|
|
66325
66325
|
"negative"
|
|
@@ -66355,7 +66355,7 @@ var init_get_default_config = __esm({
|
|
|
66355
66355
|
"success": "#087f5b",
|
|
66356
66356
|
"info": "#0550ae",
|
|
66357
66357
|
"warning": "#e3b341",
|
|
66358
|
-
"
|
|
66358
|
+
"danger": "#D8314A",
|
|
66359
66359
|
"positive": "#22c55e",
|
|
66360
66360
|
"negative": "#dc2626"
|
|
66361
66361
|
},
|
|
@@ -66368,7 +66368,7 @@ var init_get_default_config = __esm({
|
|
|
66368
66368
|
"success": "#10b981",
|
|
66369
66369
|
"info": "#58a6ff",
|
|
66370
66370
|
"warning": "#f3d371",
|
|
66371
|
-
"
|
|
66371
|
+
"danger": "#D8314A",
|
|
66372
66372
|
"positive": "#22c55e",
|
|
66373
66373
|
"negative": "#dc2626"
|
|
66374
66374
|
}
|
|
@@ -66391,7 +66391,6 @@ var init_get_default_config = __esm({
|
|
|
66391
66391
|
organization: "storm-software",
|
|
66392
66392
|
configFile: null,
|
|
66393
66393
|
runtimeVersion: "1.0.0",
|
|
66394
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66395
66394
|
extensions: {}
|
|
66396
66395
|
};
|
|
66397
66396
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -66434,7 +66433,7 @@ var init_get_default_config = __esm({
|
|
|
66434
66433
|
}
|
|
66435
66434
|
return ret;
|
|
66436
66435
|
}, {}),
|
|
66437
|
-
colors: config.colors
|
|
66436
|
+
colors: config.colors,
|
|
66438
66437
|
workspaceRoot,
|
|
66439
66438
|
name,
|
|
66440
66439
|
namespace,
|
|
@@ -66555,10 +66554,9 @@ var init_logger = __esm({
|
|
|
66555
66554
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
66556
66555
|
return (message) => {
|
|
66557
66556
|
console.error(
|
|
66558
|
-
|
|
66559
|
-
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66557
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66560
66558
|
" \u{1F480} Fatal "
|
|
66561
|
-
)} ${_chalk.hex(colors.
|
|
66559
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
66562
66560
|
`
|
|
66563
66561
|
);
|
|
66564
66562
|
};
|
|
@@ -66566,10 +66564,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66566
66564
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
|
|
66567
66565
|
return (message) => {
|
|
66568
66566
|
console.error(
|
|
66569
|
-
|
|
66570
|
-
${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
|
|
66567
|
+
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66571
66568
|
" \u2718 Error "
|
|
66572
|
-
)} ${_chalk.hex(colors.
|
|
66569
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
|
|
66573
66570
|
`
|
|
66574
66571
|
);
|
|
66575
66572
|
};
|
|
@@ -66577,10 +66574,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
|
|
|
66577
66574
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
|
|
66578
66575
|
return (message) => {
|
|
66579
66576
|
console.warn(
|
|
66580
|
-
|
|
66581
|
-
${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
66577
|
+
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
66582
66578
|
" \u26A0 Warn "
|
|
66583
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66579
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
|
|
66584
66580
|
`
|
|
66585
66581
|
);
|
|
66586
66582
|
};
|
|
@@ -66588,10 +66584,9 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
66588
66584
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
|
|
66589
66585
|
return (message) => {
|
|
66590
66586
|
console.info(
|
|
66591
|
-
|
|
66592
|
-
${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
66587
|
+
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
66593
66588
|
" \u2713 Success "
|
|
66594
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66589
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
|
|
66595
66590
|
`
|
|
66596
66591
|
);
|
|
66597
66592
|
};
|
|
@@ -66599,10 +66594,9 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
|
|
|
66599
66594
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
|
|
66600
66595
|
return (message) => {
|
|
66601
66596
|
console.info(
|
|
66602
|
-
|
|
66603
|
-
${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
66597
|
+
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
66604
66598
|
" \u2139 Info "
|
|
66605
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66599
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
|
|
66606
66600
|
`
|
|
66607
66601
|
);
|
|
66608
66602
|
};
|
|
@@ -66610,20 +66604,18 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
|
|
|
66610
66604
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
|
|
66611
66605
|
return (message) => {
|
|
66612
66606
|
console.debug(
|
|
66613
|
-
|
|
66614
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66607
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66615
66608
|
" \u{1F6E0} Debug "
|
|
66616
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66609
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
66617
66610
|
`
|
|
66618
66611
|
);
|
|
66619
66612
|
};
|
|
66620
66613
|
}
|
|
66621
66614
|
return (message) => {
|
|
66622
66615
|
console.log(
|
|
66623
|
-
|
|
66624
|
-
${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66616
|
+
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66625
66617
|
" \u2709 System "
|
|
66626
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66618
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
|
|
66627
66619
|
`
|
|
66628
66620
|
);
|
|
66629
66621
|
};
|
|
@@ -66975,7 +66967,7 @@ var init_get_env = __esm({
|
|
|
66975
66967
|
success: process.env[`${prefix}SUCCESS`],
|
|
66976
66968
|
info: process.env[`${prefix}INFO`],
|
|
66977
66969
|
warning: process.env[`${prefix}WARNING`],
|
|
66978
|
-
|
|
66970
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66979
66971
|
fatal: process.env[`${prefix}FATAL`],
|
|
66980
66972
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66981
66973
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67001,7 +66993,7 @@ var init_get_env = __esm({
|
|
|
67001
66993
|
success: process.env[`${prefix}SUCCESS`],
|
|
67002
66994
|
info: process.env[`${prefix}INFO`],
|
|
67003
66995
|
warning: process.env[`${prefix}WARNING`],
|
|
67004
|
-
|
|
66996
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67005
66997
|
fatal: process.env[`${prefix}FATAL`],
|
|
67006
66998
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67007
66999
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67229,8 +67221,8 @@ var init_set_env = __esm({
|
|
|
67229
67221
|
if (config.warning) {
|
|
67230
67222
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67231
67223
|
}
|
|
67232
|
-
if (config.
|
|
67233
|
-
process.env[`${prefix}
|
|
67224
|
+
if (config.danger) {
|
|
67225
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67234
67226
|
}
|
|
67235
67227
|
if (config.fatal) {
|
|
67236
67228
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67279,8 +67271,8 @@ var init_set_env = __esm({
|
|
|
67279
67271
|
if (config.warning) {
|
|
67280
67272
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67281
67273
|
}
|
|
67282
|
-
if (config.
|
|
67283
|
-
process.env[`${prefix}
|
|
67274
|
+
if (config.danger) {
|
|
67275
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67284
67276
|
}
|
|
67285
67277
|
if (config.fatal) {
|
|
67286
67278
|
process.env[`${prefix}FATAL`] = config.fatal;
|