@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;
|
|
@@ -91921,22 +91921,22 @@ var init_lib = __esm({
|
|
|
91921
91921
|
});
|
|
91922
91922
|
|
|
91923
91923
|
// packages/config/src/schema.ts
|
|
91924
|
-
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema,
|
|
91924
|
+
var DarkColorSchema, LightColorSchema, BrandColorSchema, AlternateColorSchema, AccentColorSchema, LinkColorSchema, HelpColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, DangerColorSchema, FatalColorSchema, PositiveColorSchema, NegativeColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, RegistryUrlConfigSchema, RegistryConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
|
|
91925
91925
|
var init_schema = __esm({
|
|
91926
91926
|
"packages/config/src/schema.ts"() {
|
|
91927
91927
|
init_lib();
|
|
91928
91928
|
init_constants();
|
|
91929
|
-
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91929
|
+
DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
91930
91930
|
LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
91931
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91931
|
+
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
91932
91932
|
AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
91933
91933
|
AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
91934
|
-
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
91934
|
+
LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
|
|
91935
91935
|
HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
91936
|
-
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91937
|
-
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
91936
|
+
SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
|
|
91937
|
+
InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
|
|
91938
91938
|
WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
91939
|
-
|
|
91939
|
+
DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
|
|
91940
91940
|
FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
91941
91941
|
PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
91942
91942
|
NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
@@ -91951,7 +91951,7 @@ var init_schema = __esm({
|
|
|
91951
91951
|
success: SuccessColorSchema,
|
|
91952
91952
|
info: InfoColorSchema,
|
|
91953
91953
|
warning: WarningColorSchema,
|
|
91954
|
-
|
|
91954
|
+
danger: DangerColorSchema,
|
|
91955
91955
|
fatal: FatalColorSchema,
|
|
91956
91956
|
positive: PositiveColorSchema,
|
|
91957
91957
|
negative: NegativeColorSchema
|
|
@@ -91967,7 +91967,7 @@ var init_schema = __esm({
|
|
|
91967
91967
|
success: SuccessColorSchema,
|
|
91968
91968
|
info: InfoColorSchema,
|
|
91969
91969
|
warning: WarningColorSchema,
|
|
91970
|
-
|
|
91970
|
+
danger: DangerColorSchema,
|
|
91971
91971
|
fatal: FatalColorSchema,
|
|
91972
91972
|
positive: PositiveColorSchema,
|
|
91973
91973
|
negative: NegativeColorSchema
|
|
@@ -91987,7 +91987,7 @@ var init_schema = __esm({
|
|
|
91987
91987
|
success: SuccessColorSchema,
|
|
91988
91988
|
info: InfoColorSchema,
|
|
91989
91989
|
warning: WarningColorSchema,
|
|
91990
|
-
|
|
91990
|
+
danger: DangerColorSchema,
|
|
91991
91991
|
fatal: FatalColorSchema,
|
|
91992
91992
|
positive: PositiveColorSchema,
|
|
91993
91993
|
negative: NegativeColorSchema
|
|
@@ -92080,14 +92080,19 @@ var init_types = __esm({
|
|
|
92080
92080
|
COLOR_KEYS = [
|
|
92081
92081
|
"dark",
|
|
92082
92082
|
"light",
|
|
92083
|
+
"base",
|
|
92083
92084
|
"brand",
|
|
92085
|
+
"alternate",
|
|
92084
92086
|
"accent",
|
|
92085
|
-
"
|
|
92087
|
+
"link",
|
|
92086
92088
|
"success",
|
|
92089
|
+
"help",
|
|
92087
92090
|
"info",
|
|
92088
92091
|
"warning",
|
|
92089
|
-
"
|
|
92090
|
-
"fatal"
|
|
92092
|
+
"danger",
|
|
92093
|
+
"fatal",
|
|
92094
|
+
"positive",
|
|
92095
|
+
"negative"
|
|
92091
92096
|
];
|
|
92092
92097
|
}
|
|
92093
92098
|
});
|
|
@@ -92120,7 +92125,7 @@ var init_get_default_config = __esm({
|
|
|
92120
92125
|
"success": "#087f5b",
|
|
92121
92126
|
"info": "#0550ae",
|
|
92122
92127
|
"warning": "#e3b341",
|
|
92123
|
-
"
|
|
92128
|
+
"danger": "#D8314A",
|
|
92124
92129
|
"positive": "#22c55e",
|
|
92125
92130
|
"negative": "#dc2626"
|
|
92126
92131
|
},
|
|
@@ -92133,7 +92138,7 @@ var init_get_default_config = __esm({
|
|
|
92133
92138
|
"success": "#10b981",
|
|
92134
92139
|
"info": "#58a6ff",
|
|
92135
92140
|
"warning": "#f3d371",
|
|
92136
|
-
"
|
|
92141
|
+
"danger": "#D8314A",
|
|
92137
92142
|
"positive": "#22c55e",
|
|
92138
92143
|
"negative": "#dc2626"
|
|
92139
92144
|
}
|
|
@@ -92156,7 +92161,6 @@ var init_get_default_config = __esm({
|
|
|
92156
92161
|
organization: "storm-software",
|
|
92157
92162
|
configFile: null,
|
|
92158
92163
|
runtimeVersion: "1.0.0",
|
|
92159
|
-
colors: { ...DEFAULT_COLOR_CONFIG },
|
|
92160
92164
|
extensions: {}
|
|
92161
92165
|
};
|
|
92162
92166
|
getDefaultConfig = (config = {}, root) => {
|
|
@@ -92199,7 +92203,7 @@ var init_get_default_config = __esm({
|
|
|
92199
92203
|
}
|
|
92200
92204
|
return ret;
|
|
92201
92205
|
}, {}),
|
|
92202
|
-
colors: config.colors
|
|
92206
|
+
colors: config.colors,
|
|
92203
92207
|
workspaceRoot,
|
|
92204
92208
|
name,
|
|
92205
92209
|
namespace,
|
|
@@ -92321,9 +92325,9 @@ var init_logger = __esm({
|
|
|
92321
92325
|
return (message) => {
|
|
92322
92326
|
console.error(
|
|
92323
92327
|
`
|
|
92324
|
-
${_chalk.bold.hex(colors.
|
|
92328
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
92325
92329
|
" \u{1F480} Fatal "
|
|
92326
|
-
)} ${_chalk.hex(colors.
|
|
92330
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
92327
92331
|
`
|
|
92328
92332
|
);
|
|
92329
92333
|
};
|
|
@@ -92332,9 +92336,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
|
|
|
92332
92336
|
return (message) => {
|
|
92333
92337
|
console.error(
|
|
92334
92338
|
`
|
|
92335
|
-
${_chalk.bold.hex(colors.
|
|
92339
|
+
${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
92336
92340
|
" \u2718 Error "
|
|
92337
|
-
)} ${_chalk.hex(colors.
|
|
92341
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
92338
92342
|
`
|
|
92339
92343
|
);
|
|
92340
92344
|
};
|
|
@@ -92740,7 +92744,7 @@ var init_get_env = __esm({
|
|
|
92740
92744
|
success: process.env[`${prefix}SUCCESS`],
|
|
92741
92745
|
info: process.env[`${prefix}INFO`],
|
|
92742
92746
|
warning: process.env[`${prefix}WARNING`],
|
|
92743
|
-
|
|
92747
|
+
danger: process.env[`${prefix}DANGER`],
|
|
92744
92748
|
fatal: process.env[`${prefix}FATAL`],
|
|
92745
92749
|
positive: process.env[`${prefix}POSITIVE`],
|
|
92746
92750
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -92766,7 +92770,7 @@ var init_get_env = __esm({
|
|
|
92766
92770
|
success: process.env[`${prefix}SUCCESS`],
|
|
92767
92771
|
info: process.env[`${prefix}INFO`],
|
|
92768
92772
|
warning: process.env[`${prefix}WARNING`],
|
|
92769
|
-
|
|
92773
|
+
danger: process.env[`${prefix}DANGER`],
|
|
92770
92774
|
fatal: process.env[`${prefix}FATAL`],
|
|
92771
92775
|
positive: process.env[`${prefix}POSITIVE`],
|
|
92772
92776
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
@@ -92994,8 +92998,8 @@ var init_set_env = __esm({
|
|
|
92994
92998
|
if (config.warning) {
|
|
92995
92999
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
92996
93000
|
}
|
|
92997
|
-
if (config.
|
|
92998
|
-
process.env[`${prefix}
|
|
93001
|
+
if (config.danger) {
|
|
93002
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
92999
93003
|
}
|
|
93000
93004
|
if (config.fatal) {
|
|
93001
93005
|
process.env[`${prefix}FATAL`] = config.fatal;
|
|
@@ -93044,8 +93048,8 @@ var init_set_env = __esm({
|
|
|
93044
93048
|
if (config.warning) {
|
|
93045
93049
|
process.env[`${prefix}WARNING`] = config.warning;
|
|
93046
93050
|
}
|
|
93047
|
-
if (config.
|
|
93048
|
-
process.env[`${prefix}
|
|
93051
|
+
if (config.danger) {
|
|
93052
|
+
process.env[`${prefix}DANGER`] = config.danger;
|
|
93049
93053
|
}
|
|
93050
93054
|
if (config.fatal) {
|
|
93051
93055
|
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;
|