@storm-software/workspace-tools 1.196.0 → 1.197.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 +7 -0
- package/README.md +1 -1
- package/index.js +24 -25
- package/meta.json +188 -188
- package/package.json +1 -1
- package/src/base/base-executor.js +24 -25
- package/src/base/base-generator.js +24 -25
- package/src/base/index.js +24 -25
- package/src/executors/cargo-build/executor.js +24 -25
- package/src/executors/cargo-check/executor.js +24 -25
- package/src/executors/cargo-clippy/executor.js +24 -25
- package/src/executors/cargo-doc/executor.js +24 -25
- package/src/executors/cargo-format/executor.js +24 -25
- package/src/executors/clean-package/executor.js +24 -25
- package/src/executors/rolldown/executor.js +24 -25
- package/src/executors/rollup/executor.js +24 -25
- package/src/executors/size-limit/executor.js +24 -25
- package/src/executors/tsup/executor.js +24 -25
- package/src/executors/tsup-browser/executor.js +24 -25
- package/src/executors/tsup-neutral/executor.js +24 -25
- package/src/executors/tsup-node/executor.js +24 -25
- package/src/executors/typia/executor.js +24 -25
- package/src/executors/unbuild/executor.js +24 -25
- package/src/generators/browser-library/generator.js +24 -25
- package/src/generators/config-schema/generator.js +24 -25
- package/src/generators/neutral-library/generator.js +24 -25
- package/src/generators/node-library/generator.js +24 -25
- package/src/generators/preset/generator.js +24 -25
- package/src/generators/release-version/generator.js +24 -25
- package/src/utils/index.js +24 -25
|
@@ -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,
|
|
@@ -66556,9 +66555,9 @@ var init_logger = __esm({
|
|
|
66556
66555
|
return (message) => {
|
|
66557
66556
|
console.error(
|
|
66558
66557
|
`
|
|
66559
|
-
${_chalk.bold.hex(colors.
|
|
66558
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66560
66559
|
" \u{1F480} Fatal "
|
|
66561
|
-
)} ${_chalk.hex(colors.
|
|
66560
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66562
66561
|
`
|
|
66563
66562
|
);
|
|
66564
66563
|
};
|
|
@@ -66567,9 +66566,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66567
66566
|
return (message) => {
|
|
66568
66567
|
console.error(
|
|
66569
66568
|
`
|
|
66570
|
-
${_chalk.bold.hex(colors.
|
|
66569
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66571
66570
|
" \u2718 Error "
|
|
66572
|
-
)} ${_chalk.hex(colors.
|
|
66571
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66573
66572
|
`
|
|
66574
66573
|
);
|
|
66575
66574
|
};
|
|
@@ -66975,7 +66974,7 @@ var init_get_env = __esm({
|
|
|
66975
66974
|
success: process.env[`${prefix}SUCCESS`],
|
|
66976
66975
|
info: process.env[`${prefix}INFO`],
|
|
66977
66976
|
warning: process.env[`${prefix}WARNING`],
|
|
66978
|
-
|
|
66977
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66979
66978
|
fatal: process.env[`${prefix}FATAL`],
|
|
66980
66979
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66981
66980
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67001,7 +67000,7 @@ var init_get_env = __esm({
|
|
|
67001
67000
|
success: process.env[`${prefix}SUCCESS`],
|
|
67002
67001
|
info: process.env[`${prefix}INFO`],
|
|
67003
67002
|
warning: process.env[`${prefix}WARNING`],
|
|
67004
|
-
|
|
67003
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67005
67004
|
fatal: process.env[`${prefix}FATAL`],
|
|
67006
67005
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67007
67006
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67229,8 +67228,8 @@ var init_set_env = __esm({
|
|
|
67229
67228
|
if (config.warning) {
|
|
67230
67229
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67231
67230
|
}
|
|
67232
|
-
if (config.
|
|
67233
|
-
process.env[`${prefix}
|
|
67231
|
+
if (config.danger) {
|
|
67232
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67234
67233
|
}
|
|
67235
67234
|
if (config.fatal) {
|
|
67236
67235
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67279,8 +67278,8 @@ var init_set_env = __esm({
|
|
|
67279
67278
|
if (config.warning) {
|
|
67280
67279
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67281
67280
|
}
|
|
67282
|
-
if (config.
|
|
67283
|
-
process.env[`${prefix}
|
|
67281
|
+
if (config.danger) {
|
|
67282
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67284
67283
|
}
|
|
67285
67284
|
if (config.fatal) {
|
|
67286
67285
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -3961,22 +3961,22 @@ var init_lib = __esm({
|
|
|
3961
3961
|
});
|
|
3962
3962
|
|
|
3963
3963
|
// packages/config/src/schema.ts
|
|
3964
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
3964
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
3965
3965
|
var init_schema = __esm({
|
|
3966
3966
|
"packages/config/src/schema.ts"() {
|
|
3967
3967
|
init_lib();
|
|
3968
3968
|
init_constants();
|
|
3969
|
-
DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
3969
|
+
DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
3970
3970
|
LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
3971
|
-
BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
3971
|
+
BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
3972
3972
|
AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
3973
3973
|
AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
3974
|
-
LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
3974
|
+
LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
3975
3975
|
HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
3976
|
-
SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
3977
|
-
InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
3976
|
+
SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
3977
|
+
InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
3978
3978
|
WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
3979
|
-
|
|
3979
|
+
DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
3980
3980
|
FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
3981
3981
|
PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
3982
3982
|
NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
@@ -3991,7 +3991,7 @@ var init_schema = __esm({
|
|
|
3991
3991
|
success: SuccessColorSchema,
|
|
3992
3992
|
info: InfoColorSchema,
|
|
3993
3993
|
warning: WarningColorSchema,
|
|
3994
|
-
|
|
3994
|
+
danger: DangerColorSchema,
|
|
3995
3995
|
fatal: FatalColorSchema,
|
|
3996
3996
|
positive: PositiveColorSchema,
|
|
3997
3997
|
negative: NegativeColorSchema
|
|
@@ -4007,7 +4007,7 @@ var init_schema = __esm({
|
|
|
4007
4007
|
success: SuccessColorSchema,
|
|
4008
4008
|
info: InfoColorSchema,
|
|
4009
4009
|
warning: WarningColorSchema,
|
|
4010
|
-
|
|
4010
|
+
danger: DangerColorSchema,
|
|
4011
4011
|
fatal: FatalColorSchema,
|
|
4012
4012
|
positive: PositiveColorSchema,
|
|
4013
4013
|
negative: NegativeColorSchema
|
|
@@ -4027,7 +4027,7 @@ var init_schema = __esm({
|
|
|
4027
4027
|
success: SuccessColorSchema,
|
|
4028
4028
|
info: InfoColorSchema,
|
|
4029
4029
|
warning: WarningColorSchema,
|
|
4030
|
-
|
|
4030
|
+
danger: DangerColorSchema,
|
|
4031
4031
|
fatal: FatalColorSchema,
|
|
4032
4032
|
positive: PositiveColorSchema,
|
|
4033
4033
|
negative: NegativeColorSchema
|
|
@@ -4129,7 +4129,7 @@ var init_types = __esm({
|
|
|
4129
4129
|
"help",
|
|
4130
4130
|
"info",
|
|
4131
4131
|
"warning",
|
|
4132
|
-
"
|
|
4132
|
+
"danger",
|
|
4133
4133
|
"fatal",
|
|
4134
4134
|
"positive",
|
|
4135
4135
|
"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,
|
|
@@ -66556,9 +66555,9 @@ var init_logger = __esm({
|
|
|
66556
66555
|
return (message) => {
|
|
66557
66556
|
console.error(
|
|
66558
66557
|
`
|
|
66559
|
-
${_chalk.bold.hex(colors.
|
|
66558
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66560
66559
|
" \u{1F480} Fatal "
|
|
66561
|
-
)} ${_chalk.hex(colors.
|
|
66560
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66562
66561
|
`
|
|
66563
66562
|
);
|
|
66564
66563
|
};
|
|
@@ -66567,9 +66566,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66567
66566
|
return (message) => {
|
|
66568
66567
|
console.error(
|
|
66569
66568
|
`
|
|
66570
|
-
${_chalk.bold.hex(colors.
|
|
66569
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66571
66570
|
" \u2718 Error "
|
|
66572
|
-
)} ${_chalk.hex(colors.
|
|
66571
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66573
66572
|
`
|
|
66574
66573
|
);
|
|
66575
66574
|
};
|
|
@@ -66975,7 +66974,7 @@ var init_get_env = __esm({
|
|
|
66975
66974
|
success: process.env[`${prefix}SUCCESS`],
|
|
66976
66975
|
info: process.env[`${prefix}INFO`],
|
|
66977
66976
|
warning: process.env[`${prefix}WARNING`],
|
|
66978
|
-
|
|
66977
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66979
66978
|
fatal: process.env[`${prefix}FATAL`],
|
|
66980
66979
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66981
66980
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67001,7 +67000,7 @@ var init_get_env = __esm({
|
|
|
67001
67000
|
success: process.env[`${prefix}SUCCESS`],
|
|
67002
67001
|
info: process.env[`${prefix}INFO`],
|
|
67003
67002
|
warning: process.env[`${prefix}WARNING`],
|
|
67004
|
-
|
|
67003
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67005
67004
|
fatal: process.env[`${prefix}FATAL`],
|
|
67006
67005
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67007
67006
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67229,8 +67228,8 @@ var init_set_env = __esm({
|
|
|
67229
67228
|
if (config.warning) {
|
|
67230
67229
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67231
67230
|
}
|
|
67232
|
-
if (config.
|
|
67233
|
-
process.env[`${prefix}
|
|
67231
|
+
if (config.danger) {
|
|
67232
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67234
67233
|
}
|
|
67235
67234
|
if (config.fatal) {
|
|
67236
67235
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67279,8 +67278,8 @@ var init_set_env = __esm({
|
|
|
67279
67278
|
if (config.warning) {
|
|
67280
67279
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67281
67280
|
}
|
|
67282
|
-
if (config.
|
|
67283
|
-
process.env[`${prefix}
|
|
67281
|
+
if (config.danger) {
|
|
67282
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67284
67283
|
}
|
|
67285
67284
|
if (config.fatal) {
|
|
67286
67285
|
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,
|
|
@@ -66556,9 +66555,9 @@ var init_logger = __esm({
|
|
|
66556
66555
|
return (message) => {
|
|
66557
66556
|
console.error(
|
|
66558
66557
|
`
|
|
66559
|
-
${_chalk.bold.hex(colors.
|
|
66558
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66560
66559
|
" \u{1F480} Fatal "
|
|
66561
|
-
)} ${_chalk.hex(colors.
|
|
66560
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66562
66561
|
`
|
|
66563
66562
|
);
|
|
66564
66563
|
};
|
|
@@ -66567,9 +66566,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66567
66566
|
return (message) => {
|
|
66568
66567
|
console.error(
|
|
66569
66568
|
`
|
|
66570
|
-
${_chalk.bold.hex(colors.
|
|
66569
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66571
66570
|
" \u2718 Error "
|
|
66572
|
-
)} ${_chalk.hex(colors.
|
|
66571
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66573
66572
|
`
|
|
66574
66573
|
);
|
|
66575
66574
|
};
|
|
@@ -66975,7 +66974,7 @@ var init_get_env = __esm({
|
|
|
66975
66974
|
success: process.env[`${prefix}SUCCESS`],
|
|
66976
66975
|
info: process.env[`${prefix}INFO`],
|
|
66977
66976
|
warning: process.env[`${prefix}WARNING`],
|
|
66978
|
-
|
|
66977
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66979
66978
|
fatal: process.env[`${prefix}FATAL`],
|
|
66980
66979
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66981
66980
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67001,7 +67000,7 @@ var init_get_env = __esm({
|
|
|
67001
67000
|
success: process.env[`${prefix}SUCCESS`],
|
|
67002
67001
|
info: process.env[`${prefix}INFO`],
|
|
67003
67002
|
warning: process.env[`${prefix}WARNING`],
|
|
67004
|
-
|
|
67003
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67005
67004
|
fatal: process.env[`${prefix}FATAL`],
|
|
67006
67005
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67007
67006
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67229,8 +67228,8 @@ var init_set_env = __esm({
|
|
|
67229
67228
|
if (config.warning) {
|
|
67230
67229
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67231
67230
|
}
|
|
67232
|
-
if (config.
|
|
67233
|
-
process.env[`${prefix}
|
|
67231
|
+
if (config.danger) {
|
|
67232
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67234
67233
|
}
|
|
67235
67234
|
if (config.fatal) {
|
|
67236
67235
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67279,8 +67278,8 @@ var init_set_env = __esm({
|
|
|
67279
67278
|
if (config.warning) {
|
|
67280
67279
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67281
67280
|
}
|
|
67282
|
-
if (config.
|
|
67283
|
-
process.env[`${prefix}
|
|
67281
|
+
if (config.danger) {
|
|
67282
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67284
67283
|
}
|
|
67285
67284
|
if (config.fatal) {
|
|
67286
67285
|
process.env[`${prefix}FATAL`] = config.fatal;
|