@storm-software/workspace-tools 1.195.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 +14 -0
- package/README.md +1 -1
- package/index.js +31 -27
- package/meta.json +188 -188
- package/package.json +1 -1
- package/src/base/base-executor.js +31 -27
- package/src/base/base-generator.js +31 -27
- package/src/base/index.js +31 -27
- package/src/executors/cargo-build/executor.js +31 -27
- package/src/executors/cargo-check/executor.js +31 -27
- package/src/executors/cargo-clippy/executor.js +31 -27
- package/src/executors/cargo-doc/executor.js +31 -27
- package/src/executors/cargo-format/executor.js +31 -27
- package/src/executors/clean-package/executor.js +31 -27
- package/src/executors/rolldown/executor.js +31 -27
- package/src/executors/rollup/executor.js +31 -27
- package/src/executors/size-limit/executor.js +31 -27
- package/src/executors/tsup/executor.js +31 -27
- package/src/executors/tsup-browser/executor.js +31 -27
- package/src/executors/tsup-neutral/executor.js +31 -27
- package/src/executors/tsup-node/executor.js +31 -27
- package/src/executors/typia/executor.js +31 -27
- package/src/executors/unbuild/executor.js +31 -27
- package/src/generators/browser-library/generator.js +31 -27
- package/src/generators/config-schema/generator.js +31 -27
- package/src/generators/neutral-library/generator.js +31 -27
- package/src/generators/node-library/generator.js +31 -27
- package/src/generators/preset/generator.js +31 -27
- package/src/generators/release-version/generator.js +31 -27
- package/src/utils/index.js +31 -27
|
@@ -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
|
|
@@ -66310,14 +66310,19 @@ var init_types = __esm({
|
|
|
66310
66310
|
COLOR_KEYS = [
|
|
66311
66311
|
"dark",
|
|
66312
66312
|
"light",
|
|
66313
|
+
"base",
|
|
66313
66314
|
"brand",
|
|
66315
|
+
"alternate",
|
|
66314
66316
|
"accent",
|
|
66315
|
-
"
|
|
66317
|
+
"link",
|
|
66316
66318
|
"success",
|
|
66319
|
+
"help",
|
|
66317
66320
|
"info",
|
|
66318
66321
|
"warning",
|
|
66319
|
-
"
|
|
66320
|
-
"fatal"
|
|
66322
|
+
"danger",
|
|
66323
|
+
"fatal",
|
|
66324
|
+
"positive",
|
|
66325
|
+
"negative"
|
|
66321
66326
|
];
|
|
66322
66327
|
}
|
|
66323
66328
|
});
|
|
@@ -66350,7 +66355,7 @@ var init_get_default_config = __esm({
|
|
|
66350
66355
|
"success": "#087f5b",
|
|
66351
66356
|
"info": "#0550ae",
|
|
66352
66357
|
"warning": "#e3b341",
|
|
66353
|
-
"
|
|
66358
|
+
"danger": "#D8314A",
|
|
66354
66359
|
"positive": "#22c55e",
|
|
66355
66360
|
"negative": "#dc2626"
|
|
66356
66361
|
},
|
|
@@ -66363,7 +66368,7 @@ var init_get_default_config = __esm({
|
|
|
66363
66368
|
"success": "#10b981",
|
|
66364
66369
|
"info": "#58a6ff",
|
|
66365
66370
|
"warning": "#f3d371",
|
|
66366
|
-
"
|
|
66371
|
+
"danger": "#D8314A",
|
|
66367
66372
|
"positive": "#22c55e",
|
|
66368
66373
|
"negative": "#dc2626"
|
|
66369
66374
|
}
|
|
@@ -66386,7 +66391,6 @@ var init_get_default_config = __esm({
|
|
|
66386
66391
|
organization: "storm-software",
|
|
66387
66392
|
configFile: null,
|
|
66388
66393
|
runtimeVersion: "1.0.0",
|
|
66389
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66390
66394
|
extensions: {}
|
|
66391
66395
|
};
|
|
66392
66396
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -66429,7 +66433,7 @@ var init_get_default_config = __esm({
|
|
|
66429
66433
|
}
|
|
66430
66434
|
return ret;
|
|
66431
66435
|
}, {}),
|
|
66432
|
-
colors: config.colors
|
|
66436
|
+
colors: config.colors,
|
|
66433
66437
|
workspaceRoot,
|
|
66434
66438
|
name,
|
|
66435
66439
|
namespace,
|
|
@@ -66551,9 +66555,9 @@ var init_logger = __esm({
|
|
|
66551
66555
|
return (message) => {
|
|
66552
66556
|
console.error(
|
|
66553
66557
|
`
|
|
66554
|
-
${_chalk.bold.hex(colors.
|
|
66558
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66555
66559
|
" \u{1F480} Fatal "
|
|
66556
|
-
)} ${_chalk.hex(colors.
|
|
66560
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66557
66561
|
`
|
|
66558
66562
|
);
|
|
66559
66563
|
};
|
|
@@ -66562,9 +66566,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66562
66566
|
return (message) => {
|
|
66563
66567
|
console.error(
|
|
66564
66568
|
`
|
|
66565
|
-
${_chalk.bold.hex(colors.
|
|
66569
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66566
66570
|
" \u2718 Error "
|
|
66567
|
-
)} ${_chalk.hex(colors.
|
|
66571
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66568
66572
|
`
|
|
66569
66573
|
);
|
|
66570
66574
|
};
|
|
@@ -66970,7 +66974,7 @@ var init_get_env = __esm({
|
|
|
66970
66974
|
success: process.env[`${prefix}SUCCESS`],
|
|
66971
66975
|
info: process.env[`${prefix}INFO`],
|
|
66972
66976
|
warning: process.env[`${prefix}WARNING`],
|
|
66973
|
-
|
|
66977
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66974
66978
|
fatal: process.env[`${prefix}FATAL`],
|
|
66975
66979
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66976
66980
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66996,7 +67000,7 @@ var init_get_env = __esm({
|
|
|
66996
67000
|
success: process.env[`${prefix}SUCCESS`],
|
|
66997
67001
|
info: process.env[`${prefix}INFO`],
|
|
66998
67002
|
warning: process.env[`${prefix}WARNING`],
|
|
66999
|
-
|
|
67003
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67000
67004
|
fatal: process.env[`${prefix}FATAL`],
|
|
67001
67005
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67002
67006
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67224,8 +67228,8 @@ var init_set_env = __esm({
|
|
|
67224
67228
|
if (config.warning) {
|
|
67225
67229
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67226
67230
|
}
|
|
67227
|
-
if (config.
|
|
67228
|
-
process.env[`${prefix}
|
|
67231
|
+
if (config.danger) {
|
|
67232
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67229
67233
|
}
|
|
67230
67234
|
if (config.fatal) {
|
|
67231
67235
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67274,8 +67278,8 @@ var init_set_env = __esm({
|
|
|
67274
67278
|
if (config.warning) {
|
|
67275
67279
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67276
67280
|
}
|
|
67277
|
-
if (config.
|
|
67278
|
-
process.env[`${prefix}
|
|
67281
|
+
if (config.danger) {
|
|
67282
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67279
67283
|
}
|
|
67280
67284
|
if (config.fatal) {
|
|
67281
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
|
|
@@ -66310,14 +66310,19 @@ var init_types = __esm({
|
|
|
66310
66310
|
COLOR_KEYS = [
|
|
66311
66311
|
"dark",
|
|
66312
66312
|
"light",
|
|
66313
|
+
"base",
|
|
66313
66314
|
"brand",
|
|
66315
|
+
"alternate",
|
|
66314
66316
|
"accent",
|
|
66315
|
-
"
|
|
66317
|
+
"link",
|
|
66316
66318
|
"success",
|
|
66319
|
+
"help",
|
|
66317
66320
|
"info",
|
|
66318
66321
|
"warning",
|
|
66319
|
-
"
|
|
66320
|
-
"fatal"
|
|
66322
|
+
"danger",
|
|
66323
|
+
"fatal",
|
|
66324
|
+
"positive",
|
|
66325
|
+
"negative"
|
|
66321
66326
|
];
|
|
66322
66327
|
}
|
|
66323
66328
|
});
|
|
@@ -66350,7 +66355,7 @@ var init_get_default_config = __esm({
|
|
|
66350
66355
|
"success": "#087f5b",
|
|
66351
66356
|
"info": "#0550ae",
|
|
66352
66357
|
"warning": "#e3b341",
|
|
66353
|
-
"
|
|
66358
|
+
"danger": "#D8314A",
|
|
66354
66359
|
"positive": "#22c55e",
|
|
66355
66360
|
"negative": "#dc2626"
|
|
66356
66361
|
},
|
|
@@ -66363,7 +66368,7 @@ var init_get_default_config = __esm({
|
|
|
66363
66368
|
"success": "#10b981",
|
|
66364
66369
|
"info": "#58a6ff",
|
|
66365
66370
|
"warning": "#f3d371",
|
|
66366
|
-
"
|
|
66371
|
+
"danger": "#D8314A",
|
|
66367
66372
|
"positive": "#22c55e",
|
|
66368
66373
|
"negative": "#dc2626"
|
|
66369
66374
|
}
|
|
@@ -66386,7 +66391,6 @@ var init_get_default_config = __esm({
|
|
|
66386
66391
|
organization: "storm-software",
|
|
66387
66392
|
configFile: null,
|
|
66388
66393
|
runtimeVersion: "1.0.0",
|
|
66389
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
66390
66394
|
extensions: {}
|
|
66391
66395
|
};
|
|
66392
66396
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -66429,7 +66433,7 @@ var init_get_default_config = __esm({
|
|
|
66429
66433
|
}
|
|
66430
66434
|
return ret;
|
|
66431
66435
|
}, {}),
|
|
66432
|
-
colors: config.colors
|
|
66436
|
+
colors: config.colors,
|
|
66433
66437
|
workspaceRoot,
|
|
66434
66438
|
name,
|
|
66435
66439
|
namespace,
|
|
@@ -66551,9 +66555,9 @@ var init_logger = __esm({
|
|
|
66551
66555
|
return (message) => {
|
|
66552
66556
|
console.error(
|
|
66553
66557
|
`
|
|
66554
|
-
${_chalk.bold.hex(colors.
|
|
66558
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66555
66559
|
" \u{1F480} Fatal "
|
|
66556
|
-
)} ${_chalk.hex(colors.
|
|
66560
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66557
66561
|
`
|
|
66558
66562
|
);
|
|
66559
66563
|
};
|
|
@@ -66562,9 +66566,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
66562
66566
|
return (message) => {
|
|
66563
66567
|
console.error(
|
|
66564
66568
|
`
|
|
66565
|
-
${_chalk.bold.hex(colors.
|
|
66569
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66566
66570
|
" \u2718 Error "
|
|
66567
|
-
)} ${_chalk.hex(colors.
|
|
66571
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66568
66572
|
`
|
|
66569
66573
|
);
|
|
66570
66574
|
};
|
|
@@ -66970,7 +66974,7 @@ var init_get_env = __esm({
|
|
|
66970
66974
|
success: process.env[`${prefix}SUCCESS`],
|
|
66971
66975
|
info: process.env[`${prefix}INFO`],
|
|
66972
66976
|
warning: process.env[`${prefix}WARNING`],
|
|
66973
|
-
|
|
66977
|
+
danger: process.env[`${prefix}DANGER`],
|
|
66974
66978
|
fatal: process.env[`${prefix}FATAL`],
|
|
66975
66979
|
positive: process.env[`${prefix}POSITIVE`],
|
|
66976
66980
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -66996,7 +67000,7 @@ var init_get_env = __esm({
|
|
|
66996
67000
|
success: process.env[`${prefix}SUCCESS`],
|
|
66997
67001
|
info: process.env[`${prefix}INFO`],
|
|
66998
67002
|
warning: process.env[`${prefix}WARNING`],
|
|
66999
|
-
|
|
67003
|
+
danger: process.env[`${prefix}DANGER`],
|
|
67000
67004
|
fatal: process.env[`${prefix}FATAL`],
|
|
67001
67005
|
positive: process.env[`${prefix}POSITIVE`],
|
|
67002
67006
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -67224,8 +67228,8 @@ var init_set_env = __esm({
|
|
|
67224
67228
|
if (config.warning) {
|
|
67225
67229
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67226
67230
|
}
|
|
67227
|
-
if (config.
|
|
67228
|
-
process.env[`${prefix}
|
|
67231
|
+
if (config.danger) {
|
|
67232
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67229
67233
|
}
|
|
67230
67234
|
if (config.fatal) {
|
|
67231
67235
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67274,8 +67278,8 @@ var init_set_env = __esm({
|
|
|
67274
67278
|
if (config.warning) {
|
|
67275
67279
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
67276
67280
|
}
|
|
67277
|
-
if (config.
|
|
67278
|
-
process.env[`${prefix}
|
|
67281
|
+
if (config.danger) {
|
|
67282
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
67279
67283
|
}
|
|
67280
67284
|
if (config.fatal) {
|
|
67281
67285
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -67975,22 +67975,22 @@ var init_lib = __esm({
|
|
|
67975
67975
|
});
|
|
67976
67976
|
|
|
67977
67977
|
// packages/config/src/schema.ts
|
|
67978
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
67978
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
67979
67979
|
var init_schema = __esm({
|
|
67980
67980
|
"packages/config/src/schema.ts"() {
|
|
67981
67981
|
init_lib();
|
|
67982
67982
|
init_constants();
|
|
67983
|
-
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67983
|
+
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");
|
|
67984
67984
|
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");
|
|
67985
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67985
|
+
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");
|
|
67986
67986
|
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");
|
|
67987
67987
|
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");
|
|
67988
|
-
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
67988
|
+
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
67989
67989
|
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");
|
|
67990
|
-
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67991
|
-
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
67990
|
+
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
67991
|
+
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
67992
67992
|
WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
67993
|
-
|
|
67993
|
+
DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
67994
67994
|
FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
67995
67995
|
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");
|
|
67996
67996
|
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");
|
|
@@ -68005,7 +68005,7 @@ var init_schema = __esm({
|
|
|
68005
68005
|
success: SuccessColorSchema,
|
|
68006
68006
|
info: InfoColorSchema,
|
|
68007
68007
|
warning: WarningColorSchema,
|
|
68008
|
-
|
|
68008
|
+
danger: DangerColorSchema,
|
|
68009
68009
|
fatal: FatalColorSchema,
|
|
68010
68010
|
positive: PositiveColorSchema,
|
|
68011
68011
|
negative: NegativeColorSchema
|
|
@@ -68021,7 +68021,7 @@ var init_schema = __esm({
|
|
|
68021
68021
|
success: SuccessColorSchema,
|
|
68022
68022
|
info: InfoColorSchema,
|
|
68023
68023
|
warning: WarningColorSchema,
|
|
68024
|
-
|
|
68024
|
+
danger: DangerColorSchema,
|
|
68025
68025
|
fatal: FatalColorSchema,
|
|
68026
68026
|
positive: PositiveColorSchema,
|
|
68027
68027
|
negative: NegativeColorSchema
|
|
@@ -68041,7 +68041,7 @@ var init_schema = __esm({
|
|
|
68041
68041
|
success: SuccessColorSchema,
|
|
68042
68042
|
info: InfoColorSchema,
|
|
68043
68043
|
warning: WarningColorSchema,
|
|
68044
|
-
|
|
68044
|
+
danger: DangerColorSchema,
|
|
68045
68045
|
fatal: FatalColorSchema,
|
|
68046
68046
|
positive: PositiveColorSchema,
|
|
68047
68047
|
negative: NegativeColorSchema
|
|
@@ -68134,14 +68134,19 @@ var init_types = __esm({
|
|
|
68134
68134
|
COLOR_KEYS = [
|
|
68135
68135
|
"dark",
|
|
68136
68136
|
"light",
|
|
68137
|
+
"base",
|
|
68137
68138
|
"brand",
|
|
68139
|
+
"alternate",
|
|
68138
68140
|
"accent",
|
|
68139
|
-
"
|
|
68141
|
+
"link",
|
|
68140
68142
|
"success",
|
|
68143
|
+
"help",
|
|
68141
68144
|
"info",
|
|
68142
68145
|
"warning",
|
|
68143
|
-
"
|
|
68144
|
-
"fatal"
|
|
68146
|
+
"danger",
|
|
68147
|
+
"fatal",
|
|
68148
|
+
"positive",
|
|
68149
|
+
"negative"
|
|
68145
68150
|
];
|
|
68146
68151
|
}
|
|
68147
68152
|
});
|
|
@@ -68174,7 +68179,7 @@ var init_get_default_config = __esm({
|
|
|
68174
68179
|
"success": "#087f5b",
|
|
68175
68180
|
"info": "#0550ae",
|
|
68176
68181
|
"warning": "#e3b341",
|
|
68177
|
-
"
|
|
68182
|
+
"danger": "#D8314A",
|
|
68178
68183
|
"positive": "#22c55e",
|
|
68179
68184
|
"negative": "#dc2626"
|
|
68180
68185
|
},
|
|
@@ -68187,7 +68192,7 @@ var init_get_default_config = __esm({
|
|
|
68187
68192
|
"success": "#10b981",
|
|
68188
68193
|
"info": "#58a6ff",
|
|
68189
68194
|
"warning": "#f3d371",
|
|
68190
|
-
"
|
|
68195
|
+
"danger": "#D8314A",
|
|
68191
68196
|
"positive": "#22c55e",
|
|
68192
68197
|
"negative": "#dc2626"
|
|
68193
68198
|
}
|
|
@@ -68210,7 +68215,6 @@ var init_get_default_config = __esm({
|
|
|
68210
68215
|
organization: "storm-software",
|
|
68211
68216
|
configFile: null,
|
|
68212
68217
|
runtimeVersion: "1.0.0",
|
|
68213
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
68214
68218
|
extensions: {}
|
|
68215
68219
|
};
|
|
68216
68220
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -68253,7 +68257,7 @@ var init_get_default_config = __esm({
|
|
|
68253
68257
|
}
|
|
68254
68258
|
return ret;
|
|
68255
68259
|
}, {}),
|
|
68256
|
-
colors: config.colors
|
|
68260
|
+
colors: config.colors,
|
|
68257
68261
|
workspaceRoot,
|
|
68258
68262
|
name,
|
|
68259
68263
|
namespace,
|
|
@@ -68375,9 +68379,9 @@ var init_logger = __esm({
|
|
|
68375
68379
|
return (message) => {
|
|
68376
68380
|
console.error(
|
|
68377
68381
|
`
|
|
68378
|
-
${_chalk.bold.hex(colors.
|
|
68382
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
68379
68383
|
" \u{1F480} Fatal "
|
|
68380
|
-
)} ${_chalk.hex(colors.
|
|
68384
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
68381
68385
|
`
|
|
68382
68386
|
);
|
|
68383
68387
|
};
|
|
@@ -68386,9 +68390,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
68386
68390
|
return (message) => {
|
|
68387
68391
|
console.error(
|
|
68388
68392
|
`
|
|
68389
|
-
${_chalk.bold.hex(colors.
|
|
68393
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
68390
68394
|
" \u2718 Error "
|
|
68391
|
-
)} ${_chalk.hex(colors.
|
|
68395
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
68392
68396
|
`
|
|
68393
68397
|
);
|
|
68394
68398
|
};
|
|
@@ -68794,7 +68798,7 @@ var init_get_env = __esm({
|
|
|
68794
68798
|
success: process.env[`${prefix}SUCCESS`],
|
|
68795
68799
|
info: process.env[`${prefix}INFO`],
|
|
68796
68800
|
warning: process.env[`${prefix}WARNING`],
|
|
68797
|
-
|
|
68801
|
+
danger: process.env[`${prefix}DANGER`],
|
|
68798
68802
|
fatal: process.env[`${prefix}FATAL`],
|
|
68799
68803
|
positive: process.env[`${prefix}POSITIVE`],
|
|
68800
68804
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -68820,7 +68824,7 @@ var init_get_env = __esm({
|
|
|
68820
68824
|
success: process.env[`${prefix}SUCCESS`],
|
|
68821
68825
|
info: process.env[`${prefix}INFO`],
|
|
68822
68826
|
warning: process.env[`${prefix}WARNING`],
|
|
68823
|
-
|
|
68827
|
+
danger: process.env[`${prefix}DANGER`],
|
|
68824
68828
|
fatal: process.env[`${prefix}FATAL`],
|
|
68825
68829
|
positive: process.env[`${prefix}POSITIVE`],
|
|
68826
68830
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -69048,8 +69052,8 @@ var init_set_env = __esm({
|
|
|
69048
69052
|
if (config.warning) {
|
|
69049
69053
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
69050
69054
|
}
|
|
69051
|
-
if (config.
|
|
69052
|
-
process.env[`${prefix}
|
|
69055
|
+
if (config.danger) {
|
|
69056
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
69053
69057
|
}
|
|
69054
69058
|
if (config.fatal) {
|
|
69055
69059
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -69098,8 +69102,8 @@ var init_set_env = __esm({
|
|
|
69098
69102
|
if (config.warning) {
|
|
69099
69103
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
69100
69104
|
}
|
|
69101
|
-
if (config.
|
|
69102
|
-
process.env[`${prefix}
|
|
69105
|
+
if (config.danger) {
|
|
69106
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
69103
69107
|
}
|
|
69104
69108
|
if (config.fatal) {
|
|
69105
69109
|
process.env[`${prefix}FATAL`] = config.fatal;
|