@storm-software/workspace-tools 1.149.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;
@@ -32,6 +32,22 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  ));
33
33
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
34
 
35
+ // packages/config/src/constants.ts
36
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
37
+ var init_constants = __esm({
38
+ "packages/config/src/constants.ts"() {
39
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
40
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
41
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
42
+ }
43
+ });
44
+
45
+ // packages/config/src/define-config.ts
46
+ var init_define_config = __esm({
47
+ "packages/config/src/define-config.ts"() {
48
+ }
49
+ });
50
+
35
51
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
36
52
  function setErrorMap(map) {
37
53
  overrideErrorMap = map;
@@ -3949,9 +3965,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
3949
3965
  var init_schema = __esm({
3950
3966
  "packages/config/src/schema.ts"() {
3951
3967
  init_lib();
3968
+ init_constants();
3952
3969
  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");
3953
3970
  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");
3954
- 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");
3971
+ 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");
3955
3972
  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");
3956
3973
  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");
3957
3974
  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");
@@ -4034,8 +4051,10 @@ var init_schema = __esm({
4034
4051
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
4035
4052
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
4036
4053
  repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
4037
- license: z.string().trim().default("Apache 2.0").describe("The root directory of the package"),
4038
- homepage: z.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
4054
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
4055
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
4056
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
4057
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
4039
4058
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
4040
4059
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
4041
4060
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -4104,18 +4123,13 @@ var init_types = __esm({
4104
4123
  }
4105
4124
  });
4106
4125
 
4107
- // packages/config/src/define-config.ts
4108
- var init_define_config = __esm({
4109
- "packages/config/src/define-config.ts"() {
4110
- }
4111
- });
4112
-
4113
4126
  // packages/config/src/index.ts
4114
4127
  var init_src = __esm({
4115
4128
  "packages/config/src/index.ts"() {
4129
+ init_constants();
4130
+ init_define_config();
4116
4131
  init_schema();
4117
4132
  init_types();
4118
- init_define_config();
4119
4133
  }
4120
4134
  });
4121
4135
 
@@ -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;