@storm-software/config 1.65.0 → 1.67.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 +33 -2
- package/README.md +5 -2
- package/declarations.d.ts +6 -1
- package/index.cjs +22 -5
- package/index.js +22 -5
- package/meta.cjs.json +94 -1
- package/meta.esm.json +109 -1
- package/package.json +1 -1
- package/presets/base.json +15 -9
- package/schemas/storm.schema.json +41 -0
- package/src/define-config.d.ts +27 -0
- package/src/schema.d.ts +381 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,40 @@
|
|
|
1
|
-
## 1.
|
|
1
|
+
## 1.67.0 (2024-11-01)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **eslint:** Resolve type issues with Nx plugin in preset ([d27162e2](https://github.com/storm-software/storm-ops/commit/d27162e2))
|
|
6
|
+
- **config:** Regenerate the config JSON Schema file ([7258f12d](https://github.com/storm-software/storm-ops/commit/7258f12d))
|
|
7
|
+
- **config:** Added the `positive` and `negative` color tokens ([24c5e15f](https://github.com/storm-software/storm-ops/commit/24c5e15f))
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **eslint:** Resolved issue with plugin typings ([0603b24f](https://github.com/storm-software/storm-ops/commit/0603b24f))
|
|
12
|
+
|
|
13
|
+
## 1.66.0 (2024-10-31)
|
|
2
14
|
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- **workspace-tools:** Update the Nx package code to conform to latest type
|
|
18
|
+
definitions
|
|
19
|
+
([b1dbdff8](https://github.com/storm-software/storm-ops/commit/b1dbdff8))
|
|
20
|
+
- **eslint:** Added the storybook eslint plugin to preset
|
|
21
|
+
([aa95de6e](https://github.com/storm-software/storm-ops/commit/aa95de6e))
|
|
22
|
+
- **config:** Added the `link` color token to Storm configuration
|
|
23
|
+
([c66f39ed](https://github.com/storm-software/storm-ops/commit/c66f39ed))
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
- **cloudflare-tools:** Remove references to removed `projectNameAndRootFormat`
|
|
28
|
+
Nx options
|
|
29
|
+
([7db6e9d6](https://github.com/storm-software/storm-ops/commit/7db6e9d6))
|
|
30
|
+
|
|
31
|
+
## 1.65.0 (2024-10-22)
|
|
3
32
|
|
|
4
33
|
### Features
|
|
5
34
|
|
|
6
|
-
- **build-tools:** Ensure all nested folders have `exports` generated during
|
|
35
|
+
- **build-tools:** Ensure all nested folders have `exports` generated during
|
|
36
|
+
unbuild
|
|
37
|
+
([cd57af07](https://github.com/storm-software/storm-ops/commit/cd57af07))
|
|
7
38
|
|
|
8
39
|
## 1.64.1 (2024-10-22)
|
|
9
40
|
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -80,9 +80,12 @@ environment variables:
|
|
|
80
80
|
| STORM_COLOR_ERROR | The workspace's error theme color | `#990000` |
|
|
81
81
|
| STORM_COLOR_FATAL | The workspace's fatal theme color | `#7d1a1a` |
|
|
82
82
|
| STORM_COLOR_INFO | The workspace's info theme color | `#0ea5e9` |
|
|
83
|
-
|
|
|
83
|
+
| STORM_COLOR_BRAND | The workspace's primary theme color | `#1fb2a6` |
|
|
84
84
|
| STORM_COLOR_SUCCESS | The workspace's success theme color | `#087f5b` |
|
|
85
85
|
| STORM_COLOR_WARNING | The workspace's warning theme color | `#fcc419` |
|
|
86
|
+
| STORM_COLOR_HELP | The workspace's help theme color | `#818cf8` |
|
|
87
|
+
| STORM_COLOR_POSITIVE | The workspace's positive theme color | `#22c55e` |
|
|
88
|
+
| STORM_COLOR_NEGATIVE | The workspace's negative theme color | `#dc2626` |
|
|
86
89
|
| STORM_ENV | The current runtime environment of the package | "production" |
|
|
87
90
|
| STORM_HOMEPAGE | The homepage URL for the workspace | <https://stormsoftware.com> |
|
|
88
91
|
| STORM_LICENSE | The license used by the workspace | "Apache License 2.0" |
|
package/declarations.d.ts
CHANGED
|
@@ -63,12 +63,17 @@ export const COLOR_KEYS = [
|
|
|
63
63
|
"light",
|
|
64
64
|
"base",
|
|
65
65
|
"brand",
|
|
66
|
+
"alternate",
|
|
66
67
|
"accent",
|
|
68
|
+
"link",
|
|
67
69
|
"success",
|
|
70
|
+
"help",
|
|
68
71
|
"info",
|
|
69
72
|
"warning",
|
|
70
73
|
"error",
|
|
71
|
-
"fatal"
|
|
74
|
+
"fatal",
|
|
75
|
+
"positive",
|
|
76
|
+
"negative"
|
|
72
77
|
];
|
|
73
78
|
|
|
74
79
|
export const STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
package/index.cjs
CHANGED
|
@@ -3964,24 +3964,30 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
|
|
|
3964
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");
|
|
3965
3965
|
var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
3966
3966
|
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");
|
|
3967
|
+
var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
3967
3968
|
var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
3968
3969
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
3969
3970
|
var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
|
|
3970
3971
|
var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
3971
3972
|
var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
|
|
3972
3973
|
var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
3974
|
+
var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
3975
|
+
var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
3973
3976
|
var DarkThemeColorConfigSchema = z.object({
|
|
3974
3977
|
foreground: LightColorSchema,
|
|
3975
3978
|
background: DarkColorSchema,
|
|
3976
3979
|
brand: BrandColorSchema,
|
|
3977
3980
|
alternate: AlternateColorSchema,
|
|
3978
3981
|
accent: AccentColorSchema,
|
|
3982
|
+
link: LinkColorSchema,
|
|
3979
3983
|
help: HelpColorSchema,
|
|
3980
3984
|
success: SuccessColorSchema,
|
|
3981
3985
|
info: InfoColorSchema,
|
|
3982
3986
|
warning: WarningColorSchema,
|
|
3983
3987
|
error: ErrorColorSchema,
|
|
3984
|
-
fatal: FatalColorSchema
|
|
3988
|
+
fatal: FatalColorSchema,
|
|
3989
|
+
positive: PositiveColorSchema,
|
|
3990
|
+
negative: NegativeColorSchema
|
|
3985
3991
|
});
|
|
3986
3992
|
var LightThemeColorConfigSchema = z.object({
|
|
3987
3993
|
foreground: DarkColorSchema,
|
|
@@ -3989,12 +3995,15 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
3989
3995
|
brand: BrandColorSchema,
|
|
3990
3996
|
alternate: AlternateColorSchema,
|
|
3991
3997
|
accent: AccentColorSchema,
|
|
3998
|
+
link: LinkColorSchema,
|
|
3992
3999
|
help: HelpColorSchema,
|
|
3993
4000
|
success: SuccessColorSchema,
|
|
3994
4001
|
info: InfoColorSchema,
|
|
3995
4002
|
warning: WarningColorSchema,
|
|
3996
4003
|
error: ErrorColorSchema,
|
|
3997
|
-
fatal: FatalColorSchema
|
|
4004
|
+
fatal: FatalColorSchema,
|
|
4005
|
+
positive: PositiveColorSchema,
|
|
4006
|
+
negative: NegativeColorSchema
|
|
3998
4007
|
});
|
|
3999
4008
|
var MultiThemeColorConfigSchema = z.object({
|
|
4000
4009
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -4006,12 +4015,15 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
4006
4015
|
brand: BrandColorSchema,
|
|
4007
4016
|
alternate: AlternateColorSchema,
|
|
4008
4017
|
accent: AccentColorSchema,
|
|
4018
|
+
link: LinkColorSchema,
|
|
4009
4019
|
help: HelpColorSchema,
|
|
4010
4020
|
success: SuccessColorSchema,
|
|
4011
4021
|
info: InfoColorSchema,
|
|
4012
4022
|
warning: WarningColorSchema,
|
|
4013
4023
|
error: ErrorColorSchema,
|
|
4014
|
-
fatal: FatalColorSchema
|
|
4024
|
+
fatal: FatalColorSchema,
|
|
4025
|
+
positive: PositiveColorSchema,
|
|
4026
|
+
negative: NegativeColorSchema
|
|
4015
4027
|
});
|
|
4016
4028
|
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
4017
4029
|
var RegistryConfigSchema = z.object({
|
|
@@ -4096,12 +4108,17 @@ var StormConfigSchema = z.object({
|
|
|
4096
4108
|
var COLOR_KEYS = [
|
|
4097
4109
|
"dark",
|
|
4098
4110
|
"light",
|
|
4111
|
+
"base",
|
|
4099
4112
|
"brand",
|
|
4113
|
+
"alternate",
|
|
4100
4114
|
"accent",
|
|
4101
|
-
"
|
|
4115
|
+
"link",
|
|
4102
4116
|
"success",
|
|
4117
|
+
"help",
|
|
4103
4118
|
"info",
|
|
4104
4119
|
"warning",
|
|
4105
4120
|
"error",
|
|
4106
|
-
"fatal"
|
|
4121
|
+
"fatal",
|
|
4122
|
+
"positive",
|
|
4123
|
+
"negative"
|
|
4107
4124
|
];
|
package/index.js
CHANGED
|
@@ -3926,24 +3926,30 @@ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,
|
|
|
3926
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");
|
|
3927
3927
|
var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
3928
3928
|
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");
|
|
3929
|
+
var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
|
|
3929
3930
|
var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
3930
3931
|
var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
3931
3932
|
var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
|
|
3932
3933
|
var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
|
|
3933
3934
|
var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
|
|
3934
3935
|
var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
|
|
3936
|
+
var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
|
|
3937
|
+
var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
|
|
3935
3938
|
var DarkThemeColorConfigSchema = z.object({
|
|
3936
3939
|
foreground: LightColorSchema,
|
|
3937
3940
|
background: DarkColorSchema,
|
|
3938
3941
|
brand: BrandColorSchema,
|
|
3939
3942
|
alternate: AlternateColorSchema,
|
|
3940
3943
|
accent: AccentColorSchema,
|
|
3944
|
+
link: LinkColorSchema,
|
|
3941
3945
|
help: HelpColorSchema,
|
|
3942
3946
|
success: SuccessColorSchema,
|
|
3943
3947
|
info: InfoColorSchema,
|
|
3944
3948
|
warning: WarningColorSchema,
|
|
3945
3949
|
error: ErrorColorSchema,
|
|
3946
|
-
fatal: FatalColorSchema
|
|
3950
|
+
fatal: FatalColorSchema,
|
|
3951
|
+
positive: PositiveColorSchema,
|
|
3952
|
+
negative: NegativeColorSchema
|
|
3947
3953
|
});
|
|
3948
3954
|
var LightThemeColorConfigSchema = z.object({
|
|
3949
3955
|
foreground: DarkColorSchema,
|
|
@@ -3951,12 +3957,15 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
3951
3957
|
brand: BrandColorSchema,
|
|
3952
3958
|
alternate: AlternateColorSchema,
|
|
3953
3959
|
accent: AccentColorSchema,
|
|
3960
|
+
link: LinkColorSchema,
|
|
3954
3961
|
help: HelpColorSchema,
|
|
3955
3962
|
success: SuccessColorSchema,
|
|
3956
3963
|
info: InfoColorSchema,
|
|
3957
3964
|
warning: WarningColorSchema,
|
|
3958
3965
|
error: ErrorColorSchema,
|
|
3959
|
-
fatal: FatalColorSchema
|
|
3966
|
+
fatal: FatalColorSchema,
|
|
3967
|
+
positive: PositiveColorSchema,
|
|
3968
|
+
negative: NegativeColorSchema
|
|
3960
3969
|
});
|
|
3961
3970
|
var MultiThemeColorConfigSchema = z.object({
|
|
3962
3971
|
dark: DarkThemeColorConfigSchema,
|
|
@@ -3968,12 +3977,15 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
3968
3977
|
brand: BrandColorSchema,
|
|
3969
3978
|
alternate: AlternateColorSchema,
|
|
3970
3979
|
accent: AccentColorSchema,
|
|
3980
|
+
link: LinkColorSchema,
|
|
3971
3981
|
help: HelpColorSchema,
|
|
3972
3982
|
success: SuccessColorSchema,
|
|
3973
3983
|
info: InfoColorSchema,
|
|
3974
3984
|
warning: WarningColorSchema,
|
|
3975
3985
|
error: ErrorColorSchema,
|
|
3976
|
-
fatal: FatalColorSchema
|
|
3986
|
+
fatal: FatalColorSchema,
|
|
3987
|
+
positive: PositiveColorSchema,
|
|
3988
|
+
negative: NegativeColorSchema
|
|
3977
3989
|
});
|
|
3978
3990
|
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
3979
3991
|
var RegistryConfigSchema = z.object({
|
|
@@ -4058,14 +4070,19 @@ var StormConfigSchema = z.object({
|
|
|
4058
4070
|
var COLOR_KEYS = [
|
|
4059
4071
|
"dark",
|
|
4060
4072
|
"light",
|
|
4073
|
+
"base",
|
|
4061
4074
|
"brand",
|
|
4075
|
+
"alternate",
|
|
4062
4076
|
"accent",
|
|
4063
|
-
"
|
|
4077
|
+
"link",
|
|
4064
4078
|
"success",
|
|
4079
|
+
"help",
|
|
4065
4080
|
"info",
|
|
4066
4081
|
"warning",
|
|
4067
4082
|
"error",
|
|
4068
|
-
"fatal"
|
|
4083
|
+
"fatal",
|
|
4084
|
+
"positive",
|
|
4085
|
+
"negative"
|
|
4069
4086
|
];
|
|
4070
4087
|
export {
|
|
4071
4088
|
COLOR_KEYS,
|
package/meta.cjs.json
CHANGED
|
@@ -1 +1,94 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"inputs": {
|
|
3
|
+
"packages/config/src/constants.ts": {
|
|
4
|
+
"bytes": 211,
|
|
5
|
+
"imports": [],
|
|
6
|
+
"format": "esm"
|
|
7
|
+
},
|
|
8
|
+
"packages/config/src/define-config.ts": {
|
|
9
|
+
"bytes": 313,
|
|
10
|
+
"imports": [],
|
|
11
|
+
"format": "esm"
|
|
12
|
+
},
|
|
13
|
+
"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs": {
|
|
14
|
+
"bytes": 149466,
|
|
15
|
+
"imports": [],
|
|
16
|
+
"format": "esm"
|
|
17
|
+
},
|
|
18
|
+
"packages/config/src/schema.ts": {
|
|
19
|
+
"bytes": 10977,
|
|
20
|
+
"imports": [
|
|
21
|
+
{
|
|
22
|
+
"path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
|
|
23
|
+
"kind": "import-statement",
|
|
24
|
+
"original": "zod"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "packages/config/src/constants.ts",
|
|
28
|
+
"kind": "import-statement",
|
|
29
|
+
"original": "./constants"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"format": "esm"
|
|
33
|
+
},
|
|
34
|
+
"packages/config/src/types.ts": {
|
|
35
|
+
"bytes": 1953,
|
|
36
|
+
"imports": [],
|
|
37
|
+
"format": "esm"
|
|
38
|
+
},
|
|
39
|
+
"packages/config/src/index.ts": {
|
|
40
|
+
"bytes": 340,
|
|
41
|
+
"imports": [
|
|
42
|
+
{
|
|
43
|
+
"path": "packages/config/src/constants.ts",
|
|
44
|
+
"kind": "import-statement",
|
|
45
|
+
"original": "./constants"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "packages/config/src/define-config.ts",
|
|
49
|
+
"kind": "import-statement",
|
|
50
|
+
"original": "./define-config"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"path": "packages/config/src/schema.ts",
|
|
54
|
+
"kind": "import-statement",
|
|
55
|
+
"original": "./schema"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"path": "packages/config/src/types.ts",
|
|
59
|
+
"kind": "import-statement",
|
|
60
|
+
"original": "./types"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"format": "esm"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"outputs": {
|
|
67
|
+
"dist/packages/config/index.cjs": {
|
|
68
|
+
"imports": [],
|
|
69
|
+
"exports": [],
|
|
70
|
+
"entryPoint": "packages/config/src/index.ts",
|
|
71
|
+
"inputs": {
|
|
72
|
+
"packages/config/src/index.ts": {
|
|
73
|
+
"bytesInOutput": 841
|
|
74
|
+
},
|
|
75
|
+
"packages/config/src/constants.ts": {
|
|
76
|
+
"bytesInOutput": 184
|
|
77
|
+
},
|
|
78
|
+
"packages/config/src/define-config.ts": {
|
|
79
|
+
"bytesInOutput": 37
|
|
80
|
+
},
|
|
81
|
+
"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs": {
|
|
82
|
+
"bytesInOutput": 116969
|
|
83
|
+
},
|
|
84
|
+
"packages/config/src/schema.ts": {
|
|
85
|
+
"bytesInOutput": 9121
|
|
86
|
+
},
|
|
87
|
+
"packages/config/src/types.ts": {
|
|
88
|
+
"bytesInOutput": 196
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"bytes": 128376
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
package/meta.esm.json
CHANGED
|
@@ -1 +1,109 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"inputs": {
|
|
3
|
+
"packages/config/src/constants.ts": {
|
|
4
|
+
"bytes": 211,
|
|
5
|
+
"imports": [],
|
|
6
|
+
"format": "esm"
|
|
7
|
+
},
|
|
8
|
+
"packages/config/src/define-config.ts": {
|
|
9
|
+
"bytes": 313,
|
|
10
|
+
"imports": [],
|
|
11
|
+
"format": "esm"
|
|
12
|
+
},
|
|
13
|
+
"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs": {
|
|
14
|
+
"bytes": 149466,
|
|
15
|
+
"imports": [],
|
|
16
|
+
"format": "esm"
|
|
17
|
+
},
|
|
18
|
+
"packages/config/src/schema.ts": {
|
|
19
|
+
"bytes": 10977,
|
|
20
|
+
"imports": [
|
|
21
|
+
{
|
|
22
|
+
"path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
|
|
23
|
+
"kind": "import-statement",
|
|
24
|
+
"original": "zod"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "packages/config/src/constants.ts",
|
|
28
|
+
"kind": "import-statement",
|
|
29
|
+
"original": "./constants"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"format": "esm"
|
|
33
|
+
},
|
|
34
|
+
"packages/config/src/types.ts": {
|
|
35
|
+
"bytes": 1953,
|
|
36
|
+
"imports": [],
|
|
37
|
+
"format": "esm"
|
|
38
|
+
},
|
|
39
|
+
"packages/config/src/index.ts": {
|
|
40
|
+
"bytes": 340,
|
|
41
|
+
"imports": [
|
|
42
|
+
{
|
|
43
|
+
"path": "packages/config/src/constants.ts",
|
|
44
|
+
"kind": "import-statement",
|
|
45
|
+
"original": "./constants"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "packages/config/src/define-config.ts",
|
|
49
|
+
"kind": "import-statement",
|
|
50
|
+
"original": "./define-config"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"path": "packages/config/src/schema.ts",
|
|
54
|
+
"kind": "import-statement",
|
|
55
|
+
"original": "./schema"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"path": "packages/config/src/types.ts",
|
|
59
|
+
"kind": "import-statement",
|
|
60
|
+
"original": "./types"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"format": "esm"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"outputs": {
|
|
67
|
+
"dist/packages/config/index.js": {
|
|
68
|
+
"imports": [],
|
|
69
|
+
"exports": [
|
|
70
|
+
"COLOR_KEYS",
|
|
71
|
+
"ColorConfigMapSchema",
|
|
72
|
+
"ColorConfigSchema",
|
|
73
|
+
"DarkThemeColorConfigSchema",
|
|
74
|
+
"LightThemeColorConfigSchema",
|
|
75
|
+
"MultiThemeColorConfigSchema",
|
|
76
|
+
"RegistryConfigSchema",
|
|
77
|
+
"RegistryUrlConfigSchema",
|
|
78
|
+
"STORM_DEFAULT_DOCS",
|
|
79
|
+
"STORM_DEFAULT_HOMEPAGE",
|
|
80
|
+
"STORM_DEFAULT_LICENSING",
|
|
81
|
+
"SingleThemeColorConfigSchema",
|
|
82
|
+
"StormConfigSchema",
|
|
83
|
+
"defineConfig"
|
|
84
|
+
],
|
|
85
|
+
"entryPoint": "packages/config/src/index.ts",
|
|
86
|
+
"inputs": {
|
|
87
|
+
"packages/config/src/constants.ts": {
|
|
88
|
+
"bytesInOutput": 184
|
|
89
|
+
},
|
|
90
|
+
"packages/config/src/index.ts": {
|
|
91
|
+
"bytesInOutput": 0
|
|
92
|
+
},
|
|
93
|
+
"packages/config/src/define-config.ts": {
|
|
94
|
+
"bytesInOutput": 37
|
|
95
|
+
},
|
|
96
|
+
"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs": {
|
|
97
|
+
"bytesInOutput": 116969
|
|
98
|
+
},
|
|
99
|
+
"packages/config/src/schema.ts": {
|
|
100
|
+
"bytesInOutput": 9121
|
|
101
|
+
},
|
|
102
|
+
"packages/config/src/types.ts": {
|
|
103
|
+
"bytesInOutput": 196
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"bytes": 127073
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.67.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,25 +20,31 @@
|
|
|
20
20
|
"colors": {
|
|
21
21
|
"light": {
|
|
22
22
|
"background": "#fafafa",
|
|
23
|
-
"foreground": "#
|
|
23
|
+
"foreground": "#1d1e22",
|
|
24
24
|
"brand": "#1fb2a6",
|
|
25
|
-
"alternate": "#
|
|
25
|
+
"alternate": "#db2777",
|
|
26
|
+
"link": "#01B4F5",
|
|
26
27
|
"help": "#5C4EE5",
|
|
27
28
|
"success": "#087f5b",
|
|
28
29
|
"info": "#0550ae",
|
|
29
30
|
"warning": "#e3b341",
|
|
30
|
-
"error": "#a40e26"
|
|
31
|
+
"error": "#a40e26",
|
|
32
|
+
"positive": "#22c55e",
|
|
33
|
+
"negative": "#dc2626"
|
|
31
34
|
},
|
|
32
35
|
"dark": {
|
|
33
|
-
"background": "#
|
|
34
|
-
"foreground": "#
|
|
35
|
-
"brand": "#
|
|
36
|
-
"alternate": "#
|
|
37
|
-
"
|
|
36
|
+
"background": "#1d1e22",
|
|
37
|
+
"foreground": "#cbd5e1",
|
|
38
|
+
"brand": "#2dd4bf",
|
|
39
|
+
"alternate": "#db2777",
|
|
40
|
+
"link": "#01B4F5",
|
|
41
|
+
"help": "#818cf8",
|
|
38
42
|
"success": "#10b981",
|
|
39
43
|
"info": "#58a6ff",
|
|
40
44
|
"warning": "#f3d371",
|
|
41
|
-
"error": "#d1242f"
|
|
45
|
+
"error": "#d1242f",
|
|
46
|
+
"positive": "#22c55e",
|
|
47
|
+
"negative": "#dc2626"
|
|
42
48
|
}
|
|
43
49
|
},
|
|
44
50
|
"extensions": {
|
|
@@ -250,6 +250,13 @@
|
|
|
250
250
|
"maxLength": 7,
|
|
251
251
|
"description": "The secondary brand specific color of the workspace"
|
|
252
252
|
},
|
|
253
|
+
"link": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"pattern": "^#([0-9a-f]{3}){1,2}$",
|
|
256
|
+
"minLength": 7,
|
|
257
|
+
"maxLength": 7,
|
|
258
|
+
"description": "The color used to display "
|
|
259
|
+
},
|
|
253
260
|
"help": {
|
|
254
261
|
"type": "string",
|
|
255
262
|
"pattern": "^#([0-9a-f]{3}){1,2}$",
|
|
@@ -296,6 +303,22 @@
|
|
|
296
303
|
"minLength": 7,
|
|
297
304
|
"maxLength": 7,
|
|
298
305
|
"description": "The fatal color of the workspace"
|
|
306
|
+
},
|
|
307
|
+
"positive": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"pattern": "^#([0-9a-f]{3}){1,2}$",
|
|
310
|
+
"minLength": 7,
|
|
311
|
+
"maxLength": 7,
|
|
312
|
+
"default": "#4ade80",
|
|
313
|
+
"description": "The positive number color of the workspace"
|
|
314
|
+
},
|
|
315
|
+
"negative": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"pattern": "^#([0-9a-f]{3}){1,2}$",
|
|
318
|
+
"minLength": 7,
|
|
319
|
+
"maxLength": 7,
|
|
320
|
+
"default": "#ef4444",
|
|
321
|
+
"description": "The negative number color of the workspace"
|
|
299
322
|
}
|
|
300
323
|
},
|
|
301
324
|
"additionalProperties": false
|
|
@@ -321,6 +344,9 @@
|
|
|
321
344
|
"accent": {
|
|
322
345
|
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/accent"
|
|
323
346
|
},
|
|
347
|
+
"link": {
|
|
348
|
+
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/link"
|
|
349
|
+
},
|
|
324
350
|
"help": {
|
|
325
351
|
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/help"
|
|
326
352
|
},
|
|
@@ -338,6 +364,12 @@
|
|
|
338
364
|
},
|
|
339
365
|
"fatal": {
|
|
340
366
|
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/fatal"
|
|
367
|
+
},
|
|
368
|
+
"positive": {
|
|
369
|
+
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/positive"
|
|
370
|
+
},
|
|
371
|
+
"negative": {
|
|
372
|
+
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/negative"
|
|
341
373
|
}
|
|
342
374
|
},
|
|
343
375
|
"additionalProperties": false
|
|
@@ -360,6 +392,9 @@
|
|
|
360
392
|
"accent": {
|
|
361
393
|
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/accent"
|
|
362
394
|
},
|
|
395
|
+
"link": {
|
|
396
|
+
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/link"
|
|
397
|
+
},
|
|
363
398
|
"help": {
|
|
364
399
|
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/help"
|
|
365
400
|
},
|
|
@@ -377,6 +412,12 @@
|
|
|
377
412
|
},
|
|
378
413
|
"fatal": {
|
|
379
414
|
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/fatal"
|
|
415
|
+
},
|
|
416
|
+
"positive": {
|
|
417
|
+
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/positive"
|
|
418
|
+
},
|
|
419
|
+
"negative": {
|
|
420
|
+
"$ref": "#/definitions/StormConfiguration/properties/colors/anyOf/0/anyOf/0/properties/negative"
|
|
380
421
|
}
|
|
381
422
|
},
|
|
382
423
|
"additionalProperties": false
|