@storm-software/config 1.30.0 → 1.31.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,11 +1,19 @@
1
- ## 1.30.0 (2024-07-19)
1
+ ## 1.31.0 (2024-07-29)
2
+
3
+
4
+ ### Features
5
+
6
+ - **config:** Added the `brand2` and `brand3` color tokens ([58705631](https://github.com/storm-software/storm-ops/commit/58705631))
2
7
 
8
+ ## 1.30.0 (2024-07-19)
3
9
 
4
10
  ### Features
5
11
 
6
- - **workspace-tools:** Added the `clean-package` executor ([a1763e45](https://github.com/storm-software/storm-ops/commit/a1763e45))
12
+ - **workspace-tools:** Added the `clean-package` executor
13
+ ([a1763e45](https://github.com/storm-software/storm-ops/commit/a1763e45))
7
14
 
8
- - **config:** Updated `workspaceRoot` with a default value ([5ee3fb09](https://github.com/storm-software/storm-ops/commit/5ee3fb09))
15
+ - **config:** Updated `workspaceRoot` with a default value
16
+ ([5ee3fb09](https://github.com/storm-software/storm-ops/commit/5ee3fb09))
9
17
 
10
18
  ## 1.29.0 (2024-07-17)
11
19
 
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.29.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)
24
+ [![Version](https://img.shields.io/badge/version-1.30.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
@@ -3951,6 +3951,8 @@ var z = /* @__PURE__ */ Object.freeze({
3951
3951
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
3952
3952
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3953
3953
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3954
+ var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
3955
+ var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
3954
3956
  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");
3955
3957
  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");
3956
3958
  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");
@@ -3962,6 +3964,8 @@ var DarkThemeColorConfigSchema = z.object({
3962
3964
  foreground: LightColorSchema,
3963
3965
  background: DarkColorSchema,
3964
3966
  brand: BrandColorSchema,
3967
+ brand2: Brand2ColorSchema,
3968
+ brand3: Brand3ColorSchema,
3965
3969
  accent: AccentColorSchema,
3966
3970
  help: HelpColorSchema,
3967
3971
  success: SuccessColorSchema,
@@ -3974,6 +3978,8 @@ var LightThemeColorConfigSchema = z.object({
3974
3978
  foreground: DarkColorSchema,
3975
3979
  background: LightColorSchema,
3976
3980
  brand: BrandColorSchema,
3981
+ brand2: Brand2ColorSchema,
3982
+ brand3: Brand3ColorSchema,
3977
3983
  accent: AccentColorSchema,
3978
3984
  help: HelpColorSchema,
3979
3985
  success: SuccessColorSchema,
@@ -3990,6 +3996,8 @@ var SingleThemeColorConfigSchema = z.object({
3990
3996
  dark: DarkColorSchema,
3991
3997
  light: LightColorSchema,
3992
3998
  brand: BrandColorSchema,
3999
+ brand2: Brand2ColorSchema,
4000
+ brand3: Brand3ColorSchema,
3993
4001
  accent: AccentColorSchema,
3994
4002
  help: HelpColorSchema,
3995
4003
  success: SuccessColorSchema,
package/index.js CHANGED
@@ -3916,6 +3916,8 @@ var z = /* @__PURE__ */ Object.freeze({
3916
3916
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
3917
3917
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3918
3918
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3919
+ var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
3920
+ var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
3919
3921
  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");
3920
3922
  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");
3921
3923
  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");
@@ -3927,6 +3929,8 @@ var DarkThemeColorConfigSchema = z.object({
3927
3929
  foreground: LightColorSchema,
3928
3930
  background: DarkColorSchema,
3929
3931
  brand: BrandColorSchema,
3932
+ brand2: Brand2ColorSchema,
3933
+ brand3: Brand3ColorSchema,
3930
3934
  accent: AccentColorSchema,
3931
3935
  help: HelpColorSchema,
3932
3936
  success: SuccessColorSchema,
@@ -3939,6 +3943,8 @@ var LightThemeColorConfigSchema = z.object({
3939
3943
  foreground: DarkColorSchema,
3940
3944
  background: LightColorSchema,
3941
3945
  brand: BrandColorSchema,
3946
+ brand2: Brand2ColorSchema,
3947
+ brand3: Brand3ColorSchema,
3942
3948
  accent: AccentColorSchema,
3943
3949
  help: HelpColorSchema,
3944
3950
  success: SuccessColorSchema,
@@ -3955,6 +3961,8 @@ var SingleThemeColorConfigSchema = z.object({
3955
3961
  dark: DarkColorSchema,
3956
3962
  light: LightColorSchema,
3957
3963
  brand: BrandColorSchema,
3964
+ brand2: Brand2ColorSchema,
3965
+ brand3: Brand3ColorSchema,
3958
3966
  accent: AccentColorSchema,
3959
3967
  help: HelpColorSchema,
3960
3968
  success: SuccessColorSchema,
package/meta.cjs.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":9532,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/index.ts":{"bytesInOutput":679},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":7918},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":126727}}}
1
+ {"inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":10115,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/index.ts":{"bytesInOutput":679},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":8455},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":127264}}}
package/meta.esm.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":9532,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.js":{"imports":[],"exports":["COLOR_KEYS","ColorConfigMapSchema","ColorConfigSchema","DarkThemeColorConfigSchema","LightThemeColorConfigSchema","MultiThemeColorConfigSchema","RegistryConfigSchema","RegistryUrlConfigSchema","SingleThemeColorConfigSchema","StormConfigSchema","defineConfig"],"entryPoint":"packages/config/src/index.ts","inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":7918},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":125511}}}
1
+ {"inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":10115,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.js":{"imports":[],"exports":["COLOR_KEYS","ColorConfigMapSchema","ColorConfigSchema","DarkThemeColorConfigSchema","LightThemeColorConfigSchema","MultiThemeColorConfigSchema","RegistryConfigSchema","RegistryUrlConfigSchema","SingleThemeColorConfigSchema","StormConfigSchema","defineConfig"],"entryPoint":"packages/config/src/index.ts","inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":8455},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":126048}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config",
3
- "version": "1.30.0",
3
+ "version": "1.31.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",
package/presets/base.json CHANGED
@@ -22,6 +22,8 @@
22
22
  "background": "#f4f4f5",
23
23
  "foreground": "#1d232a",
24
24
  "brand": "#1fb2a6",
25
+ "brand2": "#7434DB",
26
+ "brand3": "#00C2CE",
25
27
  "help": "#8250df",
26
28
  "success": "#087f5b",
27
29
  "info": "#0550ae",
@@ -29,9 +31,11 @@
29
31
  "error": "#a40e26"
30
32
  },
31
33
  "dark": {
32
- "background": "#22272E",
34
+ "background": "#0D1017",
33
35
  "foreground": "#fcfcf5",
34
36
  "brand": "#1fb2a6",
37
+ "brand2": "#7434DB",
38
+ "brand3": "#00C2CE",
35
39
  "help": "#8256D0",
36
40
  "success": "#087f5b",
37
41
  "info": "#316DCA",
@@ -207,7 +207,7 @@
207
207
  "pattern": "^#([0-9a-f]{3}){1,2}$",
208
208
  "minLength": 7,
209
209
  "maxLength": 7,
210
- "default": "#22272E",
210
+ "default": "#0D1017",
211
211
  "description": "The dark background color of the workspace"
212
212
  },
213
213
  "light": {
@@ -226,6 +226,22 @@
226
226
  "default": "#1fb2a6",
227
227
  "description": "The primary brand specific color of the workspace"
228
228
  },
229
+ "brand2": {
230
+ "type": "string",
231
+ "pattern": "^#([0-9a-f]{3}){1,2}$",
232
+ "minLength": 7,
233
+ "maxLength": 7,
234
+ "default": "#7434DB",
235
+ "description": "The secondary brand specific color of the workspace"
236
+ },
237
+ "brand3": {
238
+ "type": "string",
239
+ "pattern": "^#([0-9a-f]{3}){1,2}$",
240
+ "minLength": 7,
241
+ "maxLength": 7,
242
+ "default": "#00C2CE",
243
+ "description": "The tertiary brand specific color of the workspace"
244
+ },
229
245
  "accent": {
230
246
  "type": "string",
231
247
  "pattern": "^#([0-9a-f]{3}){1,2}$",
@@ -298,6 +314,12 @@
298
314
  "brand": {
299
315
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/brand"
300
316
  },
317
+ "brand2": {
318
+ "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/brand2"
319
+ },
320
+ "brand3": {
321
+ "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/brand3"
322
+ },
301
323
  "accent": {
302
324
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/accent"
303
325
  },
@@ -334,6 +356,12 @@
334
356
  "brand": {
335
357
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/brand"
336
358
  },
359
+ "brand2": {
360
+ "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/brand2"
361
+ },
362
+ "brand3": {
363
+ "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/brand3"
364
+ },
337
365
  "accent": {
338
366
  "$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/accent"
339
367
  },