@storm-software/workspace-tools 1.150.0 → 1.151.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.
@@ -61389,6 +61389,22 @@ var init_find_workspace_root = __esm({
61389
61389
  }
61390
61390
  });
61391
61391
 
61392
+ // packages/config/src/constants.ts
61393
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
61394
+ var init_constants = __esm({
61395
+ "packages/config/src/constants.ts"() {
61396
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
61397
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
61398
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
61399
+ }
61400
+ });
61401
+
61402
+ // packages/config/src/define-config.ts
61403
+ var init_define_config = __esm({
61404
+ "packages/config/src/define-config.ts"() {
61405
+ }
61406
+ });
61407
+
61392
61408
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
61393
61409
  function setErrorMap(map) {
61394
61410
  overrideErrorMap = map;
@@ -65306,9 +65322,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
65306
65322
  var init_schema = __esm({
65307
65323
  "packages/config/src/schema.ts"() {
65308
65324
  init_lib();
65325
+ init_constants();
65309
65326
  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");
65310
65327
  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");
65311
- 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");
65328
+ 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");
65312
65329
  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");
65313
65330
  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");
65314
65331
  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");
@@ -65391,8 +65408,10 @@ var init_schema = __esm({
65391
65408
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
65392
65409
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
65393
65410
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
65394
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
65395
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
65411
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
65412
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
65413
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
65414
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
65396
65415
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
65397
65416
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
65398
65417
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -65461,18 +65480,13 @@ var init_types = __esm({
65461
65480
  }
65462
65481
  });
65463
65482
 
65464
- // packages/config/src/define-config.ts
65465
- var init_define_config = __esm({
65466
- "packages/config/src/define-config.ts"() {
65467
- }
65468
- });
65469
-
65470
65483
  // packages/config/src/index.ts
65471
65484
  var init_src = __esm({
65472
65485
  "packages/config/src/index.ts"() {
65486
+ init_constants();
65487
+ init_define_config();
65473
65488
  init_schema();
65474
65489
  init_types();
65475
- init_define_config();
65476
65490
  }
65477
65491
  });
65478
65492
 
@@ -65578,6 +65592,8 @@ var init_get_default_config = __esm({
65578
65592
  repository,
65579
65593
  license: license ?? DEFAULT_STORM_CONFIG.license,
65580
65594
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
65595
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
65596
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
65581
65597
  extensions: {
65582
65598
  ...config.extensions
65583
65599
  }
@@ -67669,6 +67685,8 @@ var init_get_env = __esm({
67669
67685
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67670
67686
  license: process.env[`${prefix}LICENSE`],
67671
67687
  homepage: process.env[`${prefix}HOMEPAGE`],
67688
+ docs: process.env[`${prefix}DOCS`],
67689
+ licensing: process.env[`${prefix}LICENSING`],
67672
67690
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67673
67691
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67674
67692
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67717,6 +67735,20 @@ var init_get_env = __esm({
67717
67735
  },
67718
67736
  {}
67719
67737
  ) : getThemeColorConfigEnv(prefix);
67738
+ if (config.docs === STORM_DEFAULT_DOCS) {
67739
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67740
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67741
+ } else {
67742
+ config.docs = `${config.homepage}/docs`;
67743
+ }
67744
+ }
67745
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67746
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67747
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67748
+ } else {
67749
+ config.licensing = `${config.homepage}/docs`;
67750
+ }
67751
+ }
67720
67752
  const serializedConfig = process.env[`${prefix}CONFIG`];
67721
67753
  if (serializedConfig) {
67722
67754
  const parsed = JSON.parse(serializedConfig);
@@ -67834,6 +67866,12 @@ var init_set_env = __esm({
67834
67866
  if (config.homepage) {
67835
67867
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67836
67868
  }
67869
+ if (config.docs) {
67870
+ process.env[`${prefix}DOCS`] = config.docs;
67871
+ }
67872
+ if (config.licensing) {
67873
+ process.env[`${prefix}LICENSING`] = config.licensing;
67874
+ }
67837
67875
  if (config.timezone) {
67838
67876
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67839
67877
  process.env.TZ = config.timezone;
@@ -61389,6 +61389,22 @@ var init_find_workspace_root = __esm({
61389
61389
  }
61390
61390
  });
61391
61391
 
61392
+ // packages/config/src/constants.ts
61393
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
61394
+ var init_constants = __esm({
61395
+ "packages/config/src/constants.ts"() {
61396
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
61397
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
61398
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
61399
+ }
61400
+ });
61401
+
61402
+ // packages/config/src/define-config.ts
61403
+ var init_define_config = __esm({
61404
+ "packages/config/src/define-config.ts"() {
61405
+ }
61406
+ });
61407
+
61392
61408
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
61393
61409
  function setErrorMap(map) {
61394
61410
  overrideErrorMap = map;
@@ -65306,9 +65322,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
65306
65322
  var init_schema = __esm({
65307
65323
  "packages/config/src/schema.ts"() {
65308
65324
  init_lib();
65325
+ init_constants();
65309
65326
  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");
65310
65327
  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");
65311
- 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");
65328
+ 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");
65312
65329
  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");
65313
65330
  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");
65314
65331
  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");
@@ -65391,8 +65408,10 @@ var init_schema = __esm({
65391
65408
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
65392
65409
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
65393
65410
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
65394
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
65395
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
65411
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
65412
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
65413
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
65414
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
65396
65415
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
65397
65416
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
65398
65417
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -65461,18 +65480,13 @@ var init_types = __esm({
65461
65480
  }
65462
65481
  });
65463
65482
 
65464
- // packages/config/src/define-config.ts
65465
- var init_define_config = __esm({
65466
- "packages/config/src/define-config.ts"() {
65467
- }
65468
- });
65469
-
65470
65483
  // packages/config/src/index.ts
65471
65484
  var init_src = __esm({
65472
65485
  "packages/config/src/index.ts"() {
65486
+ init_constants();
65487
+ init_define_config();
65473
65488
  init_schema();
65474
65489
  init_types();
65475
- init_define_config();
65476
65490
  }
65477
65491
  });
65478
65492
 
@@ -65578,6 +65592,8 @@ var init_get_default_config = __esm({
65578
65592
  repository,
65579
65593
  license: license ?? DEFAULT_STORM_CONFIG.license,
65580
65594
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
65595
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
65596
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
65581
65597
  extensions: {
65582
65598
  ...config.extensions
65583
65599
  }
@@ -67669,6 +67685,8 @@ var init_get_env = __esm({
67669
67685
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67670
67686
  license: process.env[`${prefix}LICENSE`],
67671
67687
  homepage: process.env[`${prefix}HOMEPAGE`],
67688
+ docs: process.env[`${prefix}DOCS`],
67689
+ licensing: process.env[`${prefix}LICENSING`],
67672
67690
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67673
67691
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67674
67692
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67717,6 +67735,20 @@ var init_get_env = __esm({
67717
67735
  },
67718
67736
  {}
67719
67737
  ) : getThemeColorConfigEnv(prefix);
67738
+ if (config.docs === STORM_DEFAULT_DOCS) {
67739
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67740
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67741
+ } else {
67742
+ config.docs = `${config.homepage}/docs`;
67743
+ }
67744
+ }
67745
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67746
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67747
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67748
+ } else {
67749
+ config.licensing = `${config.homepage}/docs`;
67750
+ }
67751
+ }
67720
67752
  const serializedConfig = process.env[`${prefix}CONFIG`];
67721
67753
  if (serializedConfig) {
67722
67754
  const parsed = JSON.parse(serializedConfig);
@@ -67834,6 +67866,12 @@ var init_set_env = __esm({
67834
67866
  if (config.homepage) {
67835
67867
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67836
67868
  }
67869
+ if (config.docs) {
67870
+ process.env[`${prefix}DOCS`] = config.docs;
67871
+ }
67872
+ if (config.licensing) {
67873
+ process.env[`${prefix}LICENSING`] = config.licensing;
67874
+ }
67837
67875
  if (config.timezone) {
67838
67876
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67839
67877
  process.env.TZ = config.timezone;
@@ -61389,6 +61389,22 @@ var init_find_workspace_root = __esm({
61389
61389
  }
61390
61390
  });
61391
61391
 
61392
+ // packages/config/src/constants.ts
61393
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
61394
+ var init_constants = __esm({
61395
+ "packages/config/src/constants.ts"() {
61396
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
61397
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
61398
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
61399
+ }
61400
+ });
61401
+
61402
+ // packages/config/src/define-config.ts
61403
+ var init_define_config = __esm({
61404
+ "packages/config/src/define-config.ts"() {
61405
+ }
61406
+ });
61407
+
61392
61408
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
61393
61409
  function setErrorMap(map) {
61394
61410
  overrideErrorMap = map;
@@ -65306,9 +65322,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
65306
65322
  var init_schema = __esm({
65307
65323
  "packages/config/src/schema.ts"() {
65308
65324
  init_lib();
65325
+ init_constants();
65309
65326
  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");
65310
65327
  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");
65311
- 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");
65328
+ 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");
65312
65329
  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");
65313
65330
  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");
65314
65331
  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");
@@ -65391,8 +65408,10 @@ var init_schema = __esm({
65391
65408
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
65392
65409
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
65393
65410
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
65394
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
65395
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
65411
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
65412
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
65413
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
65414
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
65396
65415
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
65397
65416
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
65398
65417
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -65461,18 +65480,13 @@ var init_types = __esm({
65461
65480
  }
65462
65481
  });
65463
65482
 
65464
- // packages/config/src/define-config.ts
65465
- var init_define_config = __esm({
65466
- "packages/config/src/define-config.ts"() {
65467
- }
65468
- });
65469
-
65470
65483
  // packages/config/src/index.ts
65471
65484
  var init_src = __esm({
65472
65485
  "packages/config/src/index.ts"() {
65486
+ init_constants();
65487
+ init_define_config();
65473
65488
  init_schema();
65474
65489
  init_types();
65475
- init_define_config();
65476
65490
  }
65477
65491
  });
65478
65492
 
@@ -65578,6 +65592,8 @@ var init_get_default_config = __esm({
65578
65592
  repository,
65579
65593
  license: license ?? DEFAULT_STORM_CONFIG.license,
65580
65594
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
65595
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
65596
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
65581
65597
  extensions: {
65582
65598
  ...config.extensions
65583
65599
  }
@@ -67669,6 +67685,8 @@ var init_get_env = __esm({
67669
67685
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67670
67686
  license: process.env[`${prefix}LICENSE`],
67671
67687
  homepage: process.env[`${prefix}HOMEPAGE`],
67688
+ docs: process.env[`${prefix}DOCS`],
67689
+ licensing: process.env[`${prefix}LICENSING`],
67672
67690
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67673
67691
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67674
67692
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67717,6 +67735,20 @@ var init_get_env = __esm({
67717
67735
  },
67718
67736
  {}
67719
67737
  ) : getThemeColorConfigEnv(prefix);
67738
+ if (config.docs === STORM_DEFAULT_DOCS) {
67739
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67740
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67741
+ } else {
67742
+ config.docs = `${config.homepage}/docs`;
67743
+ }
67744
+ }
67745
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67746
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67747
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67748
+ } else {
67749
+ config.licensing = `${config.homepage}/docs`;
67750
+ }
67751
+ }
67720
67752
  const serializedConfig = process.env[`${prefix}CONFIG`];
67721
67753
  if (serializedConfig) {
67722
67754
  const parsed = JSON.parse(serializedConfig);
@@ -67834,6 +67866,12 @@ var init_set_env = __esm({
67834
67866
  if (config.homepage) {
67835
67867
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67836
67868
  }
67869
+ if (config.docs) {
67870
+ process.env[`${prefix}DOCS`] = config.docs;
67871
+ }
67872
+ if (config.licensing) {
67873
+ process.env[`${prefix}LICENSING`] = config.licensing;
67874
+ }
67837
67875
  if (config.timezone) {
67838
67876
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67839
67877
  process.env.TZ = config.timezone;
@@ -63502,6 +63502,22 @@ var init_find_workspace_root = __esm({
63502
63502
  }
63503
63503
  });
63504
63504
 
63505
+ // packages/config/src/constants.ts
63506
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
63507
+ var init_constants = __esm({
63508
+ "packages/config/src/constants.ts"() {
63509
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
63510
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
63511
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
63512
+ }
63513
+ });
63514
+
63515
+ // packages/config/src/define-config.ts
63516
+ var init_define_config = __esm({
63517
+ "packages/config/src/define-config.ts"() {
63518
+ }
63519
+ });
63520
+
63505
63521
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
63506
63522
  function setErrorMap(map) {
63507
63523
  overrideErrorMap = map;
@@ -67419,9 +67435,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
67419
67435
  var init_schema = __esm({
67420
67436
  "packages/config/src/schema.ts"() {
67421
67437
  init_lib();
67438
+ init_constants();
67422
67439
  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");
67423
67440
  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");
67424
- 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");
67441
+ 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");
67425
67442
  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");
67426
67443
  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");
67427
67444
  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");
@@ -67504,8 +67521,10 @@ var init_schema = __esm({
67504
67521
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
67505
67522
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
67506
67523
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
67507
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
67508
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
67524
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
67525
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
67526
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
67527
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
67509
67528
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
67510
67529
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
67511
67530
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -67574,18 +67593,13 @@ var init_types = __esm({
67574
67593
  }
67575
67594
  });
67576
67595
 
67577
- // packages/config/src/define-config.ts
67578
- var init_define_config = __esm({
67579
- "packages/config/src/define-config.ts"() {
67580
- }
67581
- });
67582
-
67583
67596
  // packages/config/src/index.ts
67584
67597
  var init_src = __esm({
67585
67598
  "packages/config/src/index.ts"() {
67599
+ init_constants();
67600
+ init_define_config();
67586
67601
  init_schema();
67587
67602
  init_types();
67588
- init_define_config();
67589
67603
  }
67590
67604
  });
67591
67605
 
@@ -67691,6 +67705,8 @@ var init_get_default_config = __esm({
67691
67705
  repository,
67692
67706
  license: license ?? DEFAULT_STORM_CONFIG.license,
67693
67707
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
67708
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
67709
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
67694
67710
  extensions: {
67695
67711
  ...config.extensions
67696
67712
  }
@@ -69782,6 +69798,8 @@ var init_get_env = __esm({
69782
69798
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
69783
69799
  license: process.env[`${prefix}LICENSE`],
69784
69800
  homepage: process.env[`${prefix}HOMEPAGE`],
69801
+ docs: process.env[`${prefix}DOCS`],
69802
+ licensing: process.env[`${prefix}LICENSING`],
69785
69803
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
69786
69804
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
69787
69805
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -69830,6 +69848,20 @@ var init_get_env = __esm({
69830
69848
  },
69831
69849
  {}
69832
69850
  ) : getThemeColorConfigEnv(prefix);
69851
+ if (config.docs === STORM_DEFAULT_DOCS) {
69852
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
69853
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
69854
+ } else {
69855
+ config.docs = `${config.homepage}/docs`;
69856
+ }
69857
+ }
69858
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
69859
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
69860
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
69861
+ } else {
69862
+ config.licensing = `${config.homepage}/docs`;
69863
+ }
69864
+ }
69833
69865
  const serializedConfig = process.env[`${prefix}CONFIG`];
69834
69866
  if (serializedConfig) {
69835
69867
  const parsed = JSON.parse(serializedConfig);
@@ -69947,6 +69979,12 @@ var init_set_env = __esm({
69947
69979
  if (config.homepage) {
69948
69980
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
69949
69981
  }
69982
+ if (config.docs) {
69983
+ process.env[`${prefix}DOCS`] = config.docs;
69984
+ }
69985
+ if (config.licensing) {
69986
+ process.env[`${prefix}LICENSING`] = config.licensing;
69987
+ }
69950
69988
  if (config.timezone) {
69951
69989
  process.env[`${prefix}TIMEZONE`] = config.timezone;
69952
69990
  process.env.TZ = config.timezone;
@@ -61389,6 +61389,22 @@ var init_find_workspace_root = __esm({
61389
61389
  }
61390
61390
  });
61391
61391
 
61392
+ // packages/config/src/constants.ts
61393
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
61394
+ var init_constants = __esm({
61395
+ "packages/config/src/constants.ts"() {
61396
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
61397
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
61398
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
61399
+ }
61400
+ });
61401
+
61402
+ // packages/config/src/define-config.ts
61403
+ var init_define_config = __esm({
61404
+ "packages/config/src/define-config.ts"() {
61405
+ }
61406
+ });
61407
+
61392
61408
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
61393
61409
  function setErrorMap(map) {
61394
61410
  overrideErrorMap = map;
@@ -65306,9 +65322,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
65306
65322
  var init_schema = __esm({
65307
65323
  "packages/config/src/schema.ts"() {
65308
65324
  init_lib();
65325
+ init_constants();
65309
65326
  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");
65310
65327
  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");
65311
- 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");
65328
+ 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");
65312
65329
  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");
65313
65330
  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");
65314
65331
  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");
@@ -65391,8 +65408,10 @@ var init_schema = __esm({
65391
65408
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
65392
65409
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
65393
65410
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
65394
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
65395
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
65411
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
65412
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
65413
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
65414
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
65396
65415
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
65397
65416
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
65398
65417
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -65461,18 +65480,13 @@ var init_types = __esm({
65461
65480
  }
65462
65481
  });
65463
65482
 
65464
- // packages/config/src/define-config.ts
65465
- var init_define_config = __esm({
65466
- "packages/config/src/define-config.ts"() {
65467
- }
65468
- });
65469
-
65470
65483
  // packages/config/src/index.ts
65471
65484
  var init_src = __esm({
65472
65485
  "packages/config/src/index.ts"() {
65486
+ init_constants();
65487
+ init_define_config();
65473
65488
  init_schema();
65474
65489
  init_types();
65475
- init_define_config();
65476
65490
  }
65477
65491
  });
65478
65492
 
@@ -65578,6 +65592,8 @@ var init_get_default_config = __esm({
65578
65592
  repository,
65579
65593
  license: license ?? DEFAULT_STORM_CONFIG.license,
65580
65594
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
65595
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
65596
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
65581
65597
  extensions: {
65582
65598
  ...config.extensions
65583
65599
  }
@@ -67669,6 +67685,8 @@ var init_get_env = __esm({
67669
67685
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67670
67686
  license: process.env[`${prefix}LICENSE`],
67671
67687
  homepage: process.env[`${prefix}HOMEPAGE`],
67688
+ docs: process.env[`${prefix}DOCS`],
67689
+ licensing: process.env[`${prefix}LICENSING`],
67672
67690
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67673
67691
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67674
67692
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67717,6 +67735,20 @@ var init_get_env = __esm({
67717
67735
  },
67718
67736
  {}
67719
67737
  ) : getThemeColorConfigEnv(prefix);
67738
+ if (config.docs === STORM_DEFAULT_DOCS) {
67739
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67740
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67741
+ } else {
67742
+ config.docs = `${config.homepage}/docs`;
67743
+ }
67744
+ }
67745
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67746
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67747
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67748
+ } else {
67749
+ config.licensing = `${config.homepage}/docs`;
67750
+ }
67751
+ }
67720
67752
  const serializedConfig = process.env[`${prefix}CONFIG`];
67721
67753
  if (serializedConfig) {
67722
67754
  const parsed = JSON.parse(serializedConfig);
@@ -67834,6 +67866,12 @@ var init_set_env = __esm({
67834
67866
  if (config.homepage) {
67835
67867
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67836
67868
  }
67869
+ if (config.docs) {
67870
+ process.env[`${prefix}DOCS`] = config.docs;
67871
+ }
67872
+ if (config.licensing) {
67873
+ process.env[`${prefix}LICENSING`] = config.licensing;
67874
+ }
67837
67875
  if (config.timezone) {
67838
67876
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67839
67877
  process.env.TZ = config.timezone;