@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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 2.54.0 (2024-09-01)
2
+
3
+
4
+ ### Features
5
+
6
+ - **workspace-tools:** Added the `noDeps` flag to the cargo-doc executor options ([82eeb944](https://github.com/storm-software/storm-ops/commit/82eeb944))
7
+
8
+ ## 2.53.0 (2024-08-03)
9
+
10
+
11
+ ### Features
12
+
13
+ - **eslint:** Ignore `prefer-nullish-coalescing` for strings ([dbae2a58](https://github.com/storm-software/storm-ops/commit/dbae2a58))
14
+
1
15
  ## 2.52.0 (2024-08-03)
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-2.51.1-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.53.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
@@ -226807,6 +226807,35 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
226807
226807
  return result2;
226808
226808
  }
226809
226809
 
226810
+ // packages/config-tools/src/utilities/chalk.ts
226811
+ var import_chalk = __toESM(require_source());
226812
+ var chalkDefault = {
226813
+ hex: (_15) => (message) => message,
226814
+ bgHex: (_15) => ({
226815
+ whiteBright: (message) => message
226816
+ }),
226817
+ whiteBright: (message) => message,
226818
+ bold: {
226819
+ hex: (_15) => (message) => message,
226820
+ bgHex: (_15) => ({
226821
+ whiteBright: (message) => message
226822
+ }),
226823
+ whiteBright: (message) => message
226824
+ }
226825
+ };
226826
+ var getChalk = () => {
226827
+ let _chalk = import_chalk.default;
226828
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
226829
+ _chalk = chalkDefault;
226830
+ }
226831
+ return _chalk;
226832
+ };
226833
+
226834
+ // packages/config/src/constants.ts
226835
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
226836
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
226837
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
226838
+
226810
226839
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
226811
226840
  var util;
226812
226841
  (function(util3) {
@@ -230724,7 +230753,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
230724
230753
  // packages/config/src/schema.ts
230725
230754
  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");
230726
230755
  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");
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");
230756
+ 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");
230728
230757
  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
230758
  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");
230730
230759
  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");
@@ -230807,8 +230836,10 @@ var StormConfigSchema = z2.object({
230807
230836
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
230808
230837
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
230809
230838
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
230810
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
230811
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
230839
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
230840
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
230841
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
230842
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
230812
230843
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
230813
230844
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
230814
230845
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -230967,6 +230998,8 @@ var getDefaultConfig = (config2 = {}, root3) => {
230967
230998
  repository,
230968
230999
  license: license ?? DEFAULT_STORM_CONFIG.license,
230969
231000
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
231001
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
231002
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
230970
231003
  extensions: {
230971
231004
  ...config2.extensions
230972
231005
  }
@@ -231047,30 +231080,6 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
231047
231080
  return LogLevelLabel.INFO;
231048
231081
  };
231049
231082
 
231050
- // packages/config-tools/src/utilities/chalk.ts
231051
- var import_chalk = __toESM(require_source());
231052
- var chalkDefault = {
231053
- hex: (_15) => (message) => message,
231054
- bgHex: (_15) => ({
231055
- whiteBright: (message) => message
231056
- }),
231057
- whiteBright: (message) => message,
231058
- bold: {
231059
- hex: (_15) => (message) => message,
231060
- bgHex: (_15) => ({
231061
- whiteBright: (message) => message
231062
- }),
231063
- whiteBright: (message) => message
231064
- }
231065
- };
231066
- var getChalk = () => {
231067
- let _chalk = import_chalk.default;
231068
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
231069
- _chalk = chalkDefault;
231070
- }
231071
- return _chalk;
231072
- };
231073
-
231074
231083
  // packages/config-tools/src/utilities/logger.ts
231075
231084
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
231076
231085
  let _chalk = getChalk();
@@ -231309,6 +231318,8 @@ var getConfigEnv = () => {
231309
231318
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
231310
231319
  license: process.env[`${prefix}LICENSE`],
231311
231320
  homepage: process.env[`${prefix}HOMEPAGE`],
231321
+ docs: process.env[`${prefix}DOCS`],
231322
+ licensing: process.env[`${prefix}LICENSING`],
231312
231323
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
231313
231324
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
231314
231325
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -231357,6 +231368,20 @@ var getConfigEnv = () => {
231357
231368
  },
231358
231369
  {}
231359
231370
  ) : getThemeColorConfigEnv(prefix);
231371
+ if (config2.docs === STORM_DEFAULT_DOCS) {
231372
+ if (config2.homepage === STORM_DEFAULT_HOMEPAGE) {
231373
+ config2.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config2.name}/docs`;
231374
+ } else {
231375
+ config2.docs = `${config2.homepage}/docs`;
231376
+ }
231377
+ }
231378
+ if (config2.licensing === STORM_DEFAULT_LICENSING) {
231379
+ if (config2.homepage === STORM_DEFAULT_HOMEPAGE) {
231380
+ config2.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config2.name}/licensing`;
231381
+ } else {
231382
+ config2.licensing = `${config2.homepage}/docs`;
231383
+ }
231384
+ }
231360
231385
  const serializedConfig = process.env[`${prefix}CONFIG`];
231361
231386
  if (serializedConfig) {
231362
231387
  const parsed = JSON.parse(serializedConfig);
@@ -231466,6 +231491,12 @@ var setConfigEnv = (config2) => {
231466
231491
  if (config2.homepage) {
231467
231492
  process.env[`${prefix}HOMEPAGE`] = config2.homepage;
231468
231493
  }
231494
+ if (config2.docs) {
231495
+ process.env[`${prefix}DOCS`] = config2.docs;
231496
+ }
231497
+ if (config2.licensing) {
231498
+ process.env[`${prefix}LICENSING`] = config2.licensing;
231499
+ }
231469
231500
  if (config2.timezone) {
231470
231501
  process.env[`${prefix}TIMEZONE`] = config2.timezone;
231471
231502
  process.env.TZ = config2.timezone;
@@ -232130,7 +232161,7 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
232130
232161
  answers: {}
232131
232162
  };
232132
232163
  } else {
232133
- writeInfo({}, `Using custom commit config file: ${commitConfig}`);
232164
+ writeInfo(`Using custom commit config file: ${commitConfig}`);
232134
232165
  let config2 = (await import(commitConfig))?.default;
232135
232166
  if (config2?.default) {
232136
232167
  config2 = config2?.default;
@@ -232155,22 +232186,24 @@ var createState = async (commitConfig = "@storm-software/git-tools/src/commit/co
232155
232186
  answers: {}
232156
232187
  };
232157
232188
  }
232158
- state.config.questions.type.enum = Object.keys(config_default.types).map(
232159
- (key2) => {
232160
- let name = key2;
232161
- let description = void 0;
232162
- const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
232163
- if (type2) {
232164
- name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
232165
- description = type2.description;
232166
- }
232167
- return { name, value: key2, description };
232189
+ state.config.questions.type.enum = Object.keys(
232190
+ config_default.types
232191
+ ).map((key2) => {
232192
+ let name = key2;
232193
+ let description = void 0;
232194
+ const type2 = key2 in config_default3.types ? config_default3.types?.[key2] : void 0;
232195
+ if (type2) {
232196
+ name = `${key2} - ${type2.title} ${type2.emoji} ${type2.description ? type2.description : ""}`;
232197
+ description = type2.description;
232168
232198
  }
232199
+ return { name, value: key2, description };
232200
+ });
232201
+ state.config.questions.scope.enum = (await getScopeEnum({})).map(
232202
+ (scope) => ({
232203
+ name: scope,
232204
+ value: scope
232205
+ })
232169
232206
  );
232170
- state.config.questions.scope.enum = (await getScopeEnum({})).map((scope) => ({
232171
- name: scope,
232172
- value: scope
232173
- }));
232174
232207
  state.answers = Object.keys(state.config.questions).reduce(
232175
232208
  (ret, key2) => {
232176
232209
  ret[key2] = "";
@@ -232231,7 +232264,12 @@ var runCommit = async (commitConfig = "@storm-software/git-tools/commit/config.j
232231
232264
  const message = formatCommitMessage(await commitPrompt(state));
232232
232265
  const commitMsgFile = join4(getGitDir(), "COMMIT_EDITMSG");
232233
232266
  const shellescape = await Promise.resolve().then(() => __toESM(require_shell_escape(), 1));
232234
- const command = shellescape.default(["git", "commit", "--file", commitMsgFile]);
232267
+ const command = shellescape.default([
232268
+ "git",
232269
+ "commit",
232270
+ "--file",
232271
+ commitMsgFile
232272
+ ]);
232235
232273
  if (dryRun) {
232236
232274
  console.log("Will execute command:");
232237
232275
  console.log(command.replace(commitMsgFile, ".git/COMMIT_EDITMSG"));
@@ -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();
@@ -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;