@storm-software/git-tools 2.34.1 → 2.36.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,19 @@
1
+ ## 2.36.0 (2024-07-31)
2
+
3
+
4
+ ### Features
5
+
6
+ - **create-storm-workspace:** Configure workspace to include GitHub ([eea71de7](https://github.com/storm-software/storm-ops/commit/eea71de7))
7
+
8
+ ## 2.35.0 (2024-07-30)
9
+
10
+
11
+ ### Features
12
+
13
+ - **eslint:** Added the header plugin ([cc0cbbea](https://github.com/storm-software/storm-ops/commit/cc0cbbea))
14
+
15
+ - **eslint:** Removed invalid JSON configuration from package ([2622ee7e](https://github.com/storm-software/storm-ops/commit/2622ee7e))
16
+
1
17
  ## 2.34.1 (2024-07-26)
2
18
 
3
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-2.34.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-2.35.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/bin/git.js CHANGED
@@ -226724,8 +226724,8 @@ var correctPaths = (path13) => {
226724
226724
  if (!path13) {
226725
226725
  return "";
226726
226726
  }
226727
- if (path13?.toUpperCase()?.startsWith("C:")) {
226728
- return path13.replaceAll("/", "\\");
226727
+ if (!path13.toUpperCase().startsWith("C:") && path13.includes("\\")) {
226728
+ path13 = `C:${path13}`;
226729
226729
  }
226730
226730
  return path13.replaceAll("\\", "/");
226731
226731
  };
@@ -226807,10 +226807,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
226807
226807
  return result2;
226808
226808
  }
226809
226809
 
226810
- // packages/config-tools/src/utilities/get-default-config.ts
226811
- import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
226812
- import { join as join3 } from "node:path";
226813
-
226814
226810
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
226815
226811
  var util;
226816
226812
  (function(util3) {
@@ -230726,9 +230722,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
230726
230722
  });
230727
230723
 
230728
230724
  // packages/config/src/schema.ts
230729
- 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");
230725
+ 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");
230730
230726
  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");
230731
230727
  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");
230728
+ 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");
230729
+ 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");
230732
230730
  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");
230733
230731
  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");
230734
230732
  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");
@@ -230740,6 +230738,8 @@ var DarkThemeColorConfigSchema = z2.object({
230740
230738
  foreground: LightColorSchema,
230741
230739
  background: DarkColorSchema,
230742
230740
  brand: BrandColorSchema,
230741
+ brand2: Brand2ColorSchema,
230742
+ brand3: Brand3ColorSchema,
230743
230743
  accent: AccentColorSchema,
230744
230744
  help: HelpColorSchema,
230745
230745
  success: SuccessColorSchema,
@@ -230752,6 +230752,8 @@ var LightThemeColorConfigSchema = z2.object({
230752
230752
  foreground: DarkColorSchema,
230753
230753
  background: LightColorSchema,
230754
230754
  brand: BrandColorSchema,
230755
+ brand2: Brand2ColorSchema,
230756
+ brand3: Brand3ColorSchema,
230755
230757
  accent: AccentColorSchema,
230756
230758
  help: HelpColorSchema,
230757
230759
  success: SuccessColorSchema,
@@ -230768,6 +230770,8 @@ var SingleThemeColorConfigSchema = z2.object({
230768
230770
  dark: DarkColorSchema,
230769
230771
  light: LightColorSchema,
230770
230772
  brand: BrandColorSchema,
230773
+ brand2: Brand2ColorSchema,
230774
+ brand3: Brand3ColorSchema,
230771
230775
  accent: AccentColorSchema,
230772
230776
  help: HelpColorSchema,
230773
230777
  success: SuccessColorSchema,
@@ -230870,11 +230874,15 @@ var COLOR_KEYS = [
230870
230874
  ];
230871
230875
 
230872
230876
  // packages/config-tools/src/utilities/get-default-config.ts
230877
+ import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
230878
+ import { join as join3 } from "node:path";
230873
230879
  var DEFAULT_COLOR_CONFIG = {
230874
230880
  light: {
230875
230881
  background: "#f4f4f5",
230876
230882
  foreground: "#1d232a",
230877
230883
  brand: "#1fb2a6",
230884
+ brand2: "#7434DB",
230885
+ brand3: "#00C2CE",
230878
230886
  help: "#8250df",
230879
230887
  success: "#087f5b",
230880
230888
  info: "#0550ae",
@@ -230882,9 +230890,11 @@ var DEFAULT_COLOR_CONFIG = {
230882
230890
  error: "#a40e26"
230883
230891
  },
230884
230892
  dark: {
230885
- background: "#22272E",
230893
+ background: "#0D1017",
230886
230894
  foreground: "#fcfcf5",
230887
230895
  brand: "#1fb2a6",
230896
+ brand2: "#7434DB",
230897
+ brand3: "#00C2CE",
230888
230898
  help: "#8256D0",
230889
230899
  success: "#087f5b",
230890
230900
  info: "#316DCA",
@@ -231090,7 +231100,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
231090
231100
  console.error(
231091
231101
  `
231092
231102
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
231093
- " \u2718 Error "
231103
+ " \u2718 Error "
231094
231104
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
231095
231105
  `
231096
231106
  );
@@ -231100,7 +231110,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
231100
231110
  return (message) => {
231101
231111
  console.warn(
231102
231112
  `
231103
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")("> ")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
231113
+ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
231104
231114
  " \u26A0 Warn "
231105
231115
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
231106
231116
  `
@@ -231367,6 +231377,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
231367
231377
  dark: process.env[`${prefix}DARK`],
231368
231378
  light: process.env[`${prefix}LIGHT`],
231369
231379
  brand: process.env[`${prefix}BRAND`],
231380
+ brand2: process.env[`${prefix}BRAND2`],
231381
+ brand3: process.env[`${prefix}BRAND3`],
231370
231382
  accent: process.env[`${prefix}ACCENT`],
231371
231383
  help: process.env[`${prefix}HELP`],
231372
231384
  success: process.env[`${prefix}SUCCESS`],
@@ -231389,6 +231401,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
231389
231401
  foreground: process.env[`${prefix}FOREGROUND`],
231390
231402
  background: process.env[`${prefix}BACKGROUND`],
231391
231403
  brand: process.env[`${prefix}BRAND`],
231404
+ brand2: process.env[`${prefix}BRAND2`],
231405
+ brand3: process.env[`${prefix}BRAND3`],
231392
231406
  accent: process.env[`${prefix}ACCENT`],
231393
231407
  help: process.env[`${prefix}HELP`],
231394
231408
  success: process.env[`${prefix}SUCCESS`],
@@ -231585,6 +231599,12 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
231585
231599
  if (config2.brand) {
231586
231600
  process.env[`${prefix}BRAND`] = config2.brand;
231587
231601
  }
231602
+ if (config2.brand2) {
231603
+ process.env[`${prefix}BRAND2`] = config2.brand2;
231604
+ }
231605
+ if (config2.brand3) {
231606
+ process.env[`${prefix}BRAND3`] = config2.brand3;
231607
+ }
231588
231608
  if (config2.accent) {
231589
231609
  process.env[`${prefix}ACCENT`] = config2.accent;
231590
231610
  }
@@ -231623,6 +231643,12 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
231623
231643
  if (config2.brand) {
231624
231644
  process.env[`${prefix}BRAND`] = config2.brand;
231625
231645
  }
231646
+ if (config2.brand2) {
231647
+ process.env[`${prefix}BRAND2`] = config2.brand2;
231648
+ }
231649
+ if (config2.brand3) {
231650
+ process.env[`${prefix}BRAND3`] = config2.brand3;
231651
+ }
231626
231652
  if (config2.accent) {
231627
231653
  process.env[`${prefix}ACCENT`] = config2.accent;
231628
231654
  }
@@ -236208,7 +236234,7 @@ var createRegExp = (sectionName) => {
236208
236234
 
236209
236235
  // packages/git-tools/src/readme/index.ts
236210
236236
  var runReadme = async ({
236211
- templates = "./docs/readme-templates",
236237
+ templates = "./tools/readme-templates",
236212
236238
  project,
236213
236239
  output: output2,
236214
236240
  clean = true,
@@ -237499,7 +237525,7 @@ function createProgram2(config2) {
237499
237525
  const readmeTemplatePath = new Option(
237500
237526
  "--templates <path>",
237501
237527
  "The templates directory to use when generating the README.md files."
237502
- ).default("./docs/readme-templates");
237528
+ ).default("./tools/readme-templates");
237503
237529
  const readmePackageName = new Option(
237504
237530
  "--project <project>",
237505
237531
  "The specific project to generate a README.md file for"
@@ -63041,8 +63041,8 @@ var correctPaths = (path5) => {
63041
63041
  if (!path5) {
63042
63042
  return "";
63043
63043
  }
63044
- if (path5?.toUpperCase()?.startsWith("C:")) {
63045
- return path5.replaceAll("/", "\\");
63044
+ if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
63045
+ path5 = `C:${path5}`;
63046
63046
  }
63047
63047
  return path5.replaceAll("\\", "/");
63048
63048
  };
@@ -63124,10 +63124,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
- // packages/config-tools/src/utilities/get-default-config.ts
63128
- import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
63129
- import { join as join3 } from "node:path";
63130
-
63131
63127
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63132
63128
  var util;
63133
63129
  (function(util2) {
@@ -67043,9 +67039,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
67043
67039
  });
67044
67040
 
67045
67041
  // packages/config/src/schema.ts
67046
- 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");
67042
+ 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");
67047
67043
  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");
67048
67044
  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");
67045
+ 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");
67046
+ 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");
67049
67047
  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");
67050
67048
  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");
67051
67049
  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");
@@ -67057,6 +67055,8 @@ var DarkThemeColorConfigSchema = z2.object({
67057
67055
  foreground: LightColorSchema,
67058
67056
  background: DarkColorSchema,
67059
67057
  brand: BrandColorSchema,
67058
+ brand2: Brand2ColorSchema,
67059
+ brand3: Brand3ColorSchema,
67060
67060
  accent: AccentColorSchema,
67061
67061
  help: HelpColorSchema,
67062
67062
  success: SuccessColorSchema,
@@ -67069,6 +67069,8 @@ var LightThemeColorConfigSchema = z2.object({
67069
67069
  foreground: DarkColorSchema,
67070
67070
  background: LightColorSchema,
67071
67071
  brand: BrandColorSchema,
67072
+ brand2: Brand2ColorSchema,
67073
+ brand3: Brand3ColorSchema,
67072
67074
  accent: AccentColorSchema,
67073
67075
  help: HelpColorSchema,
67074
67076
  success: SuccessColorSchema,
@@ -67085,6 +67087,8 @@ var SingleThemeColorConfigSchema = z2.object({
67085
67087
  dark: DarkColorSchema,
67086
67088
  light: LightColorSchema,
67087
67089
  brand: BrandColorSchema,
67090
+ brand2: Brand2ColorSchema,
67091
+ brand3: Brand3ColorSchema,
67088
67092
  accent: AccentColorSchema,
67089
67093
  help: HelpColorSchema,
67090
67094
  success: SuccessColorSchema,
@@ -67187,11 +67191,15 @@ var COLOR_KEYS = [
67187
67191
  ];
67188
67192
 
67189
67193
  // packages/config-tools/src/utilities/get-default-config.ts
67194
+ import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
67195
+ import { join as join3 } from "node:path";
67190
67196
  var DEFAULT_COLOR_CONFIG = {
67191
67197
  light: {
67192
67198
  background: "#f4f4f5",
67193
67199
  foreground: "#1d232a",
67194
67200
  brand: "#1fb2a6",
67201
+ brand2: "#7434DB",
67202
+ brand3: "#00C2CE",
67195
67203
  help: "#8250df",
67196
67204
  success: "#087f5b",
67197
67205
  info: "#0550ae",
@@ -67199,9 +67207,11 @@ var DEFAULT_COLOR_CONFIG = {
67199
67207
  error: "#a40e26"
67200
67208
  },
67201
67209
  dark: {
67202
- background: "#22272E",
67210
+ background: "#0D1017",
67203
67211
  foreground: "#fcfcf5",
67204
67212
  brand: "#1fb2a6",
67213
+ brand2: "#7434DB",
67214
+ brand3: "#00C2CE",
67205
67215
  help: "#8256D0",
67206
67216
  success: "#087f5b",
67207
67217
  info: "#316DCA",
@@ -67407,7 +67417,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67407
67417
  console.error(
67408
67418
  `
67409
67419
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67410
- " \u2718 Error "
67420
+ " \u2718 Error "
67411
67421
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67412
67422
  `
67413
67423
  );
@@ -67417,7 +67427,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
67417
67427
  return (message) => {
67418
67428
  console.warn(
67419
67429
  `
67420
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")("> ")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67430
+ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67421
67431
  " \u26A0 Warn "
67422
67432
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
67423
67433
  `
@@ -67696,6 +67706,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
67696
67706
  dark: process.env[`${prefix}DARK`],
67697
67707
  light: process.env[`${prefix}LIGHT`],
67698
67708
  brand: process.env[`${prefix}BRAND`],
67709
+ brand2: process.env[`${prefix}BRAND2`],
67710
+ brand3: process.env[`${prefix}BRAND3`],
67699
67711
  accent: process.env[`${prefix}ACCENT`],
67700
67712
  help: process.env[`${prefix}HELP`],
67701
67713
  success: process.env[`${prefix}SUCCESS`],
@@ -67718,6 +67730,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
67718
67730
  foreground: process.env[`${prefix}FOREGROUND`],
67719
67731
  background: process.env[`${prefix}BACKGROUND`],
67720
67732
  brand: process.env[`${prefix}BRAND`],
67733
+ brand2: process.env[`${prefix}BRAND2`],
67734
+ brand3: process.env[`${prefix}BRAND3`],
67721
67735
  accent: process.env[`${prefix}ACCENT`],
67722
67736
  help: process.env[`${prefix}HELP`],
67723
67737
  success: process.env[`${prefix}SUCCESS`],
@@ -67914,6 +67928,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67914
67928
  if (config.brand) {
67915
67929
  process.env[`${prefix}BRAND`] = config.brand;
67916
67930
  }
67931
+ if (config.brand2) {
67932
+ process.env[`${prefix}BRAND2`] = config.brand2;
67933
+ }
67934
+ if (config.brand3) {
67935
+ process.env[`${prefix}BRAND3`] = config.brand3;
67936
+ }
67917
67937
  if (config.accent) {
67918
67938
  process.env[`${prefix}ACCENT`] = config.accent;
67919
67939
  }
@@ -67952,6 +67972,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67952
67972
  if (config.brand) {
67953
67973
  process.env[`${prefix}BRAND`] = config.brand;
67954
67974
  }
67975
+ if (config.brand2) {
67976
+ process.env[`${prefix}BRAND2`] = config.brand2;
67977
+ }
67978
+ if (config.brand3) {
67979
+ process.env[`${prefix}BRAND3`] = config.brand3;
67980
+ }
67955
67981
  if (config.accent) {
67956
67982
  process.env[`${prefix}ACCENT`] = config.accent;
67957
67983
  }
@@ -63041,8 +63041,8 @@ var correctPaths = (path5) => {
63041
63041
  if (!path5) {
63042
63042
  return "";
63043
63043
  }
63044
- if (path5?.toUpperCase()?.startsWith("C:")) {
63045
- return path5.replaceAll("/", "\\");
63044
+ if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
63045
+ path5 = `C:${path5}`;
63046
63046
  }
63047
63047
  return path5.replaceAll("\\", "/");
63048
63048
  };
@@ -63124,10 +63124,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
- // packages/config-tools/src/utilities/get-default-config.ts
63128
- import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
63129
- import { join as join3 } from "node:path";
63130
-
63131
63127
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63132
63128
  var util;
63133
63129
  (function(util2) {
@@ -67043,9 +67039,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
67043
67039
  });
67044
67040
 
67045
67041
  // packages/config/src/schema.ts
67046
- 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");
67042
+ 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");
67047
67043
  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");
67048
67044
  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");
67045
+ 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");
67046
+ 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");
67049
67047
  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");
67050
67048
  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");
67051
67049
  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");
@@ -67057,6 +67055,8 @@ var DarkThemeColorConfigSchema = z2.object({
67057
67055
  foreground: LightColorSchema,
67058
67056
  background: DarkColorSchema,
67059
67057
  brand: BrandColorSchema,
67058
+ brand2: Brand2ColorSchema,
67059
+ brand3: Brand3ColorSchema,
67060
67060
  accent: AccentColorSchema,
67061
67061
  help: HelpColorSchema,
67062
67062
  success: SuccessColorSchema,
@@ -67069,6 +67069,8 @@ var LightThemeColorConfigSchema = z2.object({
67069
67069
  foreground: DarkColorSchema,
67070
67070
  background: LightColorSchema,
67071
67071
  brand: BrandColorSchema,
67072
+ brand2: Brand2ColorSchema,
67073
+ brand3: Brand3ColorSchema,
67072
67074
  accent: AccentColorSchema,
67073
67075
  help: HelpColorSchema,
67074
67076
  success: SuccessColorSchema,
@@ -67085,6 +67087,8 @@ var SingleThemeColorConfigSchema = z2.object({
67085
67087
  dark: DarkColorSchema,
67086
67088
  light: LightColorSchema,
67087
67089
  brand: BrandColorSchema,
67090
+ brand2: Brand2ColorSchema,
67091
+ brand3: Brand3ColorSchema,
67088
67092
  accent: AccentColorSchema,
67089
67093
  help: HelpColorSchema,
67090
67094
  success: SuccessColorSchema,
@@ -67187,11 +67191,15 @@ var COLOR_KEYS = [
67187
67191
  ];
67188
67192
 
67189
67193
  // packages/config-tools/src/utilities/get-default-config.ts
67194
+ import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
67195
+ import { join as join3 } from "node:path";
67190
67196
  var DEFAULT_COLOR_CONFIG = {
67191
67197
  light: {
67192
67198
  background: "#f4f4f5",
67193
67199
  foreground: "#1d232a",
67194
67200
  brand: "#1fb2a6",
67201
+ brand2: "#7434DB",
67202
+ brand3: "#00C2CE",
67195
67203
  help: "#8250df",
67196
67204
  success: "#087f5b",
67197
67205
  info: "#0550ae",
@@ -67199,9 +67207,11 @@ var DEFAULT_COLOR_CONFIG = {
67199
67207
  error: "#a40e26"
67200
67208
  },
67201
67209
  dark: {
67202
- background: "#22272E",
67210
+ background: "#0D1017",
67203
67211
  foreground: "#fcfcf5",
67204
67212
  brand: "#1fb2a6",
67213
+ brand2: "#7434DB",
67214
+ brand3: "#00C2CE",
67205
67215
  help: "#8256D0",
67206
67216
  success: "#087f5b",
67207
67217
  info: "#316DCA",
@@ -67407,7 +67417,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67407
67417
  console.error(
67408
67418
  `
67409
67419
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67410
- " \u2718 Error "
67420
+ " \u2718 Error "
67411
67421
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67412
67422
  `
67413
67423
  );
@@ -67417,7 +67427,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
67417
67427
  return (message) => {
67418
67428
  console.warn(
67419
67429
  `
67420
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")("> ")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67430
+ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67421
67431
  " \u26A0 Warn "
67422
67432
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
67423
67433
  `
@@ -67696,6 +67706,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
67696
67706
  dark: process.env[`${prefix}DARK`],
67697
67707
  light: process.env[`${prefix}LIGHT`],
67698
67708
  brand: process.env[`${prefix}BRAND`],
67709
+ brand2: process.env[`${prefix}BRAND2`],
67710
+ brand3: process.env[`${prefix}BRAND3`],
67699
67711
  accent: process.env[`${prefix}ACCENT`],
67700
67712
  help: process.env[`${prefix}HELP`],
67701
67713
  success: process.env[`${prefix}SUCCESS`],
@@ -67718,6 +67730,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
67718
67730
  foreground: process.env[`${prefix}FOREGROUND`],
67719
67731
  background: process.env[`${prefix}BACKGROUND`],
67720
67732
  brand: process.env[`${prefix}BRAND`],
67733
+ brand2: process.env[`${prefix}BRAND2`],
67734
+ brand3: process.env[`${prefix}BRAND3`],
67721
67735
  accent: process.env[`${prefix}ACCENT`],
67722
67736
  help: process.env[`${prefix}HELP`],
67723
67737
  success: process.env[`${prefix}SUCCESS`],
@@ -67914,6 +67928,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67914
67928
  if (config.brand) {
67915
67929
  process.env[`${prefix}BRAND`] = config.brand;
67916
67930
  }
67931
+ if (config.brand2) {
67932
+ process.env[`${prefix}BRAND2`] = config.brand2;
67933
+ }
67934
+ if (config.brand3) {
67935
+ process.env[`${prefix}BRAND3`] = config.brand3;
67936
+ }
67917
67937
  if (config.accent) {
67918
67938
  process.env[`${prefix}ACCENT`] = config.accent;
67919
67939
  }
@@ -67952,6 +67972,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67952
67972
  if (config.brand) {
67953
67973
  process.env[`${prefix}BRAND`] = config.brand;
67954
67974
  }
67975
+ if (config.brand2) {
67976
+ process.env[`${prefix}BRAND2`] = config.brand2;
67977
+ }
67978
+ if (config.brand3) {
67979
+ process.env[`${prefix}BRAND3`] = config.brand3;
67980
+ }
67955
67981
  if (config.accent) {
67956
67982
  process.env[`${prefix}ACCENT`] = config.accent;
67957
67983
  }
package/bin/post-merge.js CHANGED
@@ -63041,8 +63041,8 @@ var correctPaths = (path5) => {
63041
63041
  if (!path5) {
63042
63042
  return "";
63043
63043
  }
63044
- if (path5?.toUpperCase()?.startsWith("C:")) {
63045
- return path5.replaceAll("/", "\\");
63044
+ if (!path5.toUpperCase().startsWith("C:") && path5.includes("\\")) {
63045
+ path5 = `C:${path5}`;
63046
63046
  }
63047
63047
  return path5.replaceAll("\\", "/");
63048
63048
  };
@@ -63124,10 +63124,6 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
- // packages/config-tools/src/utilities/get-default-config.ts
63128
- import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
63129
- import { join as join3 } from "node:path";
63130
-
63131
63127
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63132
63128
  var util;
63133
63129
  (function(util2) {
@@ -67043,9 +67039,11 @@ var z2 = /* @__PURE__ */ Object.freeze({
67043
67039
  });
67044
67040
 
67045
67041
  // packages/config/src/schema.ts
67046
- 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");
67042
+ 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");
67047
67043
  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");
67048
67044
  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");
67045
+ 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");
67046
+ 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");
67049
67047
  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");
67050
67048
  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");
67051
67049
  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");
@@ -67057,6 +67055,8 @@ var DarkThemeColorConfigSchema = z2.object({
67057
67055
  foreground: LightColorSchema,
67058
67056
  background: DarkColorSchema,
67059
67057
  brand: BrandColorSchema,
67058
+ brand2: Brand2ColorSchema,
67059
+ brand3: Brand3ColorSchema,
67060
67060
  accent: AccentColorSchema,
67061
67061
  help: HelpColorSchema,
67062
67062
  success: SuccessColorSchema,
@@ -67069,6 +67069,8 @@ var LightThemeColorConfigSchema = z2.object({
67069
67069
  foreground: DarkColorSchema,
67070
67070
  background: LightColorSchema,
67071
67071
  brand: BrandColorSchema,
67072
+ brand2: Brand2ColorSchema,
67073
+ brand3: Brand3ColorSchema,
67072
67074
  accent: AccentColorSchema,
67073
67075
  help: HelpColorSchema,
67074
67076
  success: SuccessColorSchema,
@@ -67085,6 +67087,8 @@ var SingleThemeColorConfigSchema = z2.object({
67085
67087
  dark: DarkColorSchema,
67086
67088
  light: LightColorSchema,
67087
67089
  brand: BrandColorSchema,
67090
+ brand2: Brand2ColorSchema,
67091
+ brand3: Brand3ColorSchema,
67088
67092
  accent: AccentColorSchema,
67089
67093
  help: HelpColorSchema,
67090
67094
  success: SuccessColorSchema,
@@ -67187,11 +67191,15 @@ var COLOR_KEYS = [
67187
67191
  ];
67188
67192
 
67189
67193
  // packages/config-tools/src/utilities/get-default-config.ts
67194
+ import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
67195
+ import { join as join3 } from "node:path";
67190
67196
  var DEFAULT_COLOR_CONFIG = {
67191
67197
  light: {
67192
67198
  background: "#f4f4f5",
67193
67199
  foreground: "#1d232a",
67194
67200
  brand: "#1fb2a6",
67201
+ brand2: "#7434DB",
67202
+ brand3: "#00C2CE",
67195
67203
  help: "#8250df",
67196
67204
  success: "#087f5b",
67197
67205
  info: "#0550ae",
@@ -67199,9 +67207,11 @@ var DEFAULT_COLOR_CONFIG = {
67199
67207
  error: "#a40e26"
67200
67208
  },
67201
67209
  dark: {
67202
- background: "#22272E",
67210
+ background: "#0D1017",
67203
67211
  foreground: "#fcfcf5",
67204
67212
  brand: "#1fb2a6",
67213
+ brand2: "#7434DB",
67214
+ brand3: "#00C2CE",
67205
67215
  help: "#8256D0",
67206
67216
  success: "#087f5b",
67207
67217
  info: "#316DCA",
@@ -67407,7 +67417,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
67407
67417
  console.error(
67408
67418
  `
67409
67419
  ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
67410
- " \u2718 Error "
67420
+ " \u2718 Error "
67411
67421
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
67412
67422
  `
67413
67423
  );
@@ -67417,7 +67427,7 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.er
67417
67427
  return (message) => {
67418
67428
  console.warn(
67419
67429
  `
67420
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")("> ")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67430
+ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
67421
67431
  " \u26A0 Warn "
67422
67432
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
67423
67433
  `
@@ -67696,6 +67706,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
67696
67706
  dark: process.env[`${prefix}DARK`],
67697
67707
  light: process.env[`${prefix}LIGHT`],
67698
67708
  brand: process.env[`${prefix}BRAND`],
67709
+ brand2: process.env[`${prefix}BRAND2`],
67710
+ brand3: process.env[`${prefix}BRAND3`],
67699
67711
  accent: process.env[`${prefix}ACCENT`],
67700
67712
  help: process.env[`${prefix}HELP`],
67701
67713
  success: process.env[`${prefix}SUCCESS`],
@@ -67718,6 +67730,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
67718
67730
  foreground: process.env[`${prefix}FOREGROUND`],
67719
67731
  background: process.env[`${prefix}BACKGROUND`],
67720
67732
  brand: process.env[`${prefix}BRAND`],
67733
+ brand2: process.env[`${prefix}BRAND2`],
67734
+ brand3: process.env[`${prefix}BRAND3`],
67721
67735
  accent: process.env[`${prefix}ACCENT`],
67722
67736
  help: process.env[`${prefix}HELP`],
67723
67737
  success: process.env[`${prefix}SUCCESS`],
@@ -67914,6 +67928,12 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
67914
67928
  if (config.brand) {
67915
67929
  process.env[`${prefix}BRAND`] = config.brand;
67916
67930
  }
67931
+ if (config.brand2) {
67932
+ process.env[`${prefix}BRAND2`] = config.brand2;
67933
+ }
67934
+ if (config.brand3) {
67935
+ process.env[`${prefix}BRAND3`] = config.brand3;
67936
+ }
67917
67937
  if (config.accent) {
67918
67938
  process.env[`${prefix}ACCENT`] = config.accent;
67919
67939
  }
@@ -67952,6 +67972,12 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67952
67972
  if (config.brand) {
67953
67973
  process.env[`${prefix}BRAND`] = config.brand;
67954
67974
  }
67975
+ if (config.brand2) {
67976
+ process.env[`${prefix}BRAND2`] = config.brand2;
67977
+ }
67978
+ if (config.brand3) {
67979
+ process.env[`${prefix}BRAND3`] = config.brand3;
67980
+ }
67955
67981
  if (config.accent) {
67956
67982
  process.env[`${prefix}ACCENT`] = config.accent;
67957
67983
  }