@storm-software/config-tools 1.94.0 → 1.95.1

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,14 +1,28 @@
1
- ## 1.94.0 (2024-09-15)
1
+ ## 1.95.1 (2024-09-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ - **storm-ops:** Resolve issues with workflow actions ([2ba8f980](https://github.com/storm-software/storm-ops/commit/2ba8f980))
2
7
 
8
+ ## 1.95.0 (2024-09-16)
3
9
 
4
10
  ### Features
5
11
 
6
- - **build-tools:** Update unbuild optional parameters ([af395c22](https://github.com/storm-software/storm-ops/commit/af395c22))
12
+ - **config:** Added the `alternate` brand color token
13
+ ([feec045b](https://github.com/storm-software/storm-ops/commit/feec045b))
14
+
15
+ ## 1.94.0 (2024-09-15)
16
+
17
+ ### Features
7
18
 
19
+ - **build-tools:** Update unbuild optional parameters
20
+ ([af395c22](https://github.com/storm-software/storm-ops/commit/af395c22))
8
21
 
9
22
  ### Bug Fixes
10
23
 
11
- - **eslint:** Make the ESLint rules more lenient ([e11897e7](https://github.com/storm-software/storm-ops/commit/e11897e7))
24
+ - **eslint:** Make the ESLint rules more lenient
25
+ ([e11897e7](https://github.com/storm-software/storm-ops/commit/e11897e7))
12
26
 
13
27
  ## 1.93.2 (2024-09-13)
14
28
 
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.93.2-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.95.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
@@ -66118,8 +66118,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
66118
66118
  var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
66119
66119
  var 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");
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
- var Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
66122
- var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
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");
66123
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");
66124
66123
  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
66124
  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");
@@ -66131,8 +66130,7 @@ var DarkThemeColorConfigSchema = z2.object({
66131
66130
  foreground: LightColorSchema,
66132
66131
  background: DarkColorSchema,
66133
66132
  brand: BrandColorSchema,
66134
- brand2: Brand2ColorSchema,
66135
- brand3: Brand3ColorSchema,
66133
+ alternate: AlternateColorSchema,
66136
66134
  accent: AccentColorSchema,
66137
66135
  help: HelpColorSchema,
66138
66136
  success: SuccessColorSchema,
@@ -66145,8 +66143,7 @@ var LightThemeColorConfigSchema = z2.object({
66145
66143
  foreground: DarkColorSchema,
66146
66144
  background: LightColorSchema,
66147
66145
  brand: BrandColorSchema,
66148
- brand2: Brand2ColorSchema,
66149
- brand3: Brand3ColorSchema,
66146
+ alternate: AlternateColorSchema,
66150
66147
  accent: AccentColorSchema,
66151
66148
  help: HelpColorSchema,
66152
66149
  success: SuccessColorSchema,
@@ -66163,8 +66160,7 @@ var SingleThemeColorConfigSchema = z2.object({
66163
66160
  dark: DarkColorSchema,
66164
66161
  light: LightColorSchema,
66165
66162
  brand: BrandColorSchema,
66166
- brand2: Brand2ColorSchema,
66167
- brand3: Brand3ColorSchema,
66163
+ alternate: AlternateColorSchema,
66168
66164
  accent: AccentColorSchema,
66169
66165
  help: HelpColorSchema,
66170
66166
  success: SuccessColorSchema,
@@ -66270,29 +66266,25 @@ var COLOR_KEYS = [
66270
66266
  var import_node_fs10 = require("node:fs");
66271
66267
  var import_node_path7 = require("node:path");
66272
66268
  var DEFAULT_COLOR_CONFIG = {
66273
- light: {
66274
- background: "#f4f4f5",
66275
- foreground: "#1d232a",
66276
- brand: "#1fb2a6",
66277
- brand2: "#7434DB",
66278
- brand3: "#00C2CE",
66279
- help: "#8250df",
66280
- success: "#087f5b",
66281
- info: "#0550ae",
66282
- warning: "#e3b341",
66283
- error: "#a40e26"
66269
+ "light": {
66270
+ "background": "#fafafa",
66271
+ "foreground": "#121212",
66272
+ "brand": "#1fb2a6",
66273
+ "help": "#5C4EE5",
66274
+ "success": "#087f5b",
66275
+ "info": "#0550ae",
66276
+ "warning": "#e3b341",
66277
+ "error": "#a40e26"
66284
66278
  },
66285
- dark: {
66286
- background: "#0D1017",
66287
- foreground: "#fcfcf5",
66288
- brand: "#1fb2a6",
66289
- brand2: "#7434DB",
66290
- brand3: "#00C2CE",
66291
- help: "#8256D0",
66292
- success: "#087f5b",
66293
- info: "#316DCA",
66294
- warning: "#F3D371",
66295
- error: "#d1242f"
66279
+ "dark": {
66280
+ "background": "#22272e",
66281
+ "foreground": "#f0f0f0",
66282
+ "brand": "#3fc1b0",
66283
+ "help": "#5C4EE5",
66284
+ "success": "#10b981",
66285
+ "info": "#58a6ff",
66286
+ "warning": "#f3d371",
66287
+ "error": "#d1242f"
66296
66288
  }
66297
66289
  };
66298
66290
  var DEFAULT_STORM_CONFIG = {
@@ -66811,8 +66803,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
66811
66803
  dark: process.env[`${prefix}DARK`],
66812
66804
  light: process.env[`${prefix}LIGHT`],
66813
66805
  brand: process.env[`${prefix}BRAND`],
66814
- brand2: process.env[`${prefix}BRAND2`],
66815
- brand3: process.env[`${prefix}BRAND3`],
66806
+ alternate: process.env[`${prefix}ALTERNATE`],
66816
66807
  accent: process.env[`${prefix}ACCENT`],
66817
66808
  help: process.env[`${prefix}HELP`],
66818
66809
  success: process.env[`${prefix}SUCCESS`],
@@ -66835,8 +66826,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
66835
66826
  foreground: process.env[`${prefix}FOREGROUND`],
66836
66827
  background: process.env[`${prefix}BACKGROUND`],
66837
66828
  brand: process.env[`${prefix}BRAND`],
66838
- brand2: process.env[`${prefix}BRAND2`],
66839
- brand3: process.env[`${prefix}BRAND3`],
66829
+ alternate: process.env[`${prefix}ALTERNATE`],
66840
66830
  accent: process.env[`${prefix}ACCENT`],
66841
66831
  help: process.env[`${prefix}HELP`],
66842
66832
  success: process.env[`${prefix}SUCCESS`],
@@ -67039,11 +67029,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67039
67029
  if (config.brand) {
67040
67030
  process.env[`${prefix}BRAND`] = config.brand;
67041
67031
  }
67042
- if (config.brand2) {
67043
- process.env[`${prefix}BRAND2`] = config.brand2;
67044
- }
67045
- if (config.brand3) {
67046
- process.env[`${prefix}BRAND3`] = config.brand3;
67032
+ if (config.alternate) {
67033
+ process.env[`${prefix}ALTERNATE`] = config.alternate;
67047
67034
  }
67048
67035
  if (config.accent) {
67049
67036
  process.env[`${prefix}ACCENT`] = config.accent;
@@ -67083,11 +67070,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67083
67070
  if (config.brand) {
67084
67071
  process.env[`${prefix}BRAND`] = config.brand;
67085
67072
  }
67086
- if (config.brand2) {
67087
- process.env[`${prefix}BRAND2`] = config.brand2;
67088
- }
67089
- if (config.brand3) {
67090
- process.env[`${prefix}BRAND3`] = config.brand3;
67073
+ if (config.alternate) {
67074
+ process.env[`${prefix}ALTERNATE`] = config.alternate;
67091
67075
  }
67092
67076
  if (config.accent) {
67093
67077
  process.env[`${prefix}ACCENT`] = config.accent;
package/index.js CHANGED
@@ -66075,8 +66075,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
66075
66075
  var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
66076
66076
  var 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");
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
- var Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
66079
- var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
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");
66080
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");
66081
66080
  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
66081
  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");
@@ -66088,8 +66087,7 @@ var DarkThemeColorConfigSchema = z2.object({
66088
66087
  foreground: LightColorSchema,
66089
66088
  background: DarkColorSchema,
66090
66089
  brand: BrandColorSchema,
66091
- brand2: Brand2ColorSchema,
66092
- brand3: Brand3ColorSchema,
66090
+ alternate: AlternateColorSchema,
66093
66091
  accent: AccentColorSchema,
66094
66092
  help: HelpColorSchema,
66095
66093
  success: SuccessColorSchema,
@@ -66102,8 +66100,7 @@ var LightThemeColorConfigSchema = z2.object({
66102
66100
  foreground: DarkColorSchema,
66103
66101
  background: LightColorSchema,
66104
66102
  brand: BrandColorSchema,
66105
- brand2: Brand2ColorSchema,
66106
- brand3: Brand3ColorSchema,
66103
+ alternate: AlternateColorSchema,
66107
66104
  accent: AccentColorSchema,
66108
66105
  help: HelpColorSchema,
66109
66106
  success: SuccessColorSchema,
@@ -66120,8 +66117,7 @@ var SingleThemeColorConfigSchema = z2.object({
66120
66117
  dark: DarkColorSchema,
66121
66118
  light: LightColorSchema,
66122
66119
  brand: BrandColorSchema,
66123
- brand2: Brand2ColorSchema,
66124
- brand3: Brand3ColorSchema,
66120
+ alternate: AlternateColorSchema,
66125
66121
  accent: AccentColorSchema,
66126
66122
  help: HelpColorSchema,
66127
66123
  success: SuccessColorSchema,
@@ -66227,29 +66223,25 @@ var COLOR_KEYS = [
66227
66223
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
66228
66224
  import { join as join3 } from "node:path";
66229
66225
  var DEFAULT_COLOR_CONFIG = {
66230
- light: {
66231
- background: "#f4f4f5",
66232
- foreground: "#1d232a",
66233
- brand: "#1fb2a6",
66234
- brand2: "#7434DB",
66235
- brand3: "#00C2CE",
66236
- help: "#8250df",
66237
- success: "#087f5b",
66238
- info: "#0550ae",
66239
- warning: "#e3b341",
66240
- error: "#a40e26"
66226
+ "light": {
66227
+ "background": "#fafafa",
66228
+ "foreground": "#121212",
66229
+ "brand": "#1fb2a6",
66230
+ "help": "#5C4EE5",
66231
+ "success": "#087f5b",
66232
+ "info": "#0550ae",
66233
+ "warning": "#e3b341",
66234
+ "error": "#a40e26"
66241
66235
  },
66242
- dark: {
66243
- background: "#0D1017",
66244
- foreground: "#fcfcf5",
66245
- brand: "#1fb2a6",
66246
- brand2: "#7434DB",
66247
- brand3: "#00C2CE",
66248
- help: "#8256D0",
66249
- success: "#087f5b",
66250
- info: "#316DCA",
66251
- warning: "#F3D371",
66252
- error: "#d1242f"
66236
+ "dark": {
66237
+ "background": "#22272e",
66238
+ "foreground": "#f0f0f0",
66239
+ "brand": "#3fc1b0",
66240
+ "help": "#5C4EE5",
66241
+ "success": "#10b981",
66242
+ "info": "#58a6ff",
66243
+ "warning": "#f3d371",
66244
+ "error": "#d1242f"
66253
66245
  }
66254
66246
  };
66255
66247
  var DEFAULT_STORM_CONFIG = {
@@ -66768,8 +66760,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
66768
66760
  dark: process.env[`${prefix}DARK`],
66769
66761
  light: process.env[`${prefix}LIGHT`],
66770
66762
  brand: process.env[`${prefix}BRAND`],
66771
- brand2: process.env[`${prefix}BRAND2`],
66772
- brand3: process.env[`${prefix}BRAND3`],
66763
+ alternate: process.env[`${prefix}ALTERNATE`],
66773
66764
  accent: process.env[`${prefix}ACCENT`],
66774
66765
  help: process.env[`${prefix}HELP`],
66775
66766
  success: process.env[`${prefix}SUCCESS`],
@@ -66792,8 +66783,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
66792
66783
  foreground: process.env[`${prefix}FOREGROUND`],
66793
66784
  background: process.env[`${prefix}BACKGROUND`],
66794
66785
  brand: process.env[`${prefix}BRAND`],
66795
- brand2: process.env[`${prefix}BRAND2`],
66796
- brand3: process.env[`${prefix}BRAND3`],
66786
+ alternate: process.env[`${prefix}ALTERNATE`],
66797
66787
  accent: process.env[`${prefix}ACCENT`],
66798
66788
  help: process.env[`${prefix}HELP`],
66799
66789
  success: process.env[`${prefix}SUCCESS`],
@@ -66996,11 +66986,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
66996
66986
  if (config.brand) {
66997
66987
  process.env[`${prefix}BRAND`] = config.brand;
66998
66988
  }
66999
- if (config.brand2) {
67000
- process.env[`${prefix}BRAND2`] = config.brand2;
67001
- }
67002
- if (config.brand3) {
67003
- process.env[`${prefix}BRAND3`] = config.brand3;
66989
+ if (config.alternate) {
66990
+ process.env[`${prefix}ALTERNATE`] = config.alternate;
67004
66991
  }
67005
66992
  if (config.accent) {
67006
66993
  process.env[`${prefix}ACCENT`] = config.accent;
@@ -67040,11 +67027,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67040
67027
  if (config.brand) {
67041
67028
  process.env[`${prefix}BRAND`] = config.brand;
67042
67029
  }
67043
- if (config.brand2) {
67044
- process.env[`${prefix}BRAND2`] = config.brand2;
67045
- }
67046
- if (config.brand3) {
67047
- process.env[`${prefix}BRAND3`] = config.brand3;
67030
+ if (config.alternate) {
67031
+ process.env[`${prefix}ALTERNATE`] = config.alternate;
67048
67032
  }
67049
67033
  if (config.accent) {
67050
67034
  process.env[`${prefix}ACCENT`] = config.accent;