@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;
|
|
@@ -93065,22 +93065,22 @@ var init_lib = __esm({
|
|
|
93065
93065
|
});
|
|
93066
93066
|
|
|
93067
93067
|
// packages/config/src/schema.ts
|
|
93068
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
93068
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
93069
93069
|
var init_schema = __esm({
|
|
93070
93070
|
"packages/config/src/schema.ts"() {
|
|
93071
93071
|
init_lib();
|
|
93072
93072
|
init_constants();
|
|
93073
|
-
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
93073
|
+
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");
|
|
93074
93074
|
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");
|
|
93075
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
93075
|
+
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");
|
|
93076
93076
|
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");
|
|
93077
93077
|
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");
|
|
93078
|
-
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
93078
|
+
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
93079
93079
|
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");
|
|
93080
|
-
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
93081
|
-
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
93080
|
+
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
93081
|
+
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
93082
93082
|
WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
93083
|
-
|
|
93083
|
+
DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
93084
93084
|
FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
93085
93085
|
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");
|
|
93086
93086
|
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");
|
|
@@ -93095,7 +93095,7 @@ var init_schema = __esm({
|
|
|
93095
93095
|
success: SuccessColorSchema,
|
|
93096
93096
|
info: InfoColorSchema,
|
|
93097
93097
|
warning: WarningColorSchema,
|
|
93098
|
-
|
|
93098
|
+
danger: DangerColorSchema,
|
|
93099
93099
|
fatal: FatalColorSchema,
|
|
93100
93100
|
positive: PositiveColorSchema,
|
|
93101
93101
|
negative: NegativeColorSchema
|
|
@@ -93111,7 +93111,7 @@ var init_schema = __esm({
|
|
|
93111
93111
|
success: SuccessColorSchema,
|
|
93112
93112
|
info: InfoColorSchema,
|
|
93113
93113
|
warning: WarningColorSchema,
|
|
93114
|
-
|
|
93114
|
+
danger: DangerColorSchema,
|
|
93115
93115
|
fatal: FatalColorSchema,
|
|
93116
93116
|
positive: PositiveColorSchema,
|
|
93117
93117
|
negative: NegativeColorSchema
|
|
@@ -93131,7 +93131,7 @@ var init_schema = __esm({
|
|
|
93131
93131
|
success: SuccessColorSchema,
|
|
93132
93132
|
info: InfoColorSchema,
|
|
93133
93133
|
warning: WarningColorSchema,
|
|
93134
|
-
|
|
93134
|
+
danger: DangerColorSchema,
|
|
93135
93135
|
fatal: FatalColorSchema,
|
|
93136
93136
|
positive: PositiveColorSchema,
|
|
93137
93137
|
negative: NegativeColorSchema
|
|
@@ -93233,7 +93233,7 @@ var init_types = __esm({
|
|
|
93233
93233
|
"help",
|
|
93234
93234
|
"info",
|
|
93235
93235
|
"warning",
|
|
93236
|
-
"
|
|
93236
|
+
"danger",
|
|
93237
93237
|
"fatal",
|
|
93238
93238
|
"positive",
|
|
93239
93239
|
"negative"
|
|
@@ -93269,7 +93269,7 @@ var init_get_default_config = __esm({
|
|
|
93269
93269
|
"success": "#087f5b",
|
|
93270
93270
|
"info": "#0550ae",
|
|
93271
93271
|
"warning": "#e3b341",
|
|
93272
|
-
"
|
|
93272
|
+
"danger": "#D8314A",
|
|
93273
93273
|
"positive": "#22c55e",
|
|
93274
93274
|
"negative": "#dc2626"
|
|
93275
93275
|
},
|
|
@@ -93282,7 +93282,7 @@ var init_get_default_config = __esm({
|
|
|
93282
93282
|
"success": "#10b981",
|
|
93283
93283
|
"info": "#58a6ff",
|
|
93284
93284
|
"warning": "#f3d371",
|
|
93285
|
-
"
|
|
93285
|
+
"danger": "#D8314A",
|
|
93286
93286
|
"positive": "#22c55e",
|
|
93287
93287
|
"negative": "#dc2626"
|
|
93288
93288
|
}
|
|
@@ -93305,7 +93305,6 @@ var init_get_default_config = __esm({
|
|
|
93305
93305
|
organization: "storm-software",
|
|
93306
93306
|
configFile: null,
|
|
93307
93307
|
runtimeVersion: "1.0.0",
|
|
93308
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
93309
93308
|
extensions: {}
|
|
93310
93309
|
};
|
|
93311
93310
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -93348,7 +93347,7 @@ var init_get_default_config = __esm({
|
|
|
93348
93347
|
}
|
|
93349
93348
|
return ret;
|
|
93350
93349
|
}, {}),
|
|
93351
|
-
colors: config.colors
|
|
93350
|
+
colors: config.colors,
|
|
93352
93351
|
workspaceRoot: workspaceRoot2,
|
|
93353
93352
|
name,
|
|
93354
93353
|
namespace,
|
|
@@ -93470,9 +93469,9 @@ var init_logger = __esm({
|
|
|
93470
93469
|
return (message) => {
|
|
93471
93470
|
console.error(
|
|
93472
93471
|
`
|
|
93473
|
-
${_chalk.bold.hex(colors2.
|
|
93472
|
+
${_chalk.bold.hex(colors2.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.fatal ?? "#7d1a1a").whiteBright(
|
|
93474
93473
|
" \u{1F480} Fatal "
|
|
93475
|
-
)} ${_chalk.hex(colors2.
|
|
93474
|
+
)} ${_chalk.hex(colors2.danger ?? "#f85149")(formatLogMessage(message))}
|
|
93476
93475
|
`
|
|
93477
93476
|
);
|
|
93478
93477
|
};
|
|
@@ -93481,9 +93480,9 @@ ${_chalk.bold.hex(colors2.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.
|
|
|
93481
93480
|
return (message) => {
|
|
93482
93481
|
console.error(
|
|
93483
93482
|
`
|
|
93484
|
-
${_chalk.bold.hex(colors2.
|
|
93483
|
+
${_chalk.bold.hex(colors2.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.danger ?? "#f85149").whiteBright(
|
|
93485
93484
|
" \u2718 Error "
|
|
93486
|
-
)} ${_chalk.hex(colors2.
|
|
93485
|
+
)} ${_chalk.hex(colors2.danger ?? "#f85149")(formatLogMessage(message))}
|
|
93487
93486
|
`
|
|
93488
93487
|
);
|
|
93489
93488
|
};
|
|
@@ -93889,7 +93888,7 @@ var init_get_env = __esm({
|
|
|
93889
93888
|
success: process.env[`${prefix}SUCCESS`],
|
|
93890
93889
|
info: process.env[`${prefix}INFO`],
|
|
93891
93890
|
warning: process.env[`${prefix}WARNING`],
|
|
93892
|
-
|
|
93891
|
+
danger: process.env[`${prefix}DANGER`],
|
|
93893
93892
|
fatal: process.env[`${prefix}FATAL`],
|
|
93894
93893
|
positive: process.env[`${prefix}POSITIVE`],
|
|
93895
93894
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -93915,7 +93914,7 @@ var init_get_env = __esm({
|
|
|
93915
93914
|
success: process.env[`${prefix}SUCCESS`],
|
|
93916
93915
|
info: process.env[`${prefix}INFO`],
|
|
93917
93916
|
warning: process.env[`${prefix}WARNING`],
|
|
93918
|
-
|
|
93917
|
+
danger: process.env[`${prefix}DANGER`],
|
|
93919
93918
|
fatal: process.env[`${prefix}FATAL`],
|
|
93920
93919
|
positive: process.env[`${prefix}POSITIVE`],
|
|
93921
93920
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -94143,8 +94142,8 @@ var init_set_env = __esm({
|
|
|
94143
94142
|
if (config.warning) {
|
|
94144
94143
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
94145
94144
|
}
|
|
94146
|
-
if (config.
|
|
94147
|
-
process.env[`${prefix}
|
|
94145
|
+
if (config.danger) {
|
|
94146
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
94148
94147
|
}
|
|
94149
94148
|
if (config.fatal) {
|
|
94150
94149
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -94193,8 +94192,8 @@ var init_set_env = __esm({
|
|
|
94193
94192
|
if (config.warning) {
|
|
94194
94193
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
94195
94194
|
}
|
|
94196
|
-
if (config.
|
|
94197
|
-
process.env[`${prefix}
|
|
94195
|
+
if (config.danger) {
|
|
94196
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
94198
94197
|
}
|
|
94199
94198
|
if (config.fatal) {
|
|
94200
94199
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -66639,22 +66639,22 @@ var init_lib = __esm({
|
|
|
66639
66639
|
});
|
|
66640
66640
|
|
|
66641
66641
|
// packages/config/src/schema.ts
|
|
66642
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
66642
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
66643
66643
|
var init_schema = __esm({
|
|
66644
66644
|
"packages/config/src/schema.ts"() {
|
|
66645
66645
|
init_lib();
|
|
66646
66646
|
init_constants();
|
|
66647
|
-
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66647
|
+
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");
|
|
66648
66648
|
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");
|
|
66649
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66649
|
+
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");
|
|
66650
66650
|
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");
|
|
66651
66651
|
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");
|
|
66652
|
-
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
66652
|
+
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
66653
66653
|
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");
|
|
66654
|
-
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66655
|
-
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
66654
|
+
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
66655
|
+
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
66656
66656
|
WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
66657
|
-
|
|
66657
|
+
DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
66658
66658
|
FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
66659
66659
|
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");
|
|
66660
66660
|
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");
|
|
@@ -66669,7 +66669,7 @@ var init_schema = __esm({
|
|
|
66669
66669
|
success: SuccessColorSchema,
|
|
66670
66670
|
info: InfoColorSchema,
|
|
66671
66671
|
warning: WarningColorSchema,
|
|
66672
|
-
|
|
66672
|
+
danger: DangerColorSchema,
|
|
66673
66673
|
fatal: FatalColorSchema,
|
|
66674
66674
|
positive: PositiveColorSchema,
|
|
66675
66675
|
negative: NegativeColorSchema
|
|
@@ -66685,7 +66685,7 @@ var init_schema = __esm({
|
|
|
66685
66685
|
success: SuccessColorSchema,
|
|
66686
66686
|
info: InfoColorSchema,
|
|
66687
66687
|
warning: WarningColorSchema,
|
|
66688
|
-
|
|
66688
|
+
danger: DangerColorSchema,
|
|
66689
66689
|
fatal: FatalColorSchema,
|
|
66690
66690
|
positive: PositiveColorSchema,
|
|
66691
66691
|
negative: NegativeColorSchema
|
|
@@ -66705,7 +66705,7 @@ var init_schema = __esm({
|
|
|
66705
66705
|
success: SuccessColorSchema,
|
|
66706
66706
|
info: InfoColorSchema,
|
|
66707
66707
|
warning: WarningColorSchema,
|
|
66708
|
-
|
|
66708
|
+
danger: DangerColorSchema,
|
|
66709
66709
|
fatal: FatalColorSchema,
|
|
66710
66710
|
positive: PositiveColorSchema,
|
|
66711
66711
|
negative: NegativeColorSchema
|
|
@@ -66807,7 +66807,7 @@ var init_types = __esm({
|
|
|
66807
66807
|
"help",
|
|
66808
66808
|
"info",
|
|
66809
66809
|
"warning",
|
|
66810
|
-
"
|
|
66810
|
+
"danger",
|
|
66811
66811
|
"fatal",
|
|
66812
66812
|
"positive",
|
|
66813
66813
|
"negative"
|
|
@@ -66843,7 +66843,7 @@ var init_get_default_config = __esm({
|
|
|
66843
66843
|
"success": "#087f5b",
|
|
66844
66844
|
"info": "#0550ae",
|
|
66845
66845
|
"warning": "#e3b341",
|
|
66846
|
-
"
|
|
66846
|
+
"danger": "#D8314A",
|
|
66847
66847
|
"positive": "#22c55e",
|
|
66848
66848
|
"negative": "#dc2626"
|
|
66849
66849
|
},
|
|
@@ -66856,7 +66856,7 @@ var init_get_default_config = __esm({
|
|
|
66856
66856
|
"success": "#10b981",
|
|
66857
66857
|
"info": "#58a6ff",
|
|
66858
66858
|
"warning": "#f3d371",
|
|
66859
|
-
"
|
|
66859
|
+
"danger": "#D8314A",
|
|
66860
66860
|
"positive": "#22c55e",
|
|
66861
66861
|
"negative": "#dc2626"
|
|
66862
66862
|
}
|
|
@@ -66879,7 +66879,6 @@ var init_get_default_config = __esm({
|
|
|
66879
66879
|
organization: "storm-software",
|
|
66880
66880
|
configFile: null,
|
|
66881
66881
|
runtimeVersion: "1.0.0",
|
|
66882
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66883
66882
|
extensions: {}
|
|
66884
66883
|
};
|
|
66885
66884
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -66922,7 +66921,7 @@ var init_get_default_config = __esm({
|
|
|
66922
66921
|
}
|
|
66923
66922
|
return ret;
|
|
66924
66923
|
}, {}),
|
|
66925
|
-
colors: config.colors
|
|
66924
|
+
colors: config.colors,
|
|
66926
66925
|
workspaceRoot,
|
|
66927
66926
|
name,
|
|
66928
66927
|
namespace,
|
|
@@ -67044,9 +67043,9 @@ var init_logger = __esm({
|
|
|
67044
67043
|
return (message) => {
|
|
67045
67044
|
console.error(
|
|
67046
67045
|
`
|
|
67047
|
-
${_chalk.bold.hex(colors.
|
|
67046
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
67048
67047
|
" \u{1F480} Fatal "
|
|
67049
|
-
)} ${_chalk.hex(colors.
|
|
67048
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
67050
67049
|
`
|
|
67051
67050
|
);
|
|
67052
67051
|
};
|
|
@@ -67055,9 +67054,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
67055
67054
|
return (message) => {
|
|
67056
67055
|
console.error(
|
|
67057
67056
|
`
|
|
67058
|
-
${_chalk.bold.hex(colors.
|
|
67057
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
67059
67058
|
" \u2718 Error "
|
|
67060
|
-
)} ${_chalk.hex(colors.
|
|
67059
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
67061
67060
|
`
|
|
67062
67061
|
);
|
|
67063
67062
|
};
|
|
@@ -67463,7 +67462,7 @@ var init_get_env = __esm({
|
|
|
67463
67462
|
success: process.env[`${prefix}SUCCESS`],
|
|
67464
67463
|
info: process.env[`${prefix}INFO`],
|
|
67465
67464
|
warning: process.env[`${prefix}WARNING`],
|
|
67466
|
-
|
|
67465
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67467
67466
|
fatal: process.env[`${prefix}FATAL`],
|
|
67468
67467
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67469
67468
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67489,7 +67488,7 @@ var init_get_env = __esm({
|
|
|
67489
67488
|
success: process.env[`${prefix}SUCCESS`],
|
|
67490
67489
|
info: process.env[`${prefix}INFO`],
|
|
67491
67490
|
warning: process.env[`${prefix}WARNING`],
|
|
67492
|
-
|
|
67491
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67493
67492
|
fatal: process.env[`${prefix}FATAL`],
|
|
67494
67493
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67495
67494
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67717,8 +67716,8 @@ var init_set_env = __esm({
|
|
|
67717
67716
|
if (config.warning) {
|
|
67718
67717
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67719
67718
|
}
|
|
67720
|
-
if (config.
|
|
67721
|
-
process.env[`${prefix}
|
|
67719
|
+
if (config.danger) {
|
|
67720
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67722
67721
|
}
|
|
67723
67722
|
if (config.fatal) {
|
|
67724
67723
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67767,8 +67766,8 @@ var init_set_env = __esm({
|
|
|
67767
67766
|
if (config.warning) {
|
|
67768
67767
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67769
67768
|
}
|
|
67770
|
-
if (config.
|
|
67771
|
-
process.env[`${prefix}
|
|
67769
|
+
if (config.danger) {
|
|
67770
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67772
67771
|
}
|
|
67773
67772
|
if (config.fatal) {
|
|
67774
67773
|
process.env[`${prefix}FATAL`] = config.fatal;
|