@storm-software/git-tools 2.52.0 → 2.53.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,10 @@
1
+ ## 2.53.0 (2024-08-03)
2
+
3
+
4
+ ### Features
5
+
6
+ - **eslint:** Ignore `prefer-nullish-coalescing` for strings ([dbae2a58](https://github.com/storm-software/storm-ops/commit/dbae2a58))
7
+
1
8
  ## 2.52.0 (2024-08-03)
2
9
 
3
10
 
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,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
226807
226807
  return result2;
226808
226808
  }
226809
226809
 
226810
+ // packages/config/src/constants.ts
226811
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
226812
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
226813
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
226814
+
226810
226815
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
226811
226816
  var util;
226812
226817
  (function(util3) {
@@ -230724,7 +230729,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
230724
230729
  // packages/config/src/schema.ts
230725
230730
  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
230731
  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");
230732
+ 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
230733
  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
230734
  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
230735
  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 +230812,10 @@ var StormConfigSchema = z2.object({
230807
230812
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
230808
230813
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
230809
230814
  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"),
230815
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
230816
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
230817
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
230818
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
230812
230819
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
230813
230820
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
230814
230821
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -230967,6 +230974,8 @@ var getDefaultConfig = (config2 = {}, root3) => {
230967
230974
  repository,
230968
230975
  license: license ?? DEFAULT_STORM_CONFIG.license,
230969
230976
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
230977
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
230978
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
230970
230979
  extensions: {
230971
230980
  ...config2.extensions
230972
230981
  }
@@ -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;
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -67640,6 +67649,8 @@ var getConfigEnv = () => {
67640
67649
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67641
67650
  license: process.env[`${prefix}LICENSE`],
67642
67651
  homepage: process.env[`${prefix}HOMEPAGE`],
67652
+ docs: process.env[`${prefix}DOCS`],
67653
+ licensing: process.env[`${prefix}LICENSING`],
67643
67654
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67644
67655
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67645
67656
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67688,6 +67699,20 @@ var getConfigEnv = () => {
67688
67699
  },
67689
67700
  {}
67690
67701
  ) : getThemeColorConfigEnv(prefix);
67702
+ if (config.docs === STORM_DEFAULT_DOCS) {
67703
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67704
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67705
+ } else {
67706
+ config.docs = `${config.homepage}/docs`;
67707
+ }
67708
+ }
67709
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67710
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67711
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67712
+ } else {
67713
+ config.licensing = `${config.homepage}/docs`;
67714
+ }
67715
+ }
67691
67716
  const serializedConfig = process.env[`${prefix}CONFIG`];
67692
67717
  if (serializedConfig) {
67693
67718
  const parsed = JSON.parse(serializedConfig);
@@ -67797,6 +67822,12 @@ var setConfigEnv = (config) => {
67797
67822
  if (config.homepage) {
67798
67823
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67799
67824
  }
67825
+ if (config.docs) {
67826
+ process.env[`${prefix}DOCS`] = config.docs;
67827
+ }
67828
+ if (config.licensing) {
67829
+ process.env[`${prefix}LICENSING`] = config.licensing;
67830
+ }
67800
67831
  if (config.timezone) {
67801
67832
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67802
67833
  process.env.TZ = config.timezone;
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -67640,6 +67649,8 @@ var getConfigEnv = () => {
67640
67649
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67641
67650
  license: process.env[`${prefix}LICENSE`],
67642
67651
  homepage: process.env[`${prefix}HOMEPAGE`],
67652
+ docs: process.env[`${prefix}DOCS`],
67653
+ licensing: process.env[`${prefix}LICENSING`],
67643
67654
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67644
67655
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67645
67656
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67688,6 +67699,20 @@ var getConfigEnv = () => {
67688
67699
  },
67689
67700
  {}
67690
67701
  ) : getThemeColorConfigEnv(prefix);
67702
+ if (config.docs === STORM_DEFAULT_DOCS) {
67703
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67704
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67705
+ } else {
67706
+ config.docs = `${config.homepage}/docs`;
67707
+ }
67708
+ }
67709
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67710
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67711
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67712
+ } else {
67713
+ config.licensing = `${config.homepage}/docs`;
67714
+ }
67715
+ }
67691
67716
  const serializedConfig = process.env[`${prefix}CONFIG`];
67692
67717
  if (serializedConfig) {
67693
67718
  const parsed = JSON.parse(serializedConfig);
@@ -67797,6 +67822,12 @@ var setConfigEnv = (config) => {
67797
67822
  if (config.homepage) {
67798
67823
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67799
67824
  }
67825
+ if (config.docs) {
67826
+ process.env[`${prefix}DOCS`] = config.docs;
67827
+ }
67828
+ if (config.licensing) {
67829
+ process.env[`${prefix}LICENSING`] = config.licensing;
67830
+ }
67800
67831
  if (config.timezone) {
67801
67832
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67802
67833
  process.env.TZ = config.timezone;
package/bin/post-merge.js CHANGED
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -67640,6 +67649,8 @@ var getConfigEnv = () => {
67640
67649
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67641
67650
  license: process.env[`${prefix}LICENSE`],
67642
67651
  homepage: process.env[`${prefix}HOMEPAGE`],
67652
+ docs: process.env[`${prefix}DOCS`],
67653
+ licensing: process.env[`${prefix}LICENSING`],
67643
67654
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67644
67655
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67645
67656
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67688,6 +67699,20 @@ var getConfigEnv = () => {
67688
67699
  },
67689
67700
  {}
67690
67701
  ) : getThemeColorConfigEnv(prefix);
67702
+ if (config.docs === STORM_DEFAULT_DOCS) {
67703
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67704
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67705
+ } else {
67706
+ config.docs = `${config.homepage}/docs`;
67707
+ }
67708
+ }
67709
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67710
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67711
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67712
+ } else {
67713
+ config.licensing = `${config.homepage}/docs`;
67714
+ }
67715
+ }
67691
67716
  const serializedConfig = process.env[`${prefix}CONFIG`];
67692
67717
  if (serializedConfig) {
67693
67718
  const parsed = JSON.parse(serializedConfig);
@@ -67797,6 +67822,12 @@ var setConfigEnv = (config) => {
67797
67822
  if (config.homepage) {
67798
67823
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67799
67824
  }
67825
+ if (config.docs) {
67826
+ process.env[`${prefix}DOCS`] = config.docs;
67827
+ }
67828
+ if (config.licensing) {
67829
+ process.env[`${prefix}LICENSING`] = config.licensing;
67830
+ }
67800
67831
  if (config.timezone) {
67801
67832
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67802
67833
  process.env.TZ = config.timezone;
package/bin/pre-commit.js CHANGED
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -67625,6 +67634,8 @@ var getConfigEnv = () => {
67625
67634
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67626
67635
  license: process.env[`${prefix}LICENSE`],
67627
67636
  homepage: process.env[`${prefix}HOMEPAGE`],
67637
+ docs: process.env[`${prefix}DOCS`],
67638
+ licensing: process.env[`${prefix}LICENSING`],
67628
67639
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67629
67640
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67630
67641
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67673,6 +67684,20 @@ var getConfigEnv = () => {
67673
67684
  },
67674
67685
  {}
67675
67686
  ) : getThemeColorConfigEnv(prefix);
67687
+ if (config.docs === STORM_DEFAULT_DOCS) {
67688
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67689
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67690
+ } else {
67691
+ config.docs = `${config.homepage}/docs`;
67692
+ }
67693
+ }
67694
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67695
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67696
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67697
+ } else {
67698
+ config.licensing = `${config.homepage}/docs`;
67699
+ }
67700
+ }
67676
67701
  const serializedConfig = process.env[`${prefix}CONFIG`];
67677
67702
  if (serializedConfig) {
67678
67703
  const parsed = JSON.parse(serializedConfig);
@@ -67782,6 +67807,12 @@ var setConfigEnv = (config) => {
67782
67807
  if (config.homepage) {
67783
67808
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67784
67809
  }
67810
+ if (config.docs) {
67811
+ process.env[`${prefix}DOCS`] = config.docs;
67812
+ }
67813
+ if (config.licensing) {
67814
+ process.env[`${prefix}LICENSING`] = config.licensing;
67815
+ }
67785
67816
  if (config.timezone) {
67786
67817
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67787
67818
  process.env.TZ = config.timezone;
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -67640,6 +67649,8 @@ var getConfigEnv = () => {
67640
67649
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67641
67650
  license: process.env[`${prefix}LICENSE`],
67642
67651
  homepage: process.env[`${prefix}HOMEPAGE`],
67652
+ docs: process.env[`${prefix}DOCS`],
67653
+ licensing: process.env[`${prefix}LICENSING`],
67643
67654
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67644
67655
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67645
67656
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67688,6 +67699,20 @@ var getConfigEnv = () => {
67688
67699
  },
67689
67700
  {}
67690
67701
  ) : getThemeColorConfigEnv(prefix);
67702
+ if (config.docs === STORM_DEFAULT_DOCS) {
67703
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67704
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67705
+ } else {
67706
+ config.docs = `${config.homepage}/docs`;
67707
+ }
67708
+ }
67709
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67710
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67711
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67712
+ } else {
67713
+ config.licensing = `${config.homepage}/docs`;
67714
+ }
67715
+ }
67691
67716
  const serializedConfig = process.env[`${prefix}CONFIG`];
67692
67717
  if (serializedConfig) {
67693
67718
  const parsed = JSON.parse(serializedConfig);
@@ -67797,6 +67822,12 @@ var setConfigEnv = (config) => {
67797
67822
  if (config.homepage) {
67798
67823
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67799
67824
  }
67825
+ if (config.docs) {
67826
+ process.env[`${prefix}DOCS`] = config.docs;
67827
+ }
67828
+ if (config.licensing) {
67829
+ process.env[`${prefix}LICENSING`] = config.licensing;
67830
+ }
67800
67831
  if (config.timezone) {
67801
67832
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67802
67833
  process.env.TZ = config.timezone;
package/bin/pre-push.js CHANGED
@@ -63129,6 +63129,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63129
63129
  return result;
63130
63130
  }
63131
63131
 
63132
+ // packages/config/src/constants.ts
63133
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63134
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63135
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63136
+
63132
63137
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63133
63138
  var util;
63134
63139
  (function(util2) {
@@ -67046,7 +67051,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67046
67051
  // packages/config/src/schema.ts
67047
67052
  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");
67048
67053
  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");
67049
- 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");
67054
+ 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");
67050
67055
  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");
67051
67056
  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");
67052
67057
  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");
@@ -67129,8 +67134,10 @@ var StormConfigSchema = z2.object({
67129
67134
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67130
67135
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67131
67136
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
67132
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
67133
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
67137
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67138
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67139
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67140
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67134
67141
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67135
67142
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67136
67143
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67289,6 +67296,8 @@ var getDefaultConfig = (config = {}, root) => {
67289
67296
  repository,
67290
67297
  license: license ?? DEFAULT_STORM_CONFIG.license,
67291
67298
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67299
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67300
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67292
67301
  extensions: {
67293
67302
  ...config.extensions
67294
67303
  }
@@ -67645,6 +67654,8 @@ var getConfigEnv = () => {
67645
67654
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67646
67655
  license: process.env[`${prefix}LICENSE`],
67647
67656
  homepage: process.env[`${prefix}HOMEPAGE`],
67657
+ docs: process.env[`${prefix}DOCS`],
67658
+ licensing: process.env[`${prefix}LICENSING`],
67648
67659
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67649
67660
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67650
67661
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67693,6 +67704,20 @@ var getConfigEnv = () => {
67693
67704
  },
67694
67705
  {}
67695
67706
  ) : getThemeColorConfigEnv(prefix);
67707
+ if (config.docs === STORM_DEFAULT_DOCS) {
67708
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67709
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67710
+ } else {
67711
+ config.docs = `${config.homepage}/docs`;
67712
+ }
67713
+ }
67714
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67715
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67716
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67717
+ } else {
67718
+ config.licensing = `${config.homepage}/docs`;
67719
+ }
67720
+ }
67696
67721
  const serializedConfig = process.env[`${prefix}CONFIG`];
67697
67722
  if (serializedConfig) {
67698
67723
  const parsed = JSON.parse(serializedConfig);
@@ -67802,6 +67827,12 @@ var setConfigEnv = (config) => {
67802
67827
  if (config.homepage) {
67803
67828
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67804
67829
  }
67830
+ if (config.docs) {
67831
+ process.env[`${prefix}DOCS`] = config.docs;
67832
+ }
67833
+ if (config.licensing) {
67834
+ process.env[`${prefix}LICENSING`] = config.licensing;
67835
+ }
67805
67836
  if (config.timezone) {
67806
67837
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67807
67838
  process.env.TZ = config.timezone;
package/bin/prepare.js CHANGED
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -67640,6 +67649,8 @@ var getConfigEnv = () => {
67640
67649
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67641
67650
  license: process.env[`${prefix}LICENSE`],
67642
67651
  homepage: process.env[`${prefix}HOMEPAGE`],
67652
+ docs: process.env[`${prefix}DOCS`],
67653
+ licensing: process.env[`${prefix}LICENSING`],
67643
67654
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67644
67655
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67645
67656
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67688,6 +67699,20 @@ var getConfigEnv = () => {
67688
67699
  },
67689
67700
  {}
67690
67701
  ) : getThemeColorConfigEnv(prefix);
67702
+ if (config.docs === STORM_DEFAULT_DOCS) {
67703
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67704
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67705
+ } else {
67706
+ config.docs = `${config.homepage}/docs`;
67707
+ }
67708
+ }
67709
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67710
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67711
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67712
+ } else {
67713
+ config.licensing = `${config.homepage}/docs`;
67714
+ }
67715
+ }
67691
67716
  const serializedConfig = process.env[`${prefix}CONFIG`];
67692
67717
  if (serializedConfig) {
67693
67718
  const parsed = JSON.parse(serializedConfig);
@@ -67797,6 +67822,12 @@ var setConfigEnv = (config) => {
67797
67822
  if (config.homepage) {
67798
67823
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67799
67824
  }
67825
+ if (config.docs) {
67826
+ process.env[`${prefix}DOCS`] = config.docs;
67827
+ }
67828
+ if (config.licensing) {
67829
+ process.env[`${prefix}LICENSING`] = config.licensing;
67830
+ }
67800
67831
  if (config.timezone) {
67801
67832
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67802
67833
  process.env.TZ = config.timezone;
@@ -63124,6 +63124,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
63124
63124
  return result;
63125
63125
  }
63126
63126
 
63127
+ // packages/config/src/constants.ts
63128
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63129
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63130
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63131
+
63127
63132
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63128
63133
  var util;
63129
63134
  (function(util2) {
@@ -67041,7 +67046,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
67041
67046
  // packages/config/src/schema.ts
67042
67047
  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
67048
  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");
67049
+ 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
67050
  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
67051
  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
67052
  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 +67129,10 @@ var StormConfigSchema = z2.object({
67124
67129
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67125
67130
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67126
67131
  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"),
67132
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67133
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67134
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67135
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67129
67136
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67130
67137
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67131
67138
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67284,6 +67291,8 @@ var getDefaultConfig = (config = {}, root) => {
67284
67291
  repository,
67285
67292
  license: license ?? DEFAULT_STORM_CONFIG.license,
67286
67293
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67294
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67295
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67287
67296
  extensions: {
67288
67297
  ...config.extensions
67289
67298
  }
@@ -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.53.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.5.6",
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,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
222645
222645
  return result2;
222646
222646
  }
222647
222647
 
222648
+ // packages/config/src/constants.ts
222649
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
222650
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
222651
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
222652
+
222648
222653
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
222649
222654
  var util;
222650
222655
  (function(util3) {
@@ -226562,7 +226567,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
226562
226567
  // packages/config/src/schema.ts
226563
226568
  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
226569
  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");
226570
+ 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
226571
  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
226572
  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
226573
  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 +226650,10 @@ var StormConfigSchema = z2.object({
226645
226650
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
226646
226651
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
226647
226652
  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"),
226653
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
226654
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
226655
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
226656
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
226650
226657
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
226651
226658
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
226652
226659
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -226805,6 +226812,8 @@ var getDefaultConfig = (config2 = {}, root3) => {
226805
226812
  repository,
226806
226813
  license: license ?? DEFAULT_STORM_CONFIG.license,
226807
226814
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
226815
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
226816
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
226808
226817
  extensions: {
226809
226818
  ...config2.extensions
226810
226819
  }
@@ -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;
@@ -33371,6 +33371,11 @@ import { execSync } from "node:child_process";
33371
33371
  // packages/config-tools/src/config-file/get-config-file.ts
33372
33372
  var import_deepmerge = __toESM(require_cjs2());
33373
33373
 
33374
+ // packages/config/src/constants.ts
33375
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
33376
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
33377
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
33378
+
33374
33379
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
33375
33380
  var util;
33376
33381
  (function(util2) {
@@ -37288,7 +37293,7 @@ var z = /* @__PURE__ */ Object.freeze({
37288
37293
  // packages/config/src/schema.ts
37289
37294
  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
37295
  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");
37296
+ 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
37297
  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
37298
  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
37299
  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 +37376,10 @@ var StormConfigSchema = z.object({
37371
37376
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
37372
37377
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
37373
37378
  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"),
37379
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
37380
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
37381
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
37382
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
37376
37383
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
37377
37384
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
37378
37385
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -33318,6 +33318,11 @@ import { execSync } from "node:child_process";
33318
33318
  // packages/config-tools/src/config-file/get-config-file.ts
33319
33319
  var import_deepmerge = __toESM(require_cjs2());
33320
33320
 
33321
+ // packages/config/src/constants.ts
33322
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
33323
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
33324
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
33325
+
33321
33326
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
33322
33327
  var util;
33323
33328
  (function(util2) {
@@ -37235,7 +37240,7 @@ var z = /* @__PURE__ */ Object.freeze({
37235
37240
  // packages/config/src/schema.ts
37236
37241
  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");
37237
37242
  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");
37238
- 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");
37243
+ 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");
37239
37244
  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");
37240
37245
  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");
37241
37246
  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");
@@ -37318,8 +37323,10 @@ var StormConfigSchema = z.object({
37318
37323
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
37319
37324
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
37320
37325
  repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
37321
- license: z.string().trim().default("Apache 2.0").describe("The root directory of the package"),
37322
- homepage: z.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
37326
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
37327
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
37328
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
37329
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
37323
37330
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
37324
37331
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
37325
37332
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
package/src/index.js CHANGED
@@ -222645,6 +222645,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
222645
222645
  return result2;
222646
222646
  }
222647
222647
 
222648
+ // packages/config/src/constants.ts
222649
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
222650
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
222651
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
222652
+
222648
222653
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
222649
222654
  var util;
222650
222655
  (function(util3) {
@@ -226562,7 +226567,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
226562
226567
  // packages/config/src/schema.ts
226563
226568
  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
226569
  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");
226570
+ 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
226571
  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
226572
  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
226573
  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 +226650,10 @@ var StormConfigSchema = z2.object({
226645
226650
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
226646
226651
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
226647
226652
  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"),
226653
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
226654
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
226655
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
226656
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
226650
226657
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
226651
226658
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
226652
226659
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -226805,6 +226812,8 @@ var getDefaultConfig = (config2 = {}, root3) => {
226805
226812
  repository,
226806
226813
  license: license ?? DEFAULT_STORM_CONFIG.license,
226807
226814
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
226815
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
226816
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
226808
226817
  extensions: {
226809
226818
  ...config2.extensions
226810
226819
  }
@@ -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;
@@ -1772,6 +1772,11 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
1772
1772
  return result;
1773
1773
  }
1774
1774
 
1775
+ // packages/config/src/constants.ts
1776
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
1777
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
1778
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
1779
+
1775
1780
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
1776
1781
  var util;
1777
1782
  (function(util2) {
@@ -5689,7 +5694,7 @@ var z = /* @__PURE__ */ Object.freeze({
5689
5694
  // packages/config/src/schema.ts
5690
5695
  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");
5691
5696
  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");
5692
- 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");
5697
+ 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");
5693
5698
  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");
5694
5699
  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");
5695
5700
  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");
@@ -5772,8 +5777,10 @@ var StormConfigSchema = z.object({
5772
5777
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
5773
5778
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
5774
5779
  repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
5775
- license: z.string().trim().default("Apache 2.0").describe("The root directory of the package"),
5776
- homepage: z.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
5780
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
5781
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
5782
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
5783
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
5777
5784
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
5778
5785
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
5779
5786
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),