@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.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -2
- package/index.js +48 -10
- package/meta.json +1 -1
- package/package.json +1 -1
- package/packages/config/src/constants.d.ts +3 -0
- package/packages/config/src/define-config.d.ts +2 -0
- package/packages/config/src/index.d.ts +2 -1
- package/packages/config/src/schema.d.ts +6 -0
- package/src/base/index.js +48 -10
- package/src/executors/clean-package/executor.js +48 -10
- package/src/executors/rolldown/executor.js +48 -10
- package/src/executors/size-limit/executor.js +48 -10
- package/src/executors/tsup/executor.js +48 -10
- package/src/executors/tsup-browser/executor.js +48 -10
- package/src/executors/tsup-neutral/executor.js +48 -10
- package/src/executors/tsup-node/executor.js +48 -10
- package/src/executors/typia/executor.js +48 -10
- package/src/executors/unbuild/executor.js +48 -10
- package/src/generators/browser-library/generator.js +48 -10
- package/src/generators/config-schema/generator.js +48 -10
- package/src/generators/neutral-library/generator.js +48 -10
- package/src/generators/node-library/generator.js +48 -10
- package/src/generators/preset/generator.js +48 -10
- package/src/generators/release-version/generator.js +48 -10
- package/src/utils/index.js +48 -10
package/package.json
CHANGED
|
@@ -143,6 +143,8 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
143
143
|
repository?: string | undefined;
|
|
144
144
|
license?: string | undefined;
|
|
145
145
|
homepage?: string | undefined;
|
|
146
|
+
docs?: string | undefined;
|
|
147
|
+
licensing?: string | undefined;
|
|
146
148
|
branch?: string | undefined;
|
|
147
149
|
preid?: string | undefined;
|
|
148
150
|
owner?: string | undefined;
|
|
@@ -917,6 +917,8 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
917
917
|
repository: z.ZodOptional<z.ZodString>;
|
|
918
918
|
license: z.ZodDefault<z.ZodString>;
|
|
919
919
|
homepage: z.ZodDefault<z.ZodString>;
|
|
920
|
+
docs: z.ZodDefault<z.ZodString>;
|
|
921
|
+
licensing: z.ZodDefault<z.ZodString>;
|
|
920
922
|
branch: z.ZodDefault<z.ZodString>;
|
|
921
923
|
preid: z.ZodOptional<z.ZodString>;
|
|
922
924
|
owner: z.ZodDefault<z.ZodString>;
|
|
@@ -1583,6 +1585,8 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1583
1585
|
organization: string;
|
|
1584
1586
|
license: string;
|
|
1585
1587
|
homepage: string;
|
|
1588
|
+
docs: string;
|
|
1589
|
+
licensing: string;
|
|
1586
1590
|
branch: string;
|
|
1587
1591
|
owner: string;
|
|
1588
1592
|
worker: string;
|
|
@@ -1880,6 +1884,8 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1880
1884
|
repository?: string | undefined;
|
|
1881
1885
|
license?: string | undefined;
|
|
1882
1886
|
homepage?: string | undefined;
|
|
1887
|
+
docs?: string | undefined;
|
|
1888
|
+
licensing?: string | undefined;
|
|
1883
1889
|
branch?: string | undefined;
|
|
1884
1890
|
preid?: string | undefined;
|
|
1885
1891
|
owner?: string | undefined;
|
package/src/base/index.js
CHANGED
|
@@ -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("#
|
|
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
|
|
65395
|
-
homepage: z2.string().trim().url().default(
|
|
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("#
|
|
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
|
|
65395
|
-
homepage: z2.string().trim().url().default(
|
|
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("#
|
|
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
|
|
65395
|
-
homepage: z2.string().trim().url().default(
|
|
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;
|
|
@@ -61877,6 +61877,22 @@ var init_find_workspace_root = __esm({
|
|
|
61877
61877
|
}
|
|
61878
61878
|
});
|
|
61879
61879
|
|
|
61880
|
+
// packages/config/src/constants.ts
|
|
61881
|
+
var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
|
|
61882
|
+
var init_constants = __esm({
|
|
61883
|
+
"packages/config/src/constants.ts"() {
|
|
61884
|
+
STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
61885
|
+
STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
61886
|
+
STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
|
|
61887
|
+
}
|
|
61888
|
+
});
|
|
61889
|
+
|
|
61890
|
+
// packages/config/src/define-config.ts
|
|
61891
|
+
var init_define_config = __esm({
|
|
61892
|
+
"packages/config/src/define-config.ts"() {
|
|
61893
|
+
}
|
|
61894
|
+
});
|
|
61895
|
+
|
|
61880
61896
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
61881
61897
|
function setErrorMap(map) {
|
|
61882
61898
|
overrideErrorMap = map;
|
|
@@ -65794,9 +65810,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
|
|
|
65794
65810
|
var init_schema = __esm({
|
|
65795
65811
|
"packages/config/src/schema.ts"() {
|
|
65796
65812
|
init_lib();
|
|
65813
|
+
init_constants();
|
|
65797
65814
|
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");
|
|
65798
65815
|
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");
|
|
65799
|
-
BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
65816
|
+
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");
|
|
65800
65817
|
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");
|
|
65801
65818
|
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");
|
|
65802
65819
|
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");
|
|
@@ -65879,8 +65896,10 @@ var init_schema = __esm({
|
|
|
65879
65896
|
namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
65880
65897
|
organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
65881
65898
|
repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
65882
|
-
license: z2.string().trim().default("Apache
|
|
65883
|
-
homepage: z2.string().trim().url().default(
|
|
65899
|
+
license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
65900
|
+
homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
|
|
65901
|
+
docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
|
|
65902
|
+
licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
65884
65903
|
branch: z2.string().trim().default("main").describe("The branch of the workspace"),
|
|
65885
65904
|
preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
65886
65905
|
owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
|
|
@@ -65949,18 +65968,13 @@ var init_types = __esm({
|
|
|
65949
65968
|
}
|
|
65950
65969
|
});
|
|
65951
65970
|
|
|
65952
|
-
// packages/config/src/define-config.ts
|
|
65953
|
-
var init_define_config = __esm({
|
|
65954
|
-
"packages/config/src/define-config.ts"() {
|
|
65955
|
-
}
|
|
65956
|
-
});
|
|
65957
|
-
|
|
65958
65971
|
// packages/config/src/index.ts
|
|
65959
65972
|
var init_src = __esm({
|
|
65960
65973
|
"packages/config/src/index.ts"() {
|
|
65974
|
+
init_constants();
|
|
65975
|
+
init_define_config();
|
|
65961
65976
|
init_schema();
|
|
65962
65977
|
init_types();
|
|
65963
|
-
init_define_config();
|
|
65964
65978
|
}
|
|
65965
65979
|
});
|
|
65966
65980
|
|
|
@@ -66066,6 +66080,8 @@ var init_get_default_config = __esm({
|
|
|
66066
66080
|
repository,
|
|
66067
66081
|
license: license ?? DEFAULT_STORM_CONFIG.license,
|
|
66068
66082
|
homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
|
|
66083
|
+
docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
|
|
66084
|
+
licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
|
|
66069
66085
|
extensions: {
|
|
66070
66086
|
...config.extensions
|
|
66071
66087
|
}
|
|
@@ -68157,6 +68173,8 @@ var init_get_env = __esm({
|
|
|
68157
68173
|
packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
|
|
68158
68174
|
license: process.env[`${prefix}LICENSE`],
|
|
68159
68175
|
homepage: process.env[`${prefix}HOMEPAGE`],
|
|
68176
|
+
docs: process.env[`${prefix}DOCS`],
|
|
68177
|
+
licensing: process.env[`${prefix}LICENSING`],
|
|
68160
68178
|
timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
|
|
68161
68179
|
locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
|
|
68162
68180
|
configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
|
|
@@ -68205,6 +68223,20 @@ var init_get_env = __esm({
|
|
|
68205
68223
|
},
|
|
68206
68224
|
{}
|
|
68207
68225
|
) : getThemeColorConfigEnv(prefix);
|
|
68226
|
+
if (config.docs === STORM_DEFAULT_DOCS) {
|
|
68227
|
+
if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
|
|
68228
|
+
config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
68229
|
+
} else {
|
|
68230
|
+
config.docs = `${config.homepage}/docs`;
|
|
68231
|
+
}
|
|
68232
|
+
}
|
|
68233
|
+
if (config.licensing === STORM_DEFAULT_LICENSING) {
|
|
68234
|
+
if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
|
|
68235
|
+
config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
68236
|
+
} else {
|
|
68237
|
+
config.licensing = `${config.homepage}/docs`;
|
|
68238
|
+
}
|
|
68239
|
+
}
|
|
68208
68240
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
68209
68241
|
if (serializedConfig) {
|
|
68210
68242
|
const parsed = JSON.parse(serializedConfig);
|
|
@@ -68322,6 +68354,12 @@ var init_set_env = __esm({
|
|
|
68322
68354
|
if (config.homepage) {
|
|
68323
68355
|
process.env[`${prefix}HOMEPAGE`] = config.homepage;
|
|
68324
68356
|
}
|
|
68357
|
+
if (config.docs) {
|
|
68358
|
+
process.env[`${prefix}DOCS`] = config.docs;
|
|
68359
|
+
}
|
|
68360
|
+
if (config.licensing) {
|
|
68361
|
+
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
68362
|
+
}
|
|
68325
68363
|
if (config.timezone) {
|
|
68326
68364
|
process.env[`${prefix}TIMEZONE`] = config.timezone;
|
|
68327
68365
|
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("#
|
|
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
|
|
65395
|
-
homepage: z2.string().trim().url().default(
|
|
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;
|