@storm-software/config 1.39.0 → 1.41.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,83 +1,103 @@
1
- ## 1.39.0 (2024-08-04)
1
+ ## 1.41.0 (2024-08-29)
2
+
3
+
4
+ ### Features
5
+
6
+ - **workspace-tools:** Added `nx-default.json` and `nx-cloud.json` files ([4bb13faa](https://github.com/storm-software/storm-ops/commit/4bb13faa))
2
7
 
8
+ ## 1.40.0 (2024-08-29)
3
9
 
4
10
  ### Features
5
11
 
6
- - **config:** Added the `docs` and `licensing` options to the Storm configuration ([c867efe1](https://github.com/storm-software/storm-ops/commit/c867efe1))
12
+ - **workspace-tools:** Added base entry to package
13
+ ([b0d3b788](https://github.com/storm-software/storm-ops/commit/b0d3b788))
7
14
 
8
- - **config:** Updated default `brand` color and added proper URLs to file banners ([008e6ef4](https://github.com/storm-software/storm-ops/commit/008e6ef4))
15
+ ## 1.39.0 (2024-08-04)
16
+
17
+ ### Features
18
+
19
+ - **config:** Added the `docs` and `licensing` options to the Storm
20
+ configuration
21
+ ([c867efe1](https://github.com/storm-software/storm-ops/commit/c867efe1))
9
22
 
23
+ - **config:** Updated default `brand` color and added proper URLs to file
24
+ banners
25
+ ([008e6ef4](https://github.com/storm-software/storm-ops/commit/008e6ef4))
10
26
 
11
27
  ### Bug Fixes
12
28
 
13
- - **build-tools:** Resolve issues with logic in `outExtension` utility function ([8cdc691b](https://github.com/storm-software/storm-ops/commit/8cdc691b))
29
+ - **build-tools:** Resolve issues with logic in `outExtension` utility function
30
+ ([8cdc691b](https://github.com/storm-software/storm-ops/commit/8cdc691b))
14
31
 
15
32
  ## 1.38.0 (2024-08-03)
16
33
 
17
-
18
34
  ### Features
19
35
 
20
- - **build-tools:** Add back experimental DTS option to TSUP ([4fe9652b](https://github.com/storm-software/storm-ops/commit/4fe9652b))
36
+ - **build-tools:** Add back experimental DTS option to TSUP
37
+ ([4fe9652b](https://github.com/storm-software/storm-ops/commit/4fe9652b))
21
38
 
22
39
  ## 1.37.0 (2024-08-03)
23
40
 
24
-
25
41
  ### Features
26
42
 
27
- - **build-tools:** Add tsup build's rollup helpers ([27ecd4e6](https://github.com/storm-software/storm-ops/commit/27ecd4e6))
43
+ - **build-tools:** Add tsup build's rollup helpers
44
+ ([27ecd4e6](https://github.com/storm-software/storm-ops/commit/27ecd4e6))
28
45
 
29
46
  ## 1.36.0 (2024-08-02)
30
47
 
31
-
32
48
  ### Features
33
49
 
34
- - **build-tools:** Added back the export statements to unbuild configuration ([5fb63682](https://github.com/storm-software/storm-ops/commit/5fb63682))
50
+ - **build-tools:** Added back the export statements to unbuild configuration
51
+ ([5fb63682](https://github.com/storm-software/storm-ops/commit/5fb63682))
35
52
 
36
53
  ## 1.35.0 (2024-08-02)
37
54
 
38
-
39
55
  ### Features
40
56
 
41
- - **config:** Removed the `ci` option from config and enabled better caching ([2456c216](https://github.com/storm-software/storm-ops/commit/2456c216))
57
+ - **config:** Removed the `ci` option from config and enabled better caching
58
+ ([2456c216](https://github.com/storm-software/storm-ops/commit/2456c216))
42
59
 
43
- - **build-tools:** Populate the distribution's package.json with `exports` based on project structure ([cf0eed52](https://github.com/storm-software/storm-ops/commit/cf0eed52))
60
+ - **build-tools:** Populate the distribution's package.json with `exports` based
61
+ on project structure
62
+ ([cf0eed52](https://github.com/storm-software/storm-ops/commit/cf0eed52))
44
63
 
45
64
  ## 1.34.1 (2024-07-31)
46
65
 
47
-
48
66
  ### Bug Fixes
49
67
 
50
- - **build-tools:** Remove unused plugin from unbuild ([ad8a5991](https://github.com/storm-software/storm-ops/commit/ad8a5991))
68
+ - **build-tools:** Remove unused plugin from unbuild
69
+ ([ad8a5991](https://github.com/storm-software/storm-ops/commit/ad8a5991))
51
70
 
52
71
  ## 1.34.0 (2024-07-31)
53
72
 
54
-
55
73
  ### Features
56
74
 
57
- - **create-storm-workspace:** Configure workspace to include GitHub ([eea71de7](https://github.com/storm-software/storm-ops/commit/eea71de7))
75
+ - **create-storm-workspace:** Configure workspace to include GitHub
76
+ ([eea71de7](https://github.com/storm-software/storm-ops/commit/eea71de7))
58
77
 
59
78
  ## 1.33.0 (2024-07-30)
60
79
 
61
-
62
80
  ### Features
63
81
 
64
- - **eslint:** Added the header plugin ([cc0cbbea](https://github.com/storm-software/storm-ops/commit/cc0cbbea))
82
+ - **eslint:** Added the header plugin
83
+ ([cc0cbbea](https://github.com/storm-software/storm-ops/commit/cc0cbbea))
65
84
 
66
- - **eslint:** Removed invalid JSON configuration from package ([2622ee7e](https://github.com/storm-software/storm-ops/commit/2622ee7e))
85
+ - **eslint:** Removed invalid JSON configuration from package
86
+ ([2622ee7e](https://github.com/storm-software/storm-ops/commit/2622ee7e))
67
87
 
68
88
  ## 1.32.0 (2024-07-29)
69
89
 
70
-
71
90
  ### Features
72
91
 
73
- - **build-tools:** Update unbuild process to use the `tsconfck` package ([d0e4dbf6](https://github.com/storm-software/storm-ops/commit/d0e4dbf6))
92
+ - **build-tools:** Update unbuild process to use the `tsconfck` package
93
+ ([d0e4dbf6](https://github.com/storm-software/storm-ops/commit/d0e4dbf6))
74
94
 
75
95
  ## 1.31.0 (2024-07-29)
76
96
 
77
-
78
97
  ### Features
79
98
 
80
- - **config:** Added the `brand2` and `brand3` color tokens ([58705631](https://github.com/storm-software/storm-ops/commit/58705631))
99
+ - **config:** Added the `brand2` and `brand3` color tokens
100
+ ([58705631](https://github.com/storm-software/storm-ops/commit/58705631))
81
101
 
82
102
  ## 1.30.0 (2024-07-19)
83
103
 
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.38.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.40.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config",
3
- "version": "1.39.0",
3
+ "version": "1.41.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",
@@ -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";