@storm-software/config-tools 1.44.0 → 1.45.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,42 +1,57 @@
1
- ## 1.44.0 (2024-05-04)
1
+ ## 1.45.1 (2024-05-06)
2
2
 
3
3
 
4
- ### 🚀 Features
4
+ ### 🩹 Fixes
5
5
 
6
- - **config:** Generated the Storm Configuration JSON schema package asset ([0a5c9bb2](https://github.com/storm-software/storm-ops/commit/0a5c9bb2))
6
+ - **markdownlint:** Resolved issue with bad config in lint file ([95b3aba7](https://github.com/storm-software/storm-ops/commit/95b3aba7))
7
7
 
8
8
 
9
9
  ### ❤️ Thank You
10
10
 
11
11
  - Patrick Sullivan
12
12
 
13
- ## 1.43.0 (2024-05-04)
13
+ ## 1.45.0 (2024-05-06)
14
+
15
+ ### 🚀 Features
16
+
17
+ - **markdownlint:** Added the `markdownlint` package for shared configurations ([abd6fa38](https://github.com/storm-software/storm-ops/commit/abd6fa38))
18
+
19
+ ### ❤️ Thank You
14
20
 
21
+ - Patrick Sullivan
22
+
23
+ ## 1.44.0 (2024-05-04)
15
24
 
16
25
  ### 🚀 Features
17
26
 
18
- - **config:** Update the structure of the theme color names ([4c087334](https://github.com/storm-software/storm-ops/commit/4c087334))
27
+ - **config:** Generated the Storm Configuration JSON schema package asset ([0a5c9bb2](https://github.com/storm-software/storm-ops/commit/0a5c9bb2))
19
28
 
29
+ ### ❤️ Thank You
20
30
 
21
- ### ❤️ Thank You
31
+ - Patrick Sullivan
32
+
33
+ ## 1.43.0 (2024-05-04)
34
+
35
+ ### 🚀 Features
36
+
37
+ - **config:** Update the structure of the theme color names ([4c087334](https://github.com/storm-software/storm-ops/commit/4c087334))
38
+
39
+ ### ❤️ Thank You
22
40
 
23
41
  - Patrick Sullivan
24
42
 
25
43
  ## 1.42.0 (2024-05-04)
26
44
 
27
-
28
45
  ### 🚀 Features
29
46
 
30
47
  - **config:** Update the theme to use brand colors instead of hierarchy colors ([bcff6b80](https://github.com/storm-software/storm-ops/commit/bcff6b80))
31
48
 
32
-
33
- ### ❤️ Thank You
49
+ ### ❤️ Thank You
34
50
 
35
51
  - Patrick Sullivan
36
52
 
37
53
  ## 1.41.5 (2024-04-29)
38
54
 
39
-
40
55
  ### 🩹 Fixes
41
56
 
42
57
  - **deps:** update patch prod dependencies ([c427e132](https://github.com/storm-software/storm-ops/commit/c427e132))
@@ -45,147 +60,123 @@
45
60
 
46
61
  - **config-tools:** Resolved issue with newlines in console logger ([f69501b7](https://github.com/storm-software/storm-ops/commit/f69501b7))
47
62
 
48
-
49
- ### ❤️ Thank You
63
+ ### ❤️ Thank You
50
64
 
51
65
  - Patrick Sullivan
52
66
 
53
67
  ## 1.41.4 (2024-04-26)
54
68
 
55
-
56
69
  ### 🩹 Fixes
57
70
 
58
71
  - **config-tools:** Improved logging and enhanced config json preset ([5dabb1ae](https://github.com/storm-software/storm-ops/commit/5dabb1ae))
59
72
 
60
-
61
- ### ❤️ Thank You
73
+ ### ❤️ Thank You
62
74
 
63
75
  - Patrick Sullivan
64
76
 
65
77
  ## 1.41.3 (2024-04-26)
66
78
 
67
-
68
79
  ### 🩹 Fixes
69
80
 
70
81
  - **config-tools:** Resolved issue applying default config ([8e1403b3](https://github.com/storm-software/storm-ops/commit/8e1403b3))
71
82
 
72
-
73
- ### ❤️ Thank You
83
+ ### ❤️ Thank You
74
84
 
75
85
  - Patrick Sullivan
76
86
 
77
87
  ## 1.41.2 (2024-04-26)
78
88
 
79
-
80
89
  ### 🩹 Fixes
81
90
 
82
91
  - **config-tools:** Ensure defaulting doesn't overwrite file ([d14794e5](https://github.com/storm-software/storm-ops/commit/d14794e5))
83
92
 
84
-
85
- ### ❤️ Thank You
93
+ ### ❤️ Thank You
86
94
 
87
95
  - Patrick Sullivan
88
96
 
89
97
  ## 1.41.1 (2024-04-25)
90
98
 
91
-
92
99
  ### 🩹 Fixes
93
100
 
94
101
  - **config-tools:** Resovled issue with parsing env values ([bb0e395a](https://github.com/storm-software/storm-ops/commit/bb0e395a))
95
102
 
96
-
97
- ### ❤️ Thank You
103
+ ### ❤️ Thank You
98
104
 
99
105
  - Patrick Sullivan
100
106
 
101
107
  ## 1.41.0 (2024-04-24)
102
108
 
103
-
104
109
  ### 🚀 Features
105
110
 
106
111
  - **config-tools:** Enhanced the config loading and logging processes ([0e3b7cef](https://github.com/storm-software/storm-ops/commit/0e3b7cef))
107
112
 
108
-
109
- ### ❤️ Thank You
113
+ ### ❤️ Thank You
110
114
 
111
115
  - Patrick Sullivan
112
116
 
113
117
  ## 1.40.1 (2024-04-22)
114
118
 
115
-
116
119
  ### 🩹 Fixes
117
120
 
118
121
  - **config:** Added updates to repository logging ([2b871dc3](https://github.com/storm-software/storm-ops/commit/2b871dc3))
119
122
 
120
-
121
- ### ❤️ Thank You
123
+ ### ❤️ Thank You
122
124
 
123
125
  - Patrick Sullivan
124
126
 
125
127
  ## 1.40.0 (2024-04-22)
126
128
 
127
-
128
129
  ### 🚀 Features
129
130
 
130
131
  - **cloudflare-tools:** Added the `worker`, `init`, and `serve` tools ([b4b92c2c](https://github.com/storm-software/storm-ops/commit/b4b92c2c))
131
132
 
132
-
133
- ### ❤️ Thank You
133
+ ### ❤️ Thank You
134
134
 
135
135
  - Patrick Sullivan
136
136
 
137
137
  ## 1.39.3 (2024-04-15)
138
138
 
139
-
140
139
  ### 🩹 Fixes
141
140
 
142
141
  - **config-tools:** Resolved issue with missing fields in Storm configuration ([cf157d2a](https://github.com/storm-software/storm-ops/commit/cf157d2a))
143
142
 
144
-
145
- ### ❤️ Thank You
143
+ ### ❤️ Thank You
146
144
 
147
145
  - Patrick Sullivan
148
146
 
149
147
  ## 1.39.2 (2024-04-15)
150
148
 
151
-
152
149
  ### 🩹 Fixes
153
150
 
154
151
  - **config-tools:** Clean up the README markdown ([676d23d3](https://github.com/storm-software/storm-ops/commit/676d23d3))
155
152
 
156
-
157
- ### ❤️ Thank You
153
+ ### ❤️ Thank You
158
154
 
159
155
  - Patrick Sullivan
160
156
 
161
157
  ## 1.39.1 (2024-04-15)
162
158
 
163
-
164
159
  ### 🩹 Fixes
165
160
 
166
161
  - **deps:** pin dependencies ([36d5dd8e](https://github.com/storm-software/storm-ops/commit/36d5dd8e))
167
162
 
168
163
  ## 1.39.0 (2024-04-13)
169
164
 
170
-
171
165
  ### 🚀 Features
172
166
 
173
167
  - **config-tools:** No longer require `config` in storm console write functions ([ad8c6511](https://github.com/storm-software/storm-ops/commit/ad8c6511))
174
168
 
175
-
176
- ### ❤️ Thank You
169
+ ### ❤️ Thank You
177
170
 
178
171
  - Patrick Sullivan
179
172
 
180
173
  ## 1.38.1 (2024-04-13)
181
174
 
182
-
183
175
  ### 🩹 Fixes
184
176
 
185
177
  - **config-tools:** Resolved issue with bad `project.json` tasks ([744c7eef](https://github.com/storm-software/storm-ops/commit/744c7eef))
186
178
 
187
-
188
- ### ❤️ Thank You
179
+ ### ❤️ Thank You
189
180
 
190
181
  - Patrick Sullivan
191
182
 
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.39.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
24
+ [![Version](https://img.shields.io/badge/version-1.45.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
25
25
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
26
26
 
27
27
  > [!IMPORTANT]
package/index.cjs CHANGED
@@ -72301,7 +72301,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
72301
72301
  var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
72302
72302
  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");
72303
72303
  var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
72304
- var AccentColorSchema = 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");
72304
+ 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");
72305
72305
  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");
72306
72306
  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");
72307
72307
  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");
@@ -72311,7 +72311,7 @@ var DarkThemeColorConfigSchema = z2.object({
72311
72311
  foreground: LightColorSchema,
72312
72312
  background: DarkColorSchema,
72313
72313
  brand: BrandColorSchema,
72314
- accent: AccentColorSchema,
72314
+ help: HelpColorSchema,
72315
72315
  success: SuccessColorSchema,
72316
72316
  info: InfoColorSchema,
72317
72317
  warning: WarningColorSchema,
@@ -72322,7 +72322,7 @@ var LightThemeColorConfigSchema = z2.object({
72322
72322
  foreground: DarkColorSchema,
72323
72323
  background: LightColorSchema,
72324
72324
  brand: BrandColorSchema,
72325
- accent: AccentColorSchema,
72325
+ help: HelpColorSchema,
72326
72326
  success: SuccessColorSchema,
72327
72327
  info: InfoColorSchema,
72328
72328
  warning: WarningColorSchema,
@@ -72337,7 +72337,7 @@ var SingleThemeColorConfigSchema = z2.object({
72337
72337
  dark: DarkColorSchema,
72338
72338
  light: LightColorSchema,
72339
72339
  brand: BrandColorSchema,
72340
- accent: AccentColorSchema,
72340
+ help: HelpColorSchema,
72341
72341
  success: SuccessColorSchema,
72342
72342
  info: InfoColorSchema,
72343
72343
  warning: WarningColorSchema,
@@ -72428,7 +72428,7 @@ var DEFAULT_COLOR_CONFIG = {
72428
72428
  background: "#f4f4f5",
72429
72429
  foreground: "#1d232a",
72430
72430
  brand: "#1fb2a6",
72431
- accent: "#8250df",
72431
+ help: "#8250df",
72432
72432
  success: "#087f5b",
72433
72433
  info: "#0550ae",
72434
72434
  warning: "#e3b341",
@@ -72438,7 +72438,7 @@ var DEFAULT_COLOR_CONFIG = {
72438
72438
  background: "#22272E",
72439
72439
  foreground: "#fcfcf5",
72440
72440
  brand: "#1fb2a6",
72441
- accent: "#8256D0",
72441
+ help: "#8256D0",
72442
72442
  success: "#087f5b",
72443
72443
  info: "#316DCA",
72444
72444
  warning: "#F3D371",
@@ -72934,7 +72934,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
72934
72934
  }
72935
72935
  );
72936
72936
  writeTrace(result.config, { logLevel: "all" });
72937
- config = (0, import_deepmerge.default)(config ?? {}, result.config ?? {});
72937
+ config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
72938
72938
  }
72939
72939
  }
72940
72940
  }
@@ -73028,7 +73028,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
73028
73028
  dark: process.env[`${prefix}DARK`],
73029
73029
  light: process.env[`${prefix}LIGHT`],
73030
73030
  brand: process.env[`${prefix}BRAND`],
73031
- accent: process.env[`${prefix}ACCENT`],
73031
+ help: process.env[`${prefix}HELP`],
73032
73032
  success: process.env[`${prefix}SUCCESS`],
73033
73033
  info: process.env[`${prefix}INFO`],
73034
73034
  warning: process.env[`${prefix}WARNING`],
@@ -73049,7 +73049,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
73049
73049
  foreground: process.env[`${prefix}FOREGROUND`],
73050
73050
  background: process.env[`${prefix}BACKGROUND`],
73051
73051
  brand: process.env[`${prefix}BRAND`],
73052
- accent: process.env[`${prefix}ACCENT`],
73052
+ help: process.env[`${prefix}HELP`],
73053
73053
  success: process.env[`${prefix}SUCCESS`],
73054
73054
  info: process.env[`${prefix}INFO`],
73055
73055
  warning: process.env[`${prefix}WARNING`],
@@ -73219,8 +73219,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
73219
73219
  if (config.brand) {
73220
73220
  process.env[`${prefix}BRAND`] = config.brand;
73221
73221
  }
73222
- if (config.accent) {
73223
- process.env[`${prefix}ACCENT`] = config.accent;
73222
+ if (config.help) {
73223
+ process.env[`${prefix}HELP`] = config.help;
73224
73224
  }
73225
73225
  if (config.success) {
73226
73226
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -73254,8 +73254,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
73254
73254
  if (config.brand) {
73255
73255
  process.env[`${prefix}BRAND`] = config.brand;
73256
73256
  }
73257
- if (config.accent) {
73258
- process.env[`${prefix}ACCENT`] = config.accent;
73257
+ if (config.help) {
73258
+ process.env[`${prefix}HELP`] = config.help;
73259
73259
  }
73260
73260
  if (config.success) {
73261
73261
  process.env[`${prefix}SUCCESS`] = config.success;
package/index.js CHANGED
@@ -72259,7 +72259,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
72259
72259
  var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
72260
72260
  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");
72261
72261
  var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
72262
- var AccentColorSchema = 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");
72262
+ 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");
72263
72263
  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");
72264
72264
  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");
72265
72265
  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");
@@ -72269,7 +72269,7 @@ var DarkThemeColorConfigSchema = z2.object({
72269
72269
  foreground: LightColorSchema,
72270
72270
  background: DarkColorSchema,
72271
72271
  brand: BrandColorSchema,
72272
- accent: AccentColorSchema,
72272
+ help: HelpColorSchema,
72273
72273
  success: SuccessColorSchema,
72274
72274
  info: InfoColorSchema,
72275
72275
  warning: WarningColorSchema,
@@ -72280,7 +72280,7 @@ var LightThemeColorConfigSchema = z2.object({
72280
72280
  foreground: DarkColorSchema,
72281
72281
  background: LightColorSchema,
72282
72282
  brand: BrandColorSchema,
72283
- accent: AccentColorSchema,
72283
+ help: HelpColorSchema,
72284
72284
  success: SuccessColorSchema,
72285
72285
  info: InfoColorSchema,
72286
72286
  warning: WarningColorSchema,
@@ -72295,7 +72295,7 @@ var SingleThemeColorConfigSchema = z2.object({
72295
72295
  dark: DarkColorSchema,
72296
72296
  light: LightColorSchema,
72297
72297
  brand: BrandColorSchema,
72298
- accent: AccentColorSchema,
72298
+ help: HelpColorSchema,
72299
72299
  success: SuccessColorSchema,
72300
72300
  info: InfoColorSchema,
72301
72301
  warning: WarningColorSchema,
@@ -72386,7 +72386,7 @@ var DEFAULT_COLOR_CONFIG = {
72386
72386
  background: "#f4f4f5",
72387
72387
  foreground: "#1d232a",
72388
72388
  brand: "#1fb2a6",
72389
- accent: "#8250df",
72389
+ help: "#8250df",
72390
72390
  success: "#087f5b",
72391
72391
  info: "#0550ae",
72392
72392
  warning: "#e3b341",
@@ -72396,7 +72396,7 @@ var DEFAULT_COLOR_CONFIG = {
72396
72396
  background: "#22272E",
72397
72397
  foreground: "#fcfcf5",
72398
72398
  brand: "#1fb2a6",
72399
- accent: "#8256D0",
72399
+ help: "#8256D0",
72400
72400
  success: "#087f5b",
72401
72401
  info: "#316DCA",
72402
72402
  warning: "#F3D371",
@@ -72892,7 +72892,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
72892
72892
  }
72893
72893
  );
72894
72894
  writeTrace(result.config, { logLevel: "all" });
72895
- config = (0, import_deepmerge.default)(config ?? {}, result.config ?? {});
72895
+ config = (0, import_deepmerge.default)(result.config ?? {}, config ?? {});
72896
72896
  }
72897
72897
  }
72898
72898
  }
@@ -72986,7 +72986,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
72986
72986
  dark: process.env[`${prefix}DARK`],
72987
72987
  light: process.env[`${prefix}LIGHT`],
72988
72988
  brand: process.env[`${prefix}BRAND`],
72989
- accent: process.env[`${prefix}ACCENT`],
72989
+ help: process.env[`${prefix}HELP`],
72990
72990
  success: process.env[`${prefix}SUCCESS`],
72991
72991
  info: process.env[`${prefix}INFO`],
72992
72992
  warning: process.env[`${prefix}WARNING`],
@@ -73007,7 +73007,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
73007
73007
  foreground: process.env[`${prefix}FOREGROUND`],
73008
73008
  background: process.env[`${prefix}BACKGROUND`],
73009
73009
  brand: process.env[`${prefix}BRAND`],
73010
- accent: process.env[`${prefix}ACCENT`],
73010
+ help: process.env[`${prefix}HELP`],
73011
73011
  success: process.env[`${prefix}SUCCESS`],
73012
73012
  info: process.env[`${prefix}INFO`],
73013
73013
  warning: process.env[`${prefix}WARNING`],
@@ -73177,8 +73177,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
73177
73177
  if (config.brand) {
73178
73178
  process.env[`${prefix}BRAND`] = config.brand;
73179
73179
  }
73180
- if (config.accent) {
73181
- process.env[`${prefix}ACCENT`] = config.accent;
73180
+ if (config.help) {
73181
+ process.env[`${prefix}HELP`] = config.help;
73182
73182
  }
73183
73183
  if (config.success) {
73184
73184
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -73212,8 +73212,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
73212
73212
  if (config.brand) {
73213
73213
  process.env[`${prefix}BRAND`] = config.brand;
73214
73214
  }
73215
- if (config.accent) {
73216
- process.env[`${prefix}ACCENT`] = config.accent;
73215
+ if (config.help) {
73216
+ process.env[`${prefix}HELP`] = config.help;
73217
73217
  }
73218
73218
  if (config.success) {
73219
73219
  process.env[`${prefix}SUCCESS`] = config.success;