@storm-software/git-tools 2.52.0 → 2.54.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/bin/prepare.js CHANGED
@@ -63124,6 +63124,35 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63151
+ // packages/config/src/constants.ts
63152
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63153
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63154
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63155
+
63127
63156
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63157
  var util;
63129
63158
  (function(util2) {
@@ -67041,7 +67070,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67070
  // packages/config/src/schema.ts
67042
67071
  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");
67043
67072
  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");
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");
67073
+ 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");
67045
67074
  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
67075
  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");
67047
67076
  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");
@@ -67124,8 +67153,10 @@ var StormConfigSchema = z2.object({
67124
67153
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67154
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67155
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
67127
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
67128
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
67156
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67157
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67158
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67159
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67160
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67161
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67162
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67315,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67315
  repository,
67285
67316
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67317
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67318
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67319
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67320
  extensions: {
67288
67321
  ...config.extensions
67289
67322
  }
@@ -67364,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67364
67397
  return LogLevelLabel.INFO;
67365
67398
  };
67366
67399
 
67367
- // packages/config-tools/src/utilities/chalk.ts
67368
- var import_chalk = __toESM(require_source());
67369
- var chalkDefault = {
67370
- hex: (_6) => (message) => message,
67371
- bgHex: (_6) => ({
67372
- whiteBright: (message) => message
67373
- }),
67374
- whiteBright: (message) => message,
67375
- bold: {
67376
- hex: (_6) => (message) => message,
67377
- bgHex: (_6) => ({
67378
- whiteBright: (message) => message
67379
- }),
67380
- whiteBright: (message) => message
67381
- }
67382
- };
67383
- var getChalk = () => {
67384
- let _chalk = import_chalk.default;
67385
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67386
- _chalk = chalkDefault;
67387
- }
67388
- return _chalk;
67389
- };
67390
-
67391
67400
  // packages/config-tools/src/utilities/logger.ts
67392
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67393
67402
  let _chalk = getChalk();
@@ -67548,6 +67557,7 @@ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio
67548
67557
  CLICOLOR: "true",
67549
67558
  FORCE_COLOR: "true"
67550
67559
  },
67560
+ windowsHide: true,
67551
67561
  stdio,
67552
67562
  maxBuffer: LARGE_BUFFER,
67553
67563
  killSignal: "SIGTERM"
@@ -67640,6 +67650,8 @@ var getConfigEnv = () => {
67640
67650
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67641
67651
  license: process.env[`${prefix}LICENSE`],
67642
67652
  homepage: process.env[`${prefix}HOMEPAGE`],
67653
+ docs: process.env[`${prefix}DOCS`],
67654
+ licensing: process.env[`${prefix}LICENSING`],
67643
67655
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67644
67656
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67645
67657
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67688,6 +67700,20 @@ var getConfigEnv = () => {
67688
67700
  },
67689
67701
  {}
67690
67702
  ) : getThemeColorConfigEnv(prefix);
67703
+ if (config.docs === STORM_DEFAULT_DOCS) {
67704
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67705
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67706
+ } else {
67707
+ config.docs = `${config.homepage}/docs`;
67708
+ }
67709
+ }
67710
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67711
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67712
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67713
+ } else {
67714
+ config.licensing = `${config.homepage}/docs`;
67715
+ }
67716
+ }
67691
67717
  const serializedConfig = process.env[`${prefix}CONFIG`];
67692
67718
  if (serializedConfig) {
67693
67719
  const parsed = JSON.parse(serializedConfig);
@@ -67797,6 +67823,12 @@ var setConfigEnv = (config) => {
67797
67823
  if (config.homepage) {
67798
67824
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67799
67825
  }
67826
+ if (config.docs) {
67827
+ process.env[`${prefix}DOCS`] = config.docs;
67828
+ }
67829
+ if (config.licensing) {
67830
+ process.env[`${prefix}LICENSING`] = config.licensing;
67831
+ }
67800
67832
  if (config.timezone) {
67801
67833
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67802
67834
  process.env.TZ = config.timezone;
@@ -63124,6 +63124,35 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config-tools/src/utilities/chalk.ts
63128
+ var import_chalk = __toESM(require_source());
63129
+ var chalkDefault = {
63130
+ hex: (_6) => (message) => message,
63131
+ bgHex: (_6) => ({
63132
+ whiteBright: (message) => message
63133
+ }),
63134
+ whiteBright: (message) => message,
63135
+ bold: {
63136
+ hex: (_6) => (message) => message,
63137
+ bgHex: (_6) => ({
63138
+ whiteBright: (message) => message
63139
+ }),
63140
+ whiteBright: (message) => message
63141
+ }
63142
+ };
63143
+ var getChalk = () => {
63144
+ let _chalk = import_chalk.default;
63145
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
63146
+ _chalk = chalkDefault;
63147
+ }
63148
+ return _chalk;
63149
+ };
63150
+
63151
+ // packages/config/src/constants.ts
63152
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63153
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63154
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63155
+
63127
63156
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63157
  var util;
63129
63158
  (function(util2) {
@@ -67041,7 +67070,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67070
  // packages/config/src/schema.ts
67042
67071
  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");
67043
67072
  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");
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");
67073
+ 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");
67045
67074
  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
67075
  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");
67047
67076
  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");
@@ -67124,8 +67153,10 @@ var StormConfigSchema = z2.object({
67124
67153
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67154
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67155
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
67127
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
67128
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
67156
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67157
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67158
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67159
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67160
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67161
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67162
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67315,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67315
  repository,
67285
67316
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67317
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67318
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67319
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67320
  extensions: {
67288
67321
  ...config.extensions
67289
67322
  }
@@ -67364,30 +67397,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
67364
67397
  return LogLevelLabel.INFO;
67365
67398
  };
67366
67399
 
67367
- // packages/config-tools/src/utilities/chalk.ts
67368
- var import_chalk = __toESM(require_source());
67369
- var chalkDefault = {
67370
- hex: (_6) => (message) => message,
67371
- bgHex: (_6) => ({
67372
- whiteBright: (message) => message
67373
- }),
67374
- whiteBright: (message) => message,
67375
- bold: {
67376
- hex: (_6) => (message) => message,
67377
- bgHex: (_6) => ({
67378
- whiteBright: (message) => message
67379
- }),
67380
- whiteBright: (message) => message
67381
- }
67382
- };
67383
- var getChalk = () => {
67384
- let _chalk = import_chalk.default;
67385
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
67386
- _chalk = chalkDefault;
67387
- }
67388
- return _chalk;
67389
- };
67390
-
67391
67400
  // packages/config-tools/src/utilities/logger.ts
67392
67401
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
67393
67402
  let _chalk = getChalk();
@@ -67620,6 +67629,8 @@ var getConfigEnv = () => {
67620
67629
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67621
67630
  license: process.env[`${prefix}LICENSE`],
67622
67631
  homepage: process.env[`${prefix}HOMEPAGE`],
67632
+ docs: process.env[`${prefix}DOCS`],
67633
+ licensing: process.env[`${prefix}LICENSING`],
67623
67634
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67624
67635
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67625
67636
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67668,6 +67679,20 @@ var getConfigEnv = () => {
67668
67679
  },
67669
67680
  {}
67670
67681
  ) : getThemeColorConfigEnv(prefix);
67682
+ if (config.docs === STORM_DEFAULT_DOCS) {
67683
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67684
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67685
+ } else {
67686
+ config.docs = `${config.homepage}/docs`;
67687
+ }
67688
+ }
67689
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67690
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67691
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67692
+ } else {
67693
+ config.licensing = `${config.homepage}/docs`;
67694
+ }
67695
+ }
67671
67696
  const serializedConfig = process.env[`${prefix}CONFIG`];
67672
67697
  if (serializedConfig) {
67673
67698
  const parsed = JSON.parse(serializedConfig);
@@ -67777,6 +67802,12 @@ var setConfigEnv = (config) => {
67777
67802
  if (config.homepage) {
67778
67803
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67779
67804
  }
67805
+ if (config.docs) {
67806
+ process.env[`${prefix}DOCS`] = config.docs;
67807
+ }
67808
+ if (config.licensing) {
67809
+ process.env[`${prefix}LICENSING`] = config.licensing;
67810
+ }
67780
67811
  if (config.timezone) {
67781
67812
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67782
67813
  process.env.TZ = config.timezone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.52.0",
3
+ "version": "2.54.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing various git tools used in Storm workspaces.",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "htmlparser2": "9.1.0",
71
71
  "inquirer": "9.2.23",
72
72
  "jsonc-parser": "3.2.1",
73
- "nx": "^19.5.3",
73
+ "nx": "^19.6.2",
74
74
  "prettier": "3.3.2",
75
75
  "semver": "7.6.2",
76
76
  "tsconfig-paths": "4.2.0",
package/src/cli/index.js CHANGED
@@ -222645,6 +222645,35 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
222645
222645
  return result2;
222646
222646
  }
222647
222647
 
222648
+ // packages/config-tools/src/utilities/chalk.ts
222649
+ var import_chalk = __toESM(require_source());
222650
+ var chalkDefault = {
222651
+ hex: (_15) => (message) => message,
222652
+ bgHex: (_15) => ({
222653
+ whiteBright: (message) => message
222654
+ }),
222655
+ whiteBright: (message) => message,
222656
+ bold: {
222657
+ hex: (_15) => (message) => message,
222658
+ bgHex: (_15) => ({
222659
+ whiteBright: (message) => message
222660
+ }),
222661
+ whiteBright: (message) => message
222662
+ }
222663
+ };
222664
+ var getChalk = () => {
222665
+ let _chalk = import_chalk.default;
222666
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
222667
+ _chalk = chalkDefault;
222668
+ }
222669
+ return _chalk;
222670
+ };
222671
+
222672
+ // packages/config/src/constants.ts
222673
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
222674
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
222675
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
222676
+
222648
222677
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
222649
222678
  var util;
222650
222679
  (function(util3) {
@@ -226562,7 +226591,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
226562
226591
  // packages/config/src/schema.ts
226563
226592
  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");
226564
226593
  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");
226565
- 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");
226594
+ 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");
226566
226595
  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");
226567
226596
  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");
226568
226597
  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");
@@ -226645,8 +226674,10 @@ var StormConfigSchema = z2.object({
226645
226674
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
226646
226675
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
226647
226676
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
226648
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
226649
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
226677
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
226678
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
226679
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
226680
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
226650
226681
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
226651
226682
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
226652
226683
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -226805,6 +226836,8 @@ var getDefaultConfig = (config2 = {}, root3) => {
226805
226836
  repository,
226806
226837
  license: license ?? DEFAULT_STORM_CONFIG.license,
226807
226838
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
226839
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
226840
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
226808
226841
  extensions: {
226809
226842
  ...config2.extensions
226810
226843
  }
@@ -226885,30 +226918,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
226885
226918
  return LogLevelLabel.INFO;
226886
226919
  };
226887
226920
 
226888
- // packages/config-tools/src/utilities/chalk.ts
226889
- var import_chalk = __toESM(require_source());
226890
- var chalkDefault = {
226891
- hex: (_15) => (message) => message,
226892
- bgHex: (_15) => ({
226893
- whiteBright: (message) => message
226894
- }),
226895
- whiteBright: (message) => message,
226896
- bold: {
226897
- hex: (_15) => (message) => message,
226898
- bgHex: (_15) => ({
226899
- whiteBright: (message) => message
226900
- }),
226901
- whiteBright: (message) => message
226902
- }
226903
- };
226904
- var getChalk = () => {
226905
- let _chalk = import_chalk.default;
226906
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
226907
- _chalk = chalkDefault;
226908
- }
226909
- return _chalk;
226910
- };
226911
-
226912
226921
  // packages/config-tools/src/utilities/logger.ts
226913
226922
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
226914
226923
  let _chalk = getChalk();
@@ -227104,6 +227113,8 @@ var getConfigEnv = () => {
227104
227113
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
227105
227114
  license: process.env[`${prefix}LICENSE`],
227106
227115
  homepage: process.env[`${prefix}HOMEPAGE`],
227116
+ docs: process.env[`${prefix}DOCS`],
227117
+ licensing: process.env[`${prefix}LICENSING`],
227107
227118
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
227108
227119
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
227109
227120
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -227152,6 +227163,20 @@ var getConfigEnv = () => {
227152
227163
  },
227153
227164
  {}
227154
227165
  ) : getThemeColorConfigEnv(prefix);
227166
+ if (config2.docs === STORM_DEFAULT_DOCS) {
227167
+ if (config2.homepage === STORM_DEFAULT_HOMEPAGE) {
227168
+ config2.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config2.name}/docs`;
227169
+ } else {
227170
+ config2.docs = `${config2.homepage}/docs`;
227171
+ }
227172
+ }
227173
+ if (config2.licensing === STORM_DEFAULT_LICENSING) {
227174
+ if (config2.homepage === STORM_DEFAULT_HOMEPAGE) {
227175
+ config2.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config2.name}/licensing`;
227176
+ } else {
227177
+ config2.licensing = `${config2.homepage}/docs`;
227178
+ }
227179
+ }
227155
227180
  const serializedConfig = process.env[`${prefix}CONFIG`];
227156
227181
  if (serializedConfig) {
227157
227182
  const parsed = JSON.parse(serializedConfig);
@@ -227261,6 +227286,12 @@ var setConfigEnv = (config2) => {
227261
227286
  if (config2.homepage) {
227262
227287
  process.env[`${prefix}HOMEPAGE`] = config2.homepage;
227263
227288
  }
227289
+ if (config2.docs) {
227290
+ process.env[`${prefix}DOCS`] = config2.docs;
227291
+ }
227292
+ if (config2.licensing) {
227293
+ process.env[`${prefix}LICENSING`] = config2.licensing;
227294
+ }
227264
227295
  if (config2.timezone) {
227265
227296
  process.env[`${prefix}TIMEZONE`] = config2.timezone;
227266
227297
  process.env.TZ = config2.timezone;
@@ -227920,7 +227951,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
227920
227951
  answers: {}
227921
227952
  };
227922
227953
  } else {
227923
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
227954
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
227924
227955
  let config2 = (await import(commitConfig))?.default;
227925
227956
  if (config2?.default) {
227926
227957
  config2 = config2?.default;
@@ -227945,22 +227976,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
227945
227976
  answers: {}
227946
227977
  };
227947
227978
  }
227948
- state.config.questions.type.enum = Object.keys(config_default.types).map(
227949
- (key2) => {
227950
- let name = key2;
227951
- let description = void 0;
227952
- const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
227953
- if (type2) {
227954
- name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
227955
- description = type2.description;
227956
- }
227957
- return { name, value: key2, description };
227979
+ state.config.questions.type.enum = Object.keys(
227980
+ config_default.types
227981
+ ).map((key2) => {
227982
+ let name = key2;
227983
+ let description = void 0;
227984
+ const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
227985
+ if (type2) {
227986
+ name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
227987
+ description = type2.description;
227958
227988
  }
227989
+ return { name, value: key2, description };
227990
+ });
227991
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
227992
+ (scope) => ({
227993
+ name: scope,
227994
+ value: scope
227995
+ })
227959
227996
  );
227960
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
227961
- name: scope,
227962
- value: scope
227963
- }));
227964
227997
  state.answers = Object.keys(state.config.questions).reduce(
227965
227998
  (ret, key2) => {
227966
227999
  ret[key2] = "";
@@ -228021,7 +228054,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
228021
228054
  const message = formatCommitMessage(await commitPrompt(state));
228022
228055
  const commitMsgFile = join4(getGitDir(), "COMMIT_EDITMSG");
228023
228056
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
228024
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
228057
+ const command = shellescape.default([
228058
+ "git",
228059
+ "commit",
228060
+ "--file",
228061
+ commitMsgFile
228062
+ ]);
228025
228063
  if (dryRun) {
228026
228064
  console.log("Will execute command:");
228027
228065
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));
@@ -33365,12 +33365,38 @@ var commitPrompt = async (state) => {
33365
33365
  return state;
33366
33366
  };
33367
33367
 
33368
- // packages/git-tools/src/commitizen/commit-state.ts
33369
- import { execSync } from "node:child_process";
33370
-
33371
33368
  // packages/config-tools/src/config-file/get-config-file.ts
33372
33369
  var import_deepmerge = __toESM(require_cjs2());
33373
33370
 
33371
+ // packages/config-tools/src/utilities/chalk.ts
33372
+ var import_chalk12 = __toESM(require_source());
33373
+ var chalkDefault = {
33374
+ hex: (_3) => (message) => message,
33375
+ bgHex: (_3) => ({
33376
+ whiteBright: (message) => message
33377
+ }),
33378
+ whiteBright: (message) => message,
33379
+ bold: {
33380
+ hex: (_3) => (message) => message,
33381
+ bgHex: (_3) => ({
33382
+ whiteBright: (message) => message
33383
+ }),
33384
+ whiteBright: (message) => message
33385
+ }
33386
+ };
33387
+ var getChalk = () => {
33388
+ let _chalk = import_chalk12.default;
33389
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
33390
+ _chalk = chalkDefault;
33391
+ }
33392
+ return _chalk;
33393
+ };
33394
+
33395
+ // packages/config/src/constants.ts
33396
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
33397
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
33398
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
33399
+
33374
33400
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
33375
33401
  var util;
33376
33402
  (function(util2) {
@@ -37288,7 +37314,7 @@ var z = /* @__PURE__ */ Object.freeze({
37288
37314
  // packages/config/src/schema.ts
37289
37315
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
37290
37316
  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");
37291
- 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");
37317
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
37292
37318
  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");
37293
37319
  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");
37294
37320
  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");
@@ -37371,8 +37397,10 @@ var StormConfigSchema = z.object({
37371
37397
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
37372
37398
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
37373
37399
  repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
37374
- license: z.string().trim().default("Apache 2.0").describe("The root directory of the package"),
37375
- homepage: z.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
37400
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
37401
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
37402
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
37403
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
37376
37404
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
37377
37405
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
37378
37406
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -37516,30 +37544,6 @@ var getLogLevel = (label) => {
37516
37544
  }
37517
37545
  };
37518
37546
 
37519
- // packages/config-tools/src/utilities/chalk.ts
37520
- var import_chalk12 = __toESM(require_source());
37521
- var chalkDefault = {
37522
- hex: (_3) => (message) => message,
37523
- bgHex: (_3) => ({
37524
- whiteBright: (message) => message
37525
- }),
37526
- whiteBright: (message) => message,
37527
- bold: {
37528
- hex: (_3) => (message) => message,
37529
- bgHex: (_3) => ({
37530
- whiteBright: (message) => message
37531
- }),
37532
- whiteBright: (message) => message
37533
- }
37534
- };
37535
- var getChalk = () => {
37536
- let _chalk = import_chalk12.default;
37537
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
37538
- _chalk = chalkDefault;
37539
- }
37540
- return _chalk;
37541
- };
37542
-
37543
37547
  // packages/config-tools/src/utilities/logger.ts
37544
37548
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
37545
37549
  let _chalk = getChalk();
@@ -37646,6 +37650,9 @@ var LARGE_BUFFER = 1024 * 1e6;
37646
37650
  // packages/config-tools/src/create-storm-config.ts
37647
37651
  var import_deepmerge2 = __toESM(require_cjs2());
37648
37652
 
37653
+ // packages/git-tools/src/commitizen/commit-state.ts
37654
+ import { execSync } from "node:child_process";
37655
+
37649
37656
  // packages/git-tools/src/types.ts
37650
37657
  var CommitQuestionsKeys = [
37651
37658
  "type",
@@ -37973,7 +37980,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
37973
37980
  answers: {}
37974
37981
  };
37975
37982
  } else {
37976
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
37983
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
37977
37984
  let config2 = (await import(commitConfig))?.default;
37978
37985
  if (config2?.default) {
37979
37986
  config2 = config2?.default;
@@ -37998,22 +38005,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
37998
38005
  answers: {}
37999
38006
  };
38000
38007
  }
38001
- state.config.questions.type.enum = Object.keys(config_default.types).map(
38002
- (key) => {
38003
- let name = key;
38004
- let description = void 0;
38005
- const type = key in config_default3.types ? config_default3.types?.[key] : void 0;
38006
- if (type) {
38007
- name = `${key} - ${type.title} ${type.emoji} ${type.description ? type.description : ""}`;
38008
- description = type.description;
38009
- }
38010
- return { name, value: key, description };
38008
+ state.config.questions.type.enum = Object.keys(
38009
+ config_default.types
38010
+ ).map((key) => {
38011
+ let name = key;
38012
+ let description = void 0;
38013
+ const type = key in config_default3.types ? config_default3.types?.[key] : void 0;
38014
+ if (type) {
38015
+ name = `${key} - ${type.title} ${type.emoji} ${type.description ? type.description : ""}`;
38016
+ description = type.description;
38011
38017
  }
38018
+ return { name, value: key, description };
38019
+ });
38020
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
38021
+ (scope) => ({
38022
+ name: scope,
38023
+ value: scope
38024
+ })
38012
38025
  );
38013
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
38014
- name: scope,
38015
- value: scope
38016
- }));
38017
38026
  state.answers = Object.keys(state.config.questions).reduce(
38018
38027
  (ret, key) => {
38019
38028
  ret[key] = "";
@@ -38074,7 +38083,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
38074
38083
  const message = formatCommitMessage(await commitPrompt(state));
38075
38084
  const commitMsgFile = join(getGitDir(), "COMMIT_EDITMSG");
38076
38085
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
38077
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
38086
+ const command = shellescape.default([
38087
+ "git",
38088
+ "commit",
38089
+ "--file",
38090
+ commitMsgFile
38091
+ ]);
38078
38092
  if (dryRun) {
38079
38093
  console.log("Will execute command:");
38080
38094
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));