@storm-software/config-tools 1.62.0 → 1.63.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,17 @@
1
+ ## 1.63.0 (2024-07-29)
2
+
3
+
4
+ ### Features
5
+
6
+ - **tsconfig:** Added the `core` shared TypeScript configuration file ([de64188b](https://github.com/storm-software/storm-ops/commit/de64188b))
7
+
8
+ ## 1.62.1 (2024-07-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ - **build-tools:** Resolve issue writing `include` paths ([63a1acb1](https://github.com/storm-software/storm-ops/commit/63a1acb1))
14
+
1
15
  ## 1.62.0 (2024-07-29)
2
16
 
3
17
 
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.61.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.63.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
@@ -62936,10 +62936,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
62936
62936
  return result;
62937
62937
  }
62938
62938
 
62939
- // packages/config-tools/src/utilities/get-default-config.ts
62940
- var import_node_fs10 = require("node:fs");
62941
- var import_node_path6 = require("node:path");
62942
-
62943
62939
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
62944
62940
  var util;
62945
62941
  (function(util2) {
@@ -66858,6 +66854,8 @@ var z2 = /* @__PURE__ */ Object.freeze({
66858
66854
  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");
66859
66855
  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");
66860
66856
  var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
66857
+ 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");
66858
+ 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");
66861
66859
  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");
66862
66860
  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");
66863
66861
  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");
@@ -66869,6 +66867,8 @@ var DarkThemeColorConfigSchema = z2.object({
66869
66867
  foreground: LightColorSchema,
66870
66868
  background: DarkColorSchema,
66871
66869
  brand: BrandColorSchema,
66870
+ brand2: Brand2ColorSchema,
66871
+ brand3: Brand3ColorSchema,
66872
66872
  accent: AccentColorSchema,
66873
66873
  help: HelpColorSchema,
66874
66874
  success: SuccessColorSchema,
@@ -66881,6 +66881,8 @@ var LightThemeColorConfigSchema = z2.object({
66881
66881
  foreground: DarkColorSchema,
66882
66882
  background: LightColorSchema,
66883
66883
  brand: BrandColorSchema,
66884
+ brand2: Brand2ColorSchema,
66885
+ brand3: Brand3ColorSchema,
66884
66886
  accent: AccentColorSchema,
66885
66887
  help: HelpColorSchema,
66886
66888
  success: SuccessColorSchema,
@@ -66897,6 +66899,8 @@ var SingleThemeColorConfigSchema = z2.object({
66897
66899
  dark: DarkColorSchema,
66898
66900
  light: LightColorSchema,
66899
66901
  brand: BrandColorSchema,
66902
+ brand2: Brand2ColorSchema,
66903
+ brand3: Brand3ColorSchema,
66900
66904
  accent: AccentColorSchema,
66901
66905
  help: HelpColorSchema,
66902
66906
  success: SuccessColorSchema,
@@ -66999,11 +67003,15 @@ var COLOR_KEYS = [
66999
67003
  ];
67000
67004
 
67001
67005
  // packages/config-tools/src/utilities/get-default-config.ts
67006
+ var import_node_fs10 = require("node:fs");
67007
+ var import_node_path6 = require("node:path");
67002
67008
  var DEFAULT_COLOR_CONFIG = {
67003
67009
  light: {
67004
67010
  background: "#f4f4f5",
67005
67011
  foreground: "#1d232a",
67006
67012
  brand: "#1fb2a6",
67013
+ brand2: "#7434DB",
67014
+ brand3: "#00C2CE",
67007
67015
  help: "#8250df",
67008
67016
  success: "#087f5b",
67009
67017
  info: "#0550ae",
@@ -67014,6 +67022,8 @@ var DEFAULT_COLOR_CONFIG = {
67014
67022
  background: "#22272E",
67015
67023
  foreground: "#fcfcf5",
67016
67024
  brand: "#1fb2a6",
67025
+ brand2: "#7434DB",
67026
+ brand3: "#00C2CE",
67017
67027
  help: "#8256D0",
67018
67028
  success: "#087f5b",
67019
67029
  info: "#316DCA",
@@ -67219,7 +67229,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67219
67229
  console.error(
67220
67230
  `
67221
67231
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67222
- " \u2718 Error "
67232
+ " \u2718 Error "
67223
67233
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67224
67234
  `
67225
67235
  );
@@ -67612,6 +67622,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
67612
67622
  dark: process.env[`${prefix}DARK`],
67613
67623
  light: process.env[`${prefix}LIGHT`],
67614
67624
  brand: process.env[`${prefix}BRAND`],
67625
+ brand2: process.env[`${prefix}BRAND2`],
67626
+ brand3: process.env[`${prefix}BRAND3`],
67615
67627
  accent: process.env[`${prefix}ACCENT`],
67616
67628
  help: process.env[`${prefix}HELP`],
67617
67629
  success: process.env[`${prefix}SUCCESS`],
@@ -67634,6 +67646,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
67634
67646
  foreground: process.env[`${prefix}FOREGROUND`],
67635
67647
  background: process.env[`${prefix}BACKGROUND`],
67636
67648
  brand: process.env[`${prefix}BRAND`],
67649
+ brand2: process.env[`${prefix}BRAND2`],
67650
+ brand3: process.env[`${prefix}BRAND3`],
67637
67651
  accent: process.env[`${prefix}ACCENT`],
67638
67652
  help: process.env[`${prefix}HELP`],
67639
67653
  success: process.env[`${prefix}SUCCESS`],
@@ -67830,6 +67844,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67830
67844
  if (config.brand) {
67831
67845
  process.env[`${prefix}BRAND`] = config.brand;
67832
67846
  }
67847
+ if (config.brand2) {
67848
+ process.env[`${prefix}BRAND2`] = config.brand2;
67849
+ }
67850
+ if (config.brand3) {
67851
+ process.env[`${prefix}BRAND3`] = config.brand3;
67852
+ }
67833
67853
  if (config.accent) {
67834
67854
  process.env[`${prefix}ACCENT`] = config.accent;
67835
67855
  }
@@ -67868,6 +67888,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67868
67888
  if (config.brand) {
67869
67889
  process.env[`${prefix}BRAND`] = config.brand;
67870
67890
  }
67891
+ if (config.brand2) {
67892
+ process.env[`${prefix}BRAND2`] = config.brand2;
67893
+ }
67894
+ if (config.brand3) {
67895
+ process.env[`${prefix}BRAND3`] = config.brand3;
67896
+ }
67871
67897
  if (config.accent) {
67872
67898
  process.env[`${prefix}ACCENT`] = config.accent;
67873
67899
  }
package/index.js CHANGED
@@ -62893,10 +62893,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
62893
62893
  return result;
62894
62894
  }
62895
62895
 
62896
- // packages/config-tools/src/utilities/get-default-config.ts
62897
- import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
62898
- import { join as join3 } from "node:path";
62899
-
62900
62896
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
62901
62897
  var util;
62902
62898
  (function(util2) {
@@ -66815,6 +66811,8 @@ var z2 = /* @__PURE__ */ Object.freeze({
66815
66811
  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");
66816
66812
  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");
66817
66813
  var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
66814
+ 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");
66815
+ 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");
66818
66816
  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");
66819
66817
  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");
66820
66818
  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");
@@ -66826,6 +66824,8 @@ var DarkThemeColorConfigSchema = z2.object({
66826
66824
  foreground: LightColorSchema,
66827
66825
  background: DarkColorSchema,
66828
66826
  brand: BrandColorSchema,
66827
+ brand2: Brand2ColorSchema,
66828
+ brand3: Brand3ColorSchema,
66829
66829
  accent: AccentColorSchema,
66830
66830
  help: HelpColorSchema,
66831
66831
  success: SuccessColorSchema,
@@ -66838,6 +66838,8 @@ var LightThemeColorConfigSchema = z2.object({
66838
66838
  foreground: DarkColorSchema,
66839
66839
  background: LightColorSchema,
66840
66840
  brand: BrandColorSchema,
66841
+ brand2: Brand2ColorSchema,
66842
+ brand3: Brand3ColorSchema,
66841
66843
  accent: AccentColorSchema,
66842
66844
  help: HelpColorSchema,
66843
66845
  success: SuccessColorSchema,
@@ -66854,6 +66856,8 @@ var SingleThemeColorConfigSchema = z2.object({
66854
66856
  dark: DarkColorSchema,
66855
66857
  light: LightColorSchema,
66856
66858
  brand: BrandColorSchema,
66859
+ brand2: Brand2ColorSchema,
66860
+ brand3: Brand3ColorSchema,
66857
66861
  accent: AccentColorSchema,
66858
66862
  help: HelpColorSchema,
66859
66863
  success: SuccessColorSchema,
@@ -66956,11 +66960,15 @@ var COLOR_KEYS = [
66956
66960
  ];
66957
66961
 
66958
66962
  // packages/config-tools/src/utilities/get-default-config.ts
66963
+ import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
66964
+ import { join as join3 } from "node:path";
66959
66965
  var DEFAULT_COLOR_CONFIG = {
66960
66966
  light: {
66961
66967
  background: "#f4f4f5",
66962
66968
  foreground: "#1d232a",
66963
66969
  brand: "#1fb2a6",
66970
+ brand2: "#7434DB",
66971
+ brand3: "#00C2CE",
66964
66972
  help: "#8250df",
66965
66973
  success: "#087f5b",
66966
66974
  info: "#0550ae",
@@ -66971,6 +66979,8 @@ var DEFAULT_COLOR_CONFIG = {
66971
66979
  background: "#22272E",
66972
66980
  foreground: "#fcfcf5",
66973
66981
  brand: "#1fb2a6",
66982
+ brand2: "#7434DB",
66983
+ brand3: "#00C2CE",
66974
66984
  help: "#8256D0",
66975
66985
  success: "#087f5b",
66976
66986
  info: "#316DCA",
@@ -67176,7 +67186,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67176
67186
  console.error(
67177
67187
  `
67178
67188
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67179
- " \u2718 Error "
67189
+ " \u2718 Error "
67180
67190
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67181
67191
  `
67182
67192
  );
@@ -67569,6 +67579,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
67569
67579
  dark: process.env[`${prefix}DARK`],
67570
67580
  light: process.env[`${prefix}LIGHT`],
67571
67581
  brand: process.env[`${prefix}BRAND`],
67582
+ brand2: process.env[`${prefix}BRAND2`],
67583
+ brand3: process.env[`${prefix}BRAND3`],
67572
67584
  accent: process.env[`${prefix}ACCENT`],
67573
67585
  help: process.env[`${prefix}HELP`],
67574
67586
  success: process.env[`${prefix}SUCCESS`],
@@ -67591,6 +67603,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
67591
67603
  foreground: process.env[`${prefix}FOREGROUND`],
67592
67604
  background: process.env[`${prefix}BACKGROUND`],
67593
67605
  brand: process.env[`${prefix}BRAND`],
67606
+ brand2: process.env[`${prefix}BRAND2`],
67607
+ brand3: process.env[`${prefix}BRAND3`],
67594
67608
  accent: process.env[`${prefix}ACCENT`],
67595
67609
  help: process.env[`${prefix}HELP`],
67596
67610
  success: process.env[`${prefix}SUCCESS`],
@@ -67787,6 +67801,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67787
67801
  if (config.brand) {
67788
67802
  process.env[`${prefix}BRAND`] = config.brand;
67789
67803
  }
67804
+ if (config.brand2) {
67805
+ process.env[`${prefix}BRAND2`] = config.brand2;
67806
+ }
67807
+ if (config.brand3) {
67808
+ process.env[`${prefix}BRAND3`] = config.brand3;
67809
+ }
67790
67810
  if (config.accent) {
67791
67811
  process.env[`${prefix}ACCENT`] = config.accent;
67792
67812
  }
@@ -67825,6 +67845,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67825
67845
  if (config.brand) {
67826
67846
  process.env[`${prefix}BRAND`] = config.brand;
67827
67847
  }
67848
+ if (config.brand2) {
67849
+ process.env[`${prefix}BRAND2`] = config.brand2;
67850
+ }
67851
+ if (config.brand3) {
67852
+ process.env[`${prefix}BRAND3`] = config.brand3;
67853
+ }
67828
67854
  if (config.accent) {
67829
67855
  process.env[`${prefix}ACCENT`] = config.accent;
67830
67856
  }