@storm-software/config-tools 1.106.1 → 1.108.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 CHANGED
@@ -1,3 +1,29 @@
1
+ ## 1.108.0 (2024-11-01)
2
+
3
+ ### Features
4
+
5
+ - **eslint:** Resolve type issues with Nx plugin in preset ([d27162e2](https://github.com/storm-software/storm-ops/commit/d27162e2))
6
+ - **config:** Regenerate the config JSON Schema file ([7258f12d](https://github.com/storm-software/storm-ops/commit/7258f12d))
7
+ - **config:** Added the `positive` and `negative` color tokens ([24c5e15f](https://github.com/storm-software/storm-ops/commit/24c5e15f))
8
+
9
+ ## 1.107.0 (2024-10-31)
10
+
11
+ ### Features
12
+
13
+ - **workspace-tools:** Update the Nx package code to conform to latest type
14
+ definitions
15
+ ([b1dbdff8](https://github.com/storm-software/storm-ops/commit/b1dbdff8))
16
+ - **config:** Added the `link` color token to Storm configuration
17
+ ([c66f39ed](https://github.com/storm-software/storm-ops/commit/c66f39ed))
18
+
19
+ ### Bug Fixes
20
+
21
+ - **cloudflare-tools:** Remove references to removed `projectNameAndRootFormat`
22
+ Nx options
23
+ ([7db6e9d6](https://github.com/storm-software/storm-ops/commit/7db6e9d6))
24
+ - **storm-ops:** Resolve issue with invalid Nx ouput configuration
25
+ ([9ca60bc0](https://github.com/storm-software/storm-ops/commit/9ca60bc0))
26
+
1
27
  ## 1.106.1 (2024-10-22)
2
28
 
3
29
  ### Bug Fixes
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.106.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.107.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/index.cjs CHANGED
@@ -66120,13 +66120,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
66120
66120
  var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
66121
66121
  var 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");
66122
66122
  var 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");
66123
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
66123
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
66124
66124
  var 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");
66125
66125
  var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
66126
66126
  var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
66127
66127
  var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
66128
66128
  var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
66129
66129
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
66130
+ var 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");
66131
+ var 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");
66130
66132
  var DarkThemeColorConfigSchema = z2.object({
66131
66133
  foreground: LightColorSchema,
66132
66134
  background: DarkColorSchema,
@@ -66139,7 +66141,9 @@ var DarkThemeColorConfigSchema = z2.object({
66139
66141
  info: InfoColorSchema,
66140
66142
  warning: WarningColorSchema,
66141
66143
  error: ErrorColorSchema,
66142
- fatal: FatalColorSchema
66144
+ fatal: FatalColorSchema,
66145
+ positive: PositiveColorSchema,
66146
+ negative: NegativeColorSchema
66143
66147
  });
66144
66148
  var LightThemeColorConfigSchema = z2.object({
66145
66149
  foreground: DarkColorSchema,
@@ -66153,7 +66157,9 @@ var LightThemeColorConfigSchema = z2.object({
66153
66157
  info: InfoColorSchema,
66154
66158
  warning: WarningColorSchema,
66155
66159
  error: ErrorColorSchema,
66156
- fatal: FatalColorSchema
66160
+ fatal: FatalColorSchema,
66161
+ positive: PositiveColorSchema,
66162
+ negative: NegativeColorSchema
66157
66163
  });
66158
66164
  var MultiThemeColorConfigSchema = z2.object({
66159
66165
  dark: DarkThemeColorConfigSchema,
@@ -66171,7 +66177,9 @@ var SingleThemeColorConfigSchema = z2.object({
66171
66177
  info: InfoColorSchema,
66172
66178
  warning: WarningColorSchema,
66173
66179
  error: ErrorColorSchema,
66174
- fatal: FatalColorSchema
66180
+ fatal: FatalColorSchema,
66181
+ positive: PositiveColorSchema,
66182
+ negative: NegativeColorSchema
66175
66183
  });
66176
66184
  var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
66177
66185
  var RegistryConfigSchema = z2.object({
@@ -66256,14 +66264,19 @@ var StormConfigSchema = z2.object({
66256
66264
  var COLOR_KEYS = [
66257
66265
  "dark",
66258
66266
  "light",
66267
+ "base",
66259
66268
  "brand",
66269
+ "alternate",
66260
66270
  "accent",
66261
- "help",
66271
+ "link",
66262
66272
  "success",
66273
+ "help",
66263
66274
  "info",
66264
66275
  "warning",
66265
66276
  "error",
66266
- "fatal"
66277
+ "fatal",
66278
+ "positive",
66279
+ "negative"
66267
66280
  ];
66268
66281
 
66269
66282
  // packages/config-tools/src/utilities/get-default-config.ts
@@ -66275,24 +66288,26 @@ var DEFAULT_COLOR_CONFIG = {
66275
66288
  "foreground": "#1d1e22",
66276
66289
  "brand": "#1fb2a6",
66277
66290
  "alternate": "#db2777",
66278
- "link": "#01B4F5",
66279
66291
  "help": "#5C4EE5",
66280
66292
  "success": "#087f5b",
66281
66293
  "info": "#0550ae",
66282
66294
  "warning": "#e3b341",
66283
- "error": "#a40e26"
66295
+ "error": "#a40e26",
66296
+ "positive": "#22c55e",
66297
+ "negative": "#dc2626"
66284
66298
  },
66285
66299
  "dark": {
66286
66300
  "background": "#1d1e22",
66287
66301
  "foreground": "#cbd5e1",
66288
66302
  "brand": "#2dd4bf",
66289
66303
  "alternate": "#db2777",
66290
- "link": "#01B4F5",
66291
66304
  "help": "#818cf8",
66292
66305
  "success": "#10b981",
66293
66306
  "info": "#58a6ff",
66294
66307
  "warning": "#f3d371",
66295
- "error": "#d1242f"
66308
+ "error": "#d1242f",
66309
+ "positive": "#22c55e",
66310
+ "negative": "#dc2626"
66296
66311
  }
66297
66312
  };
66298
66313
  var DEFAULT_STORM_CONFIG = {
@@ -66356,7 +66371,7 @@ var getDefaultConfig = (config = {}, root) => {
66356
66371
  }
66357
66372
  return ret;
66358
66373
  }, {}),
66359
- colors: { ...DEFAULT_COLOR_CONFIG, ...config.colors },
66374
+ colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
66360
66375
  workspaceRoot,
66361
66376
  name,
66362
66377
  namespace,
@@ -66364,7 +66379,7 @@ var getDefaultConfig = (config = {}, root) => {
66364
66379
  license: license ?? DEFAULT_STORM_CONFIG.license,
66365
66380
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
66366
66381
  docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
66367
- licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
66382
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
66368
66383
  extensions: {
66369
66384
  ...config.extensions
66370
66385
  }
@@ -66830,7 +66845,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
66830
66845
  info: process.env[`${prefix}INFO`],
66831
66846
  warning: process.env[`${prefix}WARNING`],
66832
66847
  error: process.env[`${prefix}ERROR`],
66833
- fatal: process.env[`${prefix}FATAL`]
66848
+ fatal: process.env[`${prefix}FATAL`],
66849
+ positive: process.env[`${prefix}POSITIVE`],
66850
+ negative: process.env[`${prefix}NEGATIVE`]
66834
66851
  };
66835
66852
  };
66836
66853
  var getMultiThemeColorConfigEnv = (prefix) => {
@@ -66854,7 +66871,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
66854
66871
  info: process.env[`${prefix}INFO`],
66855
66872
  warning: process.env[`${prefix}WARNING`],
66856
66873
  error: process.env[`${prefix}ERROR`],
66857
- fatal: process.env[`${prefix}FATAL`]
66874
+ fatal: process.env[`${prefix}FATAL`],
66875
+ positive: process.env[`${prefix}POSITIVE`],
66876
+ negative: process.env[`${prefix}NEGATIVE`]
66858
66877
  };
66859
66878
  };
66860
66879
 
@@ -67077,6 +67096,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67077
67096
  if (config.fatal) {
67078
67097
  process.env[`${prefix}FATAL`] = config.fatal;
67079
67098
  }
67099
+ if (config.positive) {
67100
+ process.env[`${prefix}POSITIVE`] = config.positive;
67101
+ }
67102
+ if (config.negative) {
67103
+ process.env[`${prefix}NEGATIVE`] = config.negative;
67104
+ }
67080
67105
  };
67081
67106
  var setMultiThemeColorConfigEnv = (prefix, config) => {
67082
67107
  return {
@@ -67121,6 +67146,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67121
67146
  if (config.fatal) {
67122
67147
  process.env[`${prefix}FATAL`] = config.fatal;
67123
67148
  }
67149
+ if (config.positive) {
67150
+ process.env[`${prefix}POSITIVE`] = config.positive;
67151
+ }
67152
+ if (config.negative) {
67153
+ process.env[`${prefix}NEGATIVE`] = config.negative;
67154
+ }
67124
67155
  };
67125
67156
 
67126
67157
  // packages/config-tools/src/create-storm-config.ts
package/index.js CHANGED
@@ -66077,13 +66077,15 @@ var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1
66077
66077
  var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
66078
66078
  var 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");
66079
66079
  var 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");
66080
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
66080
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
66081
66081
  var 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");
66082
66082
  var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
66083
66083
  var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
66084
66084
  var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
66085
66085
  var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
66086
66086
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
66087
+ var 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");
66088
+ var 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");
66087
66089
  var DarkThemeColorConfigSchema = z2.object({
66088
66090
  foreground: LightColorSchema,
66089
66091
  background: DarkColorSchema,
@@ -66096,7 +66098,9 @@ var DarkThemeColorConfigSchema = z2.object({
66096
66098
  info: InfoColorSchema,
66097
66099
  warning: WarningColorSchema,
66098
66100
  error: ErrorColorSchema,
66099
- fatal: FatalColorSchema
66101
+ fatal: FatalColorSchema,
66102
+ positive: PositiveColorSchema,
66103
+ negative: NegativeColorSchema
66100
66104
  });
66101
66105
  var LightThemeColorConfigSchema = z2.object({
66102
66106
  foreground: DarkColorSchema,
@@ -66110,7 +66114,9 @@ var LightThemeColorConfigSchema = z2.object({
66110
66114
  info: InfoColorSchema,
66111
66115
  warning: WarningColorSchema,
66112
66116
  error: ErrorColorSchema,
66113
- fatal: FatalColorSchema
66117
+ fatal: FatalColorSchema,
66118
+ positive: PositiveColorSchema,
66119
+ negative: NegativeColorSchema
66114
66120
  });
66115
66121
  var MultiThemeColorConfigSchema = z2.object({
66116
66122
  dark: DarkThemeColorConfigSchema,
@@ -66128,7 +66134,9 @@ var SingleThemeColorConfigSchema = z2.object({
66128
66134
  info: InfoColorSchema,
66129
66135
  warning: WarningColorSchema,
66130
66136
  error: ErrorColorSchema,
66131
- fatal: FatalColorSchema
66137
+ fatal: FatalColorSchema,
66138
+ positive: PositiveColorSchema,
66139
+ negative: NegativeColorSchema
66132
66140
  });
66133
66141
  var RegistryUrlConfigSchema = z2.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
66134
66142
  var RegistryConfigSchema = z2.object({
@@ -66213,14 +66221,19 @@ var StormConfigSchema = z2.object({
66213
66221
  var COLOR_KEYS = [
66214
66222
  "dark",
66215
66223
  "light",
66224
+ "base",
66216
66225
  "brand",
66226
+ "alternate",
66217
66227
  "accent",
66218
- "help",
66228
+ "link",
66219
66229
  "success",
66230
+ "help",
66220
66231
  "info",
66221
66232
  "warning",
66222
66233
  "error",
66223
- "fatal"
66234
+ "fatal",
66235
+ "positive",
66236
+ "negative"
66224
66237
  ];
66225
66238
 
66226
66239
  // packages/config-tools/src/utilities/get-default-config.ts
@@ -66232,24 +66245,26 @@ var DEFAULT_COLOR_CONFIG = {
66232
66245
  "foreground": "#1d1e22",
66233
66246
  "brand": "#1fb2a6",
66234
66247
  "alternate": "#db2777",
66235
- "link": "#01B4F5",
66236
66248
  "help": "#5C4EE5",
66237
66249
  "success": "#087f5b",
66238
66250
  "info": "#0550ae",
66239
66251
  "warning": "#e3b341",
66240
- "error": "#a40e26"
66252
+ "error": "#a40e26",
66253
+ "positive": "#22c55e",
66254
+ "negative": "#dc2626"
66241
66255
  },
66242
66256
  "dark": {
66243
66257
  "background": "#1d1e22",
66244
66258
  "foreground": "#cbd5e1",
66245
66259
  "brand": "#2dd4bf",
66246
66260
  "alternate": "#db2777",
66247
- "link": "#01B4F5",
66248
66261
  "help": "#818cf8",
66249
66262
  "success": "#10b981",
66250
66263
  "info": "#58a6ff",
66251
66264
  "warning": "#f3d371",
66252
- "error": "#d1242f"
66265
+ "error": "#d1242f",
66266
+ "positive": "#22c55e",
66267
+ "negative": "#dc2626"
66253
66268
  }
66254
66269
  };
66255
66270
  var DEFAULT_STORM_CONFIG = {
@@ -66313,7 +66328,7 @@ var getDefaultConfig = (config = {}, root) => {
66313
66328
  }
66314
66329
  return ret;
66315
66330
  }, {}),
66316
- colors: { ...DEFAULT_COLOR_CONFIG, ...config.colors },
66331
+ colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
66317
66332
  workspaceRoot,
66318
66333
  name,
66319
66334
  namespace,
@@ -66321,7 +66336,7 @@ var getDefaultConfig = (config = {}, root) => {
66321
66336
  license: license ?? DEFAULT_STORM_CONFIG.license,
66322
66337
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
66323
66338
  docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
66324
- licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
66339
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/license`,
66325
66340
  extensions: {
66326
66341
  ...config.extensions
66327
66342
  }
@@ -66787,7 +66802,9 @@ var getSingleThemeColorConfigEnv = (prefix) => {
66787
66802
  info: process.env[`${prefix}INFO`],
66788
66803
  warning: process.env[`${prefix}WARNING`],
66789
66804
  error: process.env[`${prefix}ERROR`],
66790
- fatal: process.env[`${prefix}FATAL`]
66805
+ fatal: process.env[`${prefix}FATAL`],
66806
+ positive: process.env[`${prefix}POSITIVE`],
66807
+ negative: process.env[`${prefix}NEGATIVE`]
66791
66808
  };
66792
66809
  };
66793
66810
  var getMultiThemeColorConfigEnv = (prefix) => {
@@ -66811,7 +66828,9 @@ var getBaseThemeColorConfigEnv = (prefix) => {
66811
66828
  info: process.env[`${prefix}INFO`],
66812
66829
  warning: process.env[`${prefix}WARNING`],
66813
66830
  error: process.env[`${prefix}ERROR`],
66814
- fatal: process.env[`${prefix}FATAL`]
66831
+ fatal: process.env[`${prefix}FATAL`],
66832
+ positive: process.env[`${prefix}POSITIVE`],
66833
+ negative: process.env[`${prefix}NEGATIVE`]
66815
66834
  };
66816
66835
  };
66817
66836
 
@@ -67034,6 +67053,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67034
67053
  if (config.fatal) {
67035
67054
  process.env[`${prefix}FATAL`] = config.fatal;
67036
67055
  }
67056
+ if (config.positive) {
67057
+ process.env[`${prefix}POSITIVE`] = config.positive;
67058
+ }
67059
+ if (config.negative) {
67060
+ process.env[`${prefix}NEGATIVE`] = config.negative;
67061
+ }
67037
67062
  };
67038
67063
  var setMultiThemeColorConfigEnv = (prefix, config) => {
67039
67064
  return {
@@ -67078,6 +67103,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67078
67103
  if (config.fatal) {
67079
67104
  process.env[`${prefix}FATAL`] = config.fatal;
67080
67105
  }
67106
+ if (config.positive) {
67107
+ process.env[`${prefix}POSITIVE`] = config.positive;
67108
+ }
67109
+ if (config.negative) {
67110
+ process.env[`${prefix}NEGATIVE`] = config.negative;
67111
+ }
67081
67112
  };
67082
67113
 
67083
67114
  // packages/config-tools/src/create-storm-config.ts
package/meta.cjs.json CHANGED
@@ -3380,7 +3380,7 @@
3380
3380
  "format": "esm"
3381
3381
  },
3382
3382
  "packages/config/src/schema.ts": {
3383
- "bytes": 10416,
3383
+ "bytes": 10977,
3384
3384
  "imports": [
3385
3385
  {
3386
3386
  "path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
@@ -3396,7 +3396,7 @@
3396
3396
  "format": "esm"
3397
3397
  },
3398
3398
  "packages/config/src/types.ts": {
3399
- "bytes": 1890,
3399
+ "bytes": 1953,
3400
3400
  "imports": [],
3401
3401
  "format": "esm"
3402
3402
  },
@@ -3427,7 +3427,7 @@
3427
3427
  "format": "esm"
3428
3428
  },
3429
3429
  "packages/config-tools/src/utilities/get-default-config.ts": {
3430
- "bytes": 3519,
3430
+ "bytes": 3600,
3431
3431
  "imports": [
3432
3432
  {
3433
3433
  "path": "packages/config/src/index.ts",
@@ -3610,7 +3610,7 @@
3610
3610
  "format": "esm"
3611
3611
  },
3612
3612
  "packages/config-tools/src/env/get-env.ts": {
3613
- "bytes": 9168,
3613
+ "bytes": 9360,
3614
3614
  "imports": [
3615
3615
  {
3616
3616
  "path": "packages/config/src/index.ts",
@@ -3631,7 +3631,7 @@
3631
3631
  "format": "esm"
3632
3632
  },
3633
3633
  "packages/config-tools/src/env/set-env.ts": {
3634
- "bytes": 10758,
3634
+ "bytes": 11098,
3635
3635
  "imports": [
3636
3636
  {
3637
3637
  "path": "packages/config-tools/src/types.ts",
@@ -5172,13 +5172,13 @@
5172
5172
  "bytesInOutput": 117366
5173
5173
  },
5174
5174
  "packages/config/src/schema.ts": {
5175
- "bytesInOutput": 8661
5175
+ "bytesInOutput": 9178
5176
5176
  },
5177
5177
  "packages/config/src/types.ts": {
5178
- "bytesInOutput": 133
5178
+ "bytesInOutput": 196
5179
5179
  },
5180
5180
  "packages/config-tools/src/utilities/get-default-config.ts": {
5181
- "bytesInOutput": 3011
5181
+ "bytesInOutput": 3092
5182
5182
  },
5183
5183
  "packages/config-tools/src/types.ts": {
5184
5184
  "bytesInOutput": 297
@@ -5202,16 +5202,16 @@
5202
5202
  "bytesInOutput": 2799
5203
5203
  },
5204
5204
  "packages/config-tools/src/env/get-env.ts": {
5205
- "bytesInOutput": 6406
5205
+ "bytesInOutput": 6598
5206
5206
  },
5207
5207
  "packages/config-tools/src/env/set-env.ts": {
5208
- "bytesInOutput": 8365
5208
+ "bytesInOutput": 8705
5209
5209
  },
5210
5210
  "packages/config-tools/src/env/index.ts": {
5211
5211
  "bytesInOutput": 0
5212
5212
  }
5213
5213
  },
5214
- "bytes": 4131309
5214
+ "bytes": 4132502
5215
5215
  },
5216
5216
  "dist/packages/config-tools/utilities/find-workspace-root.cjs": {
5217
5217
  "imports": [
@@ -5358,16 +5358,16 @@
5358
5358
  "bytesInOutput": 116969
5359
5359
  },
5360
5360
  "packages/config/src/schema.ts": {
5361
- "bytesInOutput": 8606
5361
+ "bytesInOutput": 9121
5362
5362
  },
5363
5363
  "packages/config-tools/src/utilities/get-default-config.ts": {
5364
- "bytesInOutput": 1147
5364
+ "bytesInOutput": 1209
5365
5365
  },
5366
5366
  "packages/config-tools/src/utilities/get-log-level.ts": {
5367
5367
  "bytesInOutput": 468
5368
5368
  }
5369
5369
  },
5370
- "bytes": 186061
5370
+ "bytes": 186638
5371
5371
  }
5372
5372
  }
5373
5373
  }
package/meta.esm.json CHANGED
@@ -3380,7 +3380,7 @@
3380
3380
  "format": "esm"
3381
3381
  },
3382
3382
  "packages/config/src/schema.ts": {
3383
- "bytes": 10416,
3383
+ "bytes": 10977,
3384
3384
  "imports": [
3385
3385
  {
3386
3386
  "path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
@@ -3396,7 +3396,7 @@
3396
3396
  "format": "esm"
3397
3397
  },
3398
3398
  "packages/config/src/types.ts": {
3399
- "bytes": 1890,
3399
+ "bytes": 1953,
3400
3400
  "imports": [],
3401
3401
  "format": "esm"
3402
3402
  },
@@ -3427,7 +3427,7 @@
3427
3427
  "format": "esm"
3428
3428
  },
3429
3429
  "packages/config-tools/src/utilities/get-default-config.ts": {
3430
- "bytes": 3519,
3430
+ "bytes": 3600,
3431
3431
  "imports": [
3432
3432
  {
3433
3433
  "path": "packages/config/src/index.ts",
@@ -3610,7 +3610,7 @@
3610
3610
  "format": "esm"
3611
3611
  },
3612
3612
  "packages/config-tools/src/env/get-env.ts": {
3613
- "bytes": 9168,
3613
+ "bytes": 9360,
3614
3614
  "imports": [
3615
3615
  {
3616
3616
  "path": "packages/config/src/index.ts",
@@ -3631,7 +3631,7 @@
3631
3631
  "format": "esm"
3632
3632
  },
3633
3633
  "packages/config-tools/src/env/set-env.ts": {
3634
- "bytes": 10758,
3634
+ "bytes": 11098,
3635
3635
  "imports": [
3636
3636
  {
3637
3637
  "path": "packages/config-tools/src/types.ts",
@@ -5212,13 +5212,13 @@
5212
5212
  "bytesInOutput": 117366
5213
5213
  },
5214
5214
  "packages/config/src/schema.ts": {
5215
- "bytesInOutput": 8661
5215
+ "bytesInOutput": 9178
5216
5216
  },
5217
5217
  "packages/config/src/types.ts": {
5218
- "bytesInOutput": 133
5218
+ "bytesInOutput": 196
5219
5219
  },
5220
5220
  "packages/config-tools/src/utilities/get-default-config.ts": {
5221
- "bytesInOutput": 2963
5221
+ "bytesInOutput": 3044
5222
5222
  },
5223
5223
  "packages/config-tools/src/types.ts": {
5224
5224
  "bytesInOutput": 297
@@ -5245,16 +5245,16 @@
5245
5245
  "bytesInOutput": 2799
5246
5246
  },
5247
5247
  "packages/config-tools/src/env/get-env.ts": {
5248
- "bytesInOutput": 6406
5248
+ "bytesInOutput": 6598
5249
5249
  },
5250
5250
  "packages/config-tools/src/env/set-env.ts": {
5251
- "bytesInOutput": 8365
5251
+ "bytesInOutput": 8705
5252
5252
  },
5253
5253
  "packages/config-tools/src/env/index.ts": {
5254
5254
  "bytesInOutput": 0
5255
5255
  }
5256
5256
  },
5257
- "bytes": 4125923
5257
+ "bytes": 4127116
5258
5258
  },
5259
5259
  "dist/packages/config-tools/utilities/find-workspace-root.js": {
5260
5260
  "imports": [
@@ -5415,10 +5415,10 @@
5415
5415
  "bytesInOutput": 116969
5416
5416
  },
5417
5417
  "packages/config/src/schema.ts": {
5418
- "bytesInOutput": 8606
5418
+ "bytesInOutput": 9121
5419
5419
  },
5420
5420
  "packages/config-tools/src/utilities/get-default-config.ts": {
5421
- "bytesInOutput": 1147
5421
+ "bytesInOutput": 1209
5422
5422
  },
5423
5423
  "packages/config-tools/src/utilities/get-log-level.ts": {
5424
5424
  "bytesInOutput": 468
@@ -5427,7 +5427,7 @@
5427
5427
  "bytesInOutput": 5798
5428
5428
  }
5429
5429
  },
5430
- "bytes": 185578
5430
+ "bytes": 186155
5431
5431
  }
5432
5432
  }
5433
5433
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.106.1",
3
+ "version": "1.108.0",
4
4
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -5565,13 +5565,15 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
5565
5565
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
5566
5566
  var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
5567
5567
  var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
5568
- var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
5568
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
5569
5569
  var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
5570
5570
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
5571
5571
  var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
5572
5572
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
5573
5573
  var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
5574
5574
  var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
5575
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
5576
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
5575
5577
  var DarkThemeColorConfigSchema = z.object({
5576
5578
  foreground: LightColorSchema,
5577
5579
  background: DarkColorSchema,
@@ -5584,7 +5586,9 @@ var DarkThemeColorConfigSchema = z.object({
5584
5586
  info: InfoColorSchema,
5585
5587
  warning: WarningColorSchema,
5586
5588
  error: ErrorColorSchema,
5587
- fatal: FatalColorSchema
5589
+ fatal: FatalColorSchema,
5590
+ positive: PositiveColorSchema,
5591
+ negative: NegativeColorSchema
5588
5592
  });
5589
5593
  var LightThemeColorConfigSchema = z.object({
5590
5594
  foreground: DarkColorSchema,
@@ -5598,7 +5602,9 @@ var LightThemeColorConfigSchema = z.object({
5598
5602
  info: InfoColorSchema,
5599
5603
  warning: WarningColorSchema,
5600
5604
  error: ErrorColorSchema,
5601
- fatal: FatalColorSchema
5605
+ fatal: FatalColorSchema,
5606
+ positive: PositiveColorSchema,
5607
+ negative: NegativeColorSchema
5602
5608
  });
5603
5609
  var MultiThemeColorConfigSchema = z.object({
5604
5610
  dark: DarkThemeColorConfigSchema,
@@ -5616,7 +5622,9 @@ var SingleThemeColorConfigSchema = z.object({
5616
5622
  info: InfoColorSchema,
5617
5623
  warning: WarningColorSchema,
5618
5624
  error: ErrorColorSchema,
5619
- fatal: FatalColorSchema
5625
+ fatal: FatalColorSchema,
5626
+ positive: PositiveColorSchema,
5627
+ negative: NegativeColorSchema
5620
5628
  });
5621
5629
  var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
5622
5630
  var RegistryConfigSchema = z.object({
@@ -5704,24 +5712,26 @@ var DEFAULT_COLOR_CONFIG = {
5704
5712
  "foreground": "#1d1e22",
5705
5713
  "brand": "#1fb2a6",
5706
5714
  "alternate": "#db2777",
5707
- "link": "#01B4F5",
5708
5715
  "help": "#5C4EE5",
5709
5716
  "success": "#087f5b",
5710
5717
  "info": "#0550ae",
5711
5718
  "warning": "#e3b341",
5712
- "error": "#a40e26"
5719
+ "error": "#a40e26",
5720
+ "positive": "#22c55e",
5721
+ "negative": "#dc2626"
5713
5722
  },
5714
5723
  "dark": {
5715
5724
  "background": "#1d1e22",
5716
5725
  "foreground": "#cbd5e1",
5717
5726
  "brand": "#2dd4bf",
5718
5727
  "alternate": "#db2777",
5719
- "link": "#01B4F5",
5720
5728
  "help": "#818cf8",
5721
5729
  "success": "#10b981",
5722
5730
  "info": "#58a6ff",
5723
5731
  "warning": "#f3d371",
5724
- "error": "#d1242f"
5732
+ "error": "#d1242f",
5733
+ "positive": "#22c55e",
5734
+ "negative": "#dc2626"
5725
5735
  }
5726
5736
  };
5727
5737
  var DEFAULT_STORM_CONFIG = {
@@ -5549,13 +5549,15 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
5549
5549
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
5550
5550
  var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
5551
5551
  var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
5552
- var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#01B4F5").describe("The alternate brand specific color of the workspace");
5552
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
5553
5553
  var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
5554
5554
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
5555
5555
  var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
5556
5556
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
5557
5557
  var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
5558
5558
  var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
5559
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
5560
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
5559
5561
  var DarkThemeColorConfigSchema = z.object({
5560
5562
  foreground: LightColorSchema,
5561
5563
  background: DarkColorSchema,
@@ -5568,7 +5570,9 @@ var DarkThemeColorConfigSchema = z.object({
5568
5570
  info: InfoColorSchema,
5569
5571
  warning: WarningColorSchema,
5570
5572
  error: ErrorColorSchema,
5571
- fatal: FatalColorSchema
5573
+ fatal: FatalColorSchema,
5574
+ positive: PositiveColorSchema,
5575
+ negative: NegativeColorSchema
5572
5576
  });
5573
5577
  var LightThemeColorConfigSchema = z.object({
5574
5578
  foreground: DarkColorSchema,
@@ -5582,7 +5586,9 @@ var LightThemeColorConfigSchema = z.object({
5582
5586
  info: InfoColorSchema,
5583
5587
  warning: WarningColorSchema,
5584
5588
  error: ErrorColorSchema,
5585
- fatal: FatalColorSchema
5589
+ fatal: FatalColorSchema,
5590
+ positive: PositiveColorSchema,
5591
+ negative: NegativeColorSchema
5586
5592
  });
5587
5593
  var MultiThemeColorConfigSchema = z.object({
5588
5594
  dark: DarkThemeColorConfigSchema,
@@ -5600,7 +5606,9 @@ var SingleThemeColorConfigSchema = z.object({
5600
5606
  info: InfoColorSchema,
5601
5607
  warning: WarningColorSchema,
5602
5608
  error: ErrorColorSchema,
5603
- fatal: FatalColorSchema
5609
+ fatal: FatalColorSchema,
5610
+ positive: PositiveColorSchema,
5611
+ negative: NegativeColorSchema
5604
5612
  });
5605
5613
  var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
5606
5614
  var RegistryConfigSchema = z.object({
@@ -5688,24 +5696,26 @@ var DEFAULT_COLOR_CONFIG = {
5688
5696
  "foreground": "#1d1e22",
5689
5697
  "brand": "#1fb2a6",
5690
5698
  "alternate": "#db2777",
5691
- "link": "#01B4F5",
5692
5699
  "help": "#5C4EE5",
5693
5700
  "success": "#087f5b",
5694
5701
  "info": "#0550ae",
5695
5702
  "warning": "#e3b341",
5696
- "error": "#a40e26"
5703
+ "error": "#a40e26",
5704
+ "positive": "#22c55e",
5705
+ "negative": "#dc2626"
5697
5706
  },
5698
5707
  "dark": {
5699
5708
  "background": "#1d1e22",
5700
5709
  "foreground": "#cbd5e1",
5701
5710
  "brand": "#2dd4bf",
5702
5711
  "alternate": "#db2777",
5703
- "link": "#01B4F5",
5704
5712
  "help": "#818cf8",
5705
5713
  "success": "#10b981",
5706
5714
  "info": "#58a6ff",
5707
5715
  "warning": "#f3d371",
5708
- "error": "#d1242f"
5716
+ "error": "#d1242f",
5717
+ "positive": "#22c55e",
5718
+ "negative": "#dc2626"
5709
5719
  }
5710
5720
  };
5711
5721
  var DEFAULT_STORM_CONFIG = {