@storm-software/config 1.38.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,69 +1,96 @@
1
- ## 1.38.0 (2024-08-03)
1
+ ## 1.40.0 (2024-08-29)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- - **build-tools:** Add back experimental DTS option to TSUP ([4fe9652b](https://github.com/storm-software/storm-ops/commit/4fe9652b))
6
+ - **workspace-tools:** Added base entry to package ([b0d3b788](https://github.com/storm-software/storm-ops/commit/b0d3b788))
7
7
 
8
- ## 1.37.0 (2024-08-03)
8
+ ## 1.39.0 (2024-08-04)
9
+
10
+ ### Features
11
+
12
+ - **config:** Added the `docs` and `licensing` options to the Storm
13
+ configuration
14
+ ([c867efe1](https://github.com/storm-software/storm-ops/commit/c867efe1))
9
15
 
16
+ - **config:** Updated default `brand` color and added proper URLs to file
17
+ banners
18
+ ([008e6ef4](https://github.com/storm-software/storm-ops/commit/008e6ef4))
19
+
20
+ ### Bug Fixes
21
+
22
+ - **build-tools:** Resolve issues with logic in `outExtension` utility function
23
+ ([8cdc691b](https://github.com/storm-software/storm-ops/commit/8cdc691b))
24
+
25
+ ## 1.38.0 (2024-08-03)
10
26
 
11
27
  ### Features
12
28
 
13
- - **build-tools:** Add tsup build's rollup helpers ([27ecd4e6](https://github.com/storm-software/storm-ops/commit/27ecd4e6))
29
+ - **build-tools:** Add back experimental DTS option to TSUP
30
+ ([4fe9652b](https://github.com/storm-software/storm-ops/commit/4fe9652b))
14
31
 
15
- ## 1.36.0 (2024-08-02)
32
+ ## 1.37.0 (2024-08-03)
33
+
34
+ ### Features
16
35
 
36
+ - **build-tools:** Add tsup build's rollup helpers
37
+ ([27ecd4e6](https://github.com/storm-software/storm-ops/commit/27ecd4e6))
38
+
39
+ ## 1.36.0 (2024-08-02)
17
40
 
18
41
  ### Features
19
42
 
20
- - **build-tools:** Added back the export statements to unbuild configuration ([5fb63682](https://github.com/storm-software/storm-ops/commit/5fb63682))
43
+ - **build-tools:** Added back the export statements to unbuild configuration
44
+ ([5fb63682](https://github.com/storm-software/storm-ops/commit/5fb63682))
21
45
 
22
46
  ## 1.35.0 (2024-08-02)
23
47
 
24
-
25
48
  ### Features
26
49
 
27
- - **config:** Removed the `ci` option from config and enabled better caching ([2456c216](https://github.com/storm-software/storm-ops/commit/2456c216))
50
+ - **config:** Removed the `ci` option from config and enabled better caching
51
+ ([2456c216](https://github.com/storm-software/storm-ops/commit/2456c216))
28
52
 
29
- - **build-tools:** Populate the distribution's package.json with `exports` based on project structure ([cf0eed52](https://github.com/storm-software/storm-ops/commit/cf0eed52))
53
+ - **build-tools:** Populate the distribution's package.json with `exports` based
54
+ on project structure
55
+ ([cf0eed52](https://github.com/storm-software/storm-ops/commit/cf0eed52))
30
56
 
31
57
  ## 1.34.1 (2024-07-31)
32
58
 
33
-
34
59
  ### Bug Fixes
35
60
 
36
- - **build-tools:** Remove unused plugin from unbuild ([ad8a5991](https://github.com/storm-software/storm-ops/commit/ad8a5991))
61
+ - **build-tools:** Remove unused plugin from unbuild
62
+ ([ad8a5991](https://github.com/storm-software/storm-ops/commit/ad8a5991))
37
63
 
38
64
  ## 1.34.0 (2024-07-31)
39
65
 
40
-
41
66
  ### Features
42
67
 
43
- - **create-storm-workspace:** Configure workspace to include GitHub ([eea71de7](https://github.com/storm-software/storm-ops/commit/eea71de7))
68
+ - **create-storm-workspace:** Configure workspace to include GitHub
69
+ ([eea71de7](https://github.com/storm-software/storm-ops/commit/eea71de7))
44
70
 
45
71
  ## 1.33.0 (2024-07-30)
46
72
 
47
-
48
73
  ### Features
49
74
 
50
- - **eslint:** Added the header plugin ([cc0cbbea](https://github.com/storm-software/storm-ops/commit/cc0cbbea))
75
+ - **eslint:** Added the header plugin
76
+ ([cc0cbbea](https://github.com/storm-software/storm-ops/commit/cc0cbbea))
51
77
 
52
- - **eslint:** Removed invalid JSON configuration from package ([2622ee7e](https://github.com/storm-software/storm-ops/commit/2622ee7e))
78
+ - **eslint:** Removed invalid JSON configuration from package
79
+ ([2622ee7e](https://github.com/storm-software/storm-ops/commit/2622ee7e))
53
80
 
54
81
  ## 1.32.0 (2024-07-29)
55
82
 
56
-
57
83
  ### Features
58
84
 
59
- - **build-tools:** Update unbuild process to use the `tsconfck` package ([d0e4dbf6](https://github.com/storm-software/storm-ops/commit/d0e4dbf6))
85
+ - **build-tools:** Update unbuild process to use the `tsconfck` package
86
+ ([d0e4dbf6](https://github.com/storm-software/storm-ops/commit/d0e4dbf6))
60
87
 
61
88
  ## 1.31.0 (2024-07-29)
62
89
 
63
-
64
90
  ### Features
65
91
 
66
- - **config:** Added the `brand2` and `brand3` color tokens ([58705631](https://github.com/storm-software/storm-ops/commit/58705631))
92
+ - **config:** Added the `brand2` and `brand3` color tokens
93
+ ([58705631](https://github.com/storm-software/storm-ops/commit/58705631))
67
94
 
68
95
  ## 1.30.0 (2024-07-19)
69
96
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.37.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.39.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/declarations.d.ts CHANGED
@@ -70,3 +70,6 @@ export const COLOR_KEYS = [
70
70
  "error",
71
71
  "fatal"
72
72
  ];
73
+
74
+ export const STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
75
+ export const STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
package/index.cjs CHANGED
@@ -27,12 +27,23 @@ __export(src_exports, {
27
27
  MultiThemeColorConfigSchema: () => MultiThemeColorConfigSchema,
28
28
  RegistryConfigSchema: () => RegistryConfigSchema,
29
29
  RegistryUrlConfigSchema: () => RegistryUrlConfigSchema,
30
+ STORM_DEFAULT_DOCS: () => STORM_DEFAULT_DOCS,
31
+ STORM_DEFAULT_HOMEPAGE: () => STORM_DEFAULT_HOMEPAGE,
32
+ STORM_DEFAULT_LICENSING: () => STORM_DEFAULT_LICENSING,
30
33
  SingleThemeColorConfigSchema: () => SingleThemeColorConfigSchema,
31
34
  StormConfigSchema: () => StormConfigSchema,
32
35
  defineConfig: () => defineConfig
33
36
  });
34
37
  module.exports = __toCommonJS(src_exports);
35
38
 
39
+ // packages/config/src/constants.ts
40
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
41
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
42
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
43
+
44
+ // packages/config/src/define-config.ts
45
+ var defineConfig = (input) => input;
46
+
36
47
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
37
48
  var util;
38
49
  (function(util2) {
@@ -3950,7 +3961,7 @@ var z = /* @__PURE__ */ Object.freeze({
3950
3961
  // packages/config/src/schema.ts
3951
3962
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
3952
3963
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3953
- var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3964
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
3954
3965
  var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
3955
3966
  var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
3956
3967
  var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
@@ -4033,8 +4044,10 @@ var StormConfigSchema = z.object({
4033
4044
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
4034
4045
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
4035
4046
  repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
4036
- license: z.string().trim().default("Apache 2.0").describe("The root directory of the package"),
4037
- homepage: z.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
4047
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
4048
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
4049
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
4050
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
4038
4051
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
4039
4052
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
4040
4053
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -4095,6 +4108,3 @@ var COLOR_KEYS = [
4095
4108
  "error",
4096
4109
  "fatal"
4097
4110
  ];
4098
-
4099
- // packages/config/src/define-config.ts
4100
- var defineConfig = (input) => input;
package/index.js CHANGED
@@ -1,3 +1,11 @@
1
+ // packages/config/src/constants.ts
2
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
3
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
4
+ var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
5
+
6
+ // packages/config/src/define-config.ts
7
+ var defineConfig = (input) => input;
8
+
1
9
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
2
10
  var util;
3
11
  (function(util2) {
@@ -3915,7 +3923,7 @@ var z = /* @__PURE__ */ Object.freeze({
3915
3923
  // packages/config/src/schema.ts
3916
3924
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
3917
3925
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
3918
- var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
3926
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
3919
3927
  var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
3920
3928
  var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
3921
3929
  var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
@@ -3998,8 +4006,10 @@ var StormConfigSchema = z.object({
3998
4006
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
3999
4007
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
4000
4008
  repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
4001
- license: z.string().trim().default("Apache 2.0").describe("The root directory of the package"),
4002
- homepage: z.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
4009
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
4010
+ homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
4011
+ docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
4012
+ licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
4003
4013
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
4004
4014
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
4005
4015
  owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -4060,9 +4070,6 @@ var COLOR_KEYS = [
4060
4070
  "error",
4061
4071
  "fatal"
4062
4072
  ];
4063
-
4064
- // packages/config/src/define-config.ts
4065
- var defineConfig = (input) => input;
4066
4073
  export {
4067
4074
  COLOR_KEYS,
4068
4075
  ColorConfigMapSchema,
@@ -4072,6 +4079,9 @@ export {
4072
4079
  MultiThemeColorConfigSchema,
4073
4080
  RegistryConfigSchema,
4074
4081
  RegistryUrlConfigSchema,
4082
+ STORM_DEFAULT_DOCS,
4083
+ STORM_DEFAULT_HOMEPAGE,
4084
+ STORM_DEFAULT_LICENSING,
4075
4085
  SingleThemeColorConfigSchema,
4076
4086
  StormConfigSchema,
4077
4087
  defineConfig
package/meta.cjs.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":9960,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/index.ts":{"bytesInOutput":679},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":8331},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":127140}}}
1
+ {"inputs":{"packages/config/src/constants.ts":{"bytes":211,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":10376,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"},{"path":"packages/config/src/constants.ts","kind":"import-statement","original":"./constants"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":340,"imports":[{"path":"packages/config/src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"},{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/packages/config/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/index.ts":{"bytesInOutput":841},"packages/config/src/constants.ts":{"bytesInOutput":184},"packages/config/src/define-config.ts":{"bytesInOutput":37},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":8568},"packages/config/src/types.ts":{"bytesInOutput":133}},"bytes":127760}}}
package/meta.esm.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":9960,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":311,"imports":[{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"}],"format":"esm"}},"outputs":{"dist/packages/config/index.js":{"imports":[],"exports":["COLOR_KEYS","ColorConfigMapSchema","ColorConfigSchema","DarkThemeColorConfigSchema","LightThemeColorConfigSchema","MultiThemeColorConfigSchema","RegistryConfigSchema","RegistryUrlConfigSchema","SingleThemeColorConfigSchema","StormConfigSchema","defineConfig"],"entryPoint":"packages/config/src/index.ts","inputs":{"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":8331},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":125924}}}
1
+ {"inputs":{"packages/config/src/constants.ts":{"bytes":211,"imports":[],"format":"esm"},"packages/config/src/define-config.ts":{"bytes":313,"imports":[],"format":"esm"},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytes":149466,"imports":[],"format":"esm"},"packages/config/src/schema.ts":{"bytes":10376,"imports":[{"path":"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"},{"path":"packages/config/src/constants.ts","kind":"import-statement","original":"./constants"}],"format":"esm"},"packages/config/src/types.ts":{"bytes":1890,"imports":[],"format":"esm"},"packages/config/src/index.ts":{"bytes":340,"imports":[{"path":"packages/config/src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"packages/config/src/define-config.ts","kind":"import-statement","original":"./define-config"},{"path":"packages/config/src/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/config/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/packages/config/index.js":{"imports":[],"exports":["COLOR_KEYS","ColorConfigMapSchema","ColorConfigSchema","DarkThemeColorConfigSchema","LightThemeColorConfigSchema","MultiThemeColorConfigSchema","RegistryConfigSchema","RegistryUrlConfigSchema","STORM_DEFAULT_DOCS","STORM_DEFAULT_HOMEPAGE","STORM_DEFAULT_LICENSING","SingleThemeColorConfigSchema","StormConfigSchema","defineConfig"],"entryPoint":"packages/config/src/index.ts","inputs":{"packages/config/src/constants.ts":{"bytesInOutput":184},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/define-config.ts":{"bytesInOutput":37},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":8568},"packages/config/src/types.ts":{"bytesInOutput":133}},"bytes":126457}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config",
3
- "version": "1.38.0",
3
+ "version": "1.40.0",
4
4
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
5
5
  "repository": {
6
6
  "type": "github",
package/presets/base.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "light": {
21
21
  "background": "#f4f4f5",
22
22
  "foreground": "#1d232a",
23
- "brand": "#1fb2a6",
23
+ "brand": "#3fc1b0",
24
24
  "brand2": "#7434DB",
25
25
  "brand3": "#00C2CE",
26
26
  "help": "#8250df",
@@ -32,7 +32,7 @@
32
32
  "dark": {
33
33
  "background": "#0D1017",
34
34
  "foreground": "#fcfcf5",
35
- "brand": "#1fb2a6",
35
+ "brand": "#3fc1b0",
36
36
  "brand2": "#7434DB",
37
37
  "brand3": "#00C2CE",
38
38
  "help": "#8256D0",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "license": {
35
35
  "type": "string",
36
- "default": "Apache 2.0",
37
- "description": "The root directory of the package"
36
+ "default": "Apache-2.0",
37
+ "description": "The license type of the package"
38
38
  },
39
39
  "homepage": {
40
40
  "type": "string",
@@ -42,6 +42,18 @@
42
42
  "default": "https://stormsoftware.com",
43
43
  "description": "The homepage of the workspace"
44
44
  },
45
+ "docs": {
46
+ "type": "string",
47
+ "format": "uri",
48
+ "default": "https://docs.stormsoftware.com",
49
+ "description": "The base documentation site for the workspace"
50
+ },
51
+ "licensing": {
52
+ "type": "string",
53
+ "format": "uri",
54
+ "default": "https://license.stormsoftware.com",
55
+ "description": "The base licensing site for the workspace"
56
+ },
45
57
  "branch": {
46
58
  "type": "string",
47
59
  "default": "main",
@@ -218,7 +230,7 @@
218
230
  "pattern": "^#([0-9a-f]{3}){1,2}$",
219
231
  "minLength": 7,
220
232
  "maxLength": 7,
221
- "default": "#1fb2a6",
233
+ "default": "#3fc1b0",
222
234
  "description": "The primary brand specific color of the workspace"
223
235
  },
224
236
  "brand2": {
@@ -0,0 +1,3 @@
1
+ export declare const STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
2
+ export declare const STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
3
+ export declare const STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
@@ -0,0 +1,174 @@
1
+ import type { StormConfigInput } from "./types";
2
+ /**
3
+ * Type the config values for the current Storm workspace
4
+ *
5
+ * @param input - The config values for the current Storm workspace
6
+ * @returns The config values for the current Storm workspace
7
+ */
8
+ export declare const defineConfig: (input: StormConfigInput) => {
9
+ colors: {
10
+ dark: {
11
+ foreground?: string | undefined;
12
+ background?: string | undefined;
13
+ brand?: string | undefined;
14
+ brand2?: string | undefined;
15
+ brand3?: string | undefined;
16
+ accent?: string | undefined;
17
+ help?: string | undefined;
18
+ success?: string | undefined;
19
+ info?: string | undefined;
20
+ warning?: string | undefined;
21
+ error?: string | undefined;
22
+ fatal?: string | undefined;
23
+ };
24
+ light: {
25
+ foreground?: string | undefined;
26
+ background?: string | undefined;
27
+ brand?: string | undefined;
28
+ brand2?: string | undefined;
29
+ brand3?: string | undefined;
30
+ accent?: string | undefined;
31
+ help?: string | undefined;
32
+ success?: string | undefined;
33
+ info?: string | undefined;
34
+ warning?: string | undefined;
35
+ error?: string | undefined;
36
+ fatal?: string | undefined;
37
+ };
38
+ } | {
39
+ brand?: string | undefined;
40
+ brand2?: string | undefined;
41
+ brand3?: string | undefined;
42
+ accent?: string | undefined;
43
+ help?: string | undefined;
44
+ success?: string | undefined;
45
+ info?: string | undefined;
46
+ warning?: string | undefined;
47
+ error?: string | undefined;
48
+ fatal?: string | undefined;
49
+ dark?: string | undefined;
50
+ light?: string | undefined;
51
+ } | {
52
+ base: {
53
+ dark: {
54
+ foreground?: string | undefined;
55
+ background?: string | undefined;
56
+ brand?: string | undefined;
57
+ brand2?: string | undefined;
58
+ brand3?: string | undefined;
59
+ accent?: string | undefined;
60
+ help?: string | undefined;
61
+ success?: string | undefined;
62
+ info?: string | undefined;
63
+ warning?: string | undefined;
64
+ error?: string | undefined;
65
+ fatal?: string | undefined;
66
+ };
67
+ light: {
68
+ foreground?: string | undefined;
69
+ background?: string | undefined;
70
+ brand?: string | undefined;
71
+ brand2?: string | undefined;
72
+ brand3?: string | undefined;
73
+ accent?: string | undefined;
74
+ help?: string | undefined;
75
+ success?: string | undefined;
76
+ info?: string | undefined;
77
+ warning?: string | undefined;
78
+ error?: string | undefined;
79
+ fatal?: string | undefined;
80
+ };
81
+ } | {
82
+ brand?: string | undefined;
83
+ brand2?: string | undefined;
84
+ brand3?: string | undefined;
85
+ accent?: string | undefined;
86
+ help?: string | undefined;
87
+ success?: string | undefined;
88
+ info?: string | undefined;
89
+ warning?: string | undefined;
90
+ error?: string | undefined;
91
+ fatal?: string | undefined;
92
+ dark?: string | undefined;
93
+ light?: string | undefined;
94
+ };
95
+ } | Record<string, {
96
+ dark: {
97
+ foreground?: string | undefined;
98
+ background?: string | undefined;
99
+ brand?: string | undefined;
100
+ brand2?: string | undefined;
101
+ brand3?: string | undefined;
102
+ accent?: string | undefined;
103
+ help?: string | undefined;
104
+ success?: string | undefined;
105
+ info?: string | undefined;
106
+ warning?: string | undefined;
107
+ error?: string | undefined;
108
+ fatal?: string | undefined;
109
+ };
110
+ light: {
111
+ foreground?: string | undefined;
112
+ background?: string | undefined;
113
+ brand?: string | undefined;
114
+ brand2?: string | undefined;
115
+ brand3?: string | undefined;
116
+ accent?: string | undefined;
117
+ help?: string | undefined;
118
+ success?: string | undefined;
119
+ info?: string | undefined;
120
+ warning?: string | undefined;
121
+ error?: string | undefined;
122
+ fatal?: string | undefined;
123
+ };
124
+ } | {
125
+ brand?: string | undefined;
126
+ brand2?: string | undefined;
127
+ brand3?: string | undefined;
128
+ accent?: string | undefined;
129
+ help?: string | undefined;
130
+ success?: string | undefined;
131
+ info?: string | undefined;
132
+ warning?: string | undefined;
133
+ error?: string | undefined;
134
+ fatal?: string | undefined;
135
+ dark?: string | undefined;
136
+ light?: string | undefined;
137
+ }>;
138
+ $schema?: string | undefined;
139
+ extends?: string | undefined;
140
+ name?: string | undefined;
141
+ namespace?: string | undefined;
142
+ organization?: string | undefined;
143
+ repository?: string | undefined;
144
+ license?: string | undefined;
145
+ homepage?: string | undefined;
146
+ docs?: string | undefined;
147
+ licensing?: string | undefined;
148
+ branch?: string | undefined;
149
+ preid?: string | undefined;
150
+ owner?: string | undefined;
151
+ worker?: string | undefined;
152
+ env?: "development" | "staging" | "production" | undefined;
153
+ workspaceRoot?: string | undefined;
154
+ packageDirectory?: string | undefined;
155
+ externalPackagePatterns?: string[] | undefined;
156
+ skipCache?: boolean | undefined;
157
+ cacheDirectory?: string | undefined;
158
+ buildDirectory?: string | undefined;
159
+ outputDirectory?: string | undefined;
160
+ runtimeVersion?: string | undefined;
161
+ packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
162
+ timezone?: string | undefined;
163
+ locale?: string | undefined;
164
+ logLevel?: "info" | "error" | "fatal" | "silent" | "warn" | "debug" | "trace" | "all" | undefined;
165
+ cloudflareAccountId?: string | null | undefined;
166
+ registry?: {
167
+ github?: string | undefined;
168
+ npm?: string | undefined;
169
+ cargo?: string | undefined;
170
+ cyclone?: string | undefined;
171
+ } | undefined;
172
+ configFile?: string | null | undefined;
173
+ extensions?: Record<string, any> | undefined;
174
+ };
package/src/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The config-schema library used by Storm Software for building TypeScript applications.
3
+ *
4
+ * @remarks
5
+ * A package containing various utilities to support custom workspace configurations
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ export * from "./constants";
10
+ export * from "./define-config";
11
+ export * from "./schema";
12
+ export * from "./types";