@storm-software/config 1.21.0 → 1.23.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 +23 -0
- package/README.md +1 -1
- package/index.cjs +10 -0
- package/index.js +10 -0
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/presets/base.json +6 -0
- package/schemas/storm.schema.json +22 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## 1.23.0 (2024-06-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🚀 Features
|
|
5
|
+
|
|
6
|
+
- **config:** Added the `registry` configuration node ([708668a4](https://github.com/storm-software/storm-ops/commit/708668a4))
|
|
7
|
+
|
|
8
|
+
- **config:** Updates to Storm config JSON schema file ([5075774d](https://github.com/storm-software/storm-ops/commit/5075774d))
|
|
9
|
+
|
|
10
|
+
## 1.22.1 (2024-06-03)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🩹 Fixes
|
|
14
|
+
|
|
15
|
+
- **git-tools:** Resolved issue with import in markdown formatter ([5e3963de](https://github.com/storm-software/storm-ops/commit/5e3963de))
|
|
16
|
+
|
|
17
|
+
## 1.22.0 (2024-06-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🚀 Features
|
|
21
|
+
|
|
22
|
+
- **config:** Update the Storm Configuration JSON Schema file ([0376baa5](https://github.com/storm-software/storm-ops/commit/0376baa5))
|
|
23
|
+
|
|
1
24
|
## 1.21.0 (2024-06-02)
|
|
2
25
|
|
|
3
26
|
|
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/)
|
|
25
25
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
26
26
|
|
|
27
27
|
> [!IMPORTANT]
|
package/index.cjs
CHANGED
|
@@ -25,6 +25,8 @@ __export(src_exports, {
|
|
|
25
25
|
DarkThemeColorConfigSchema: () => DarkThemeColorConfigSchema,
|
|
26
26
|
LightThemeColorConfigSchema: () => LightThemeColorConfigSchema,
|
|
27
27
|
MultiThemeColorConfigSchema: () => MultiThemeColorConfigSchema,
|
|
28
|
+
RegistryConfigSchema: () => RegistryConfigSchema,
|
|
29
|
+
RegistryUrlConfigSchema: () => RegistryUrlConfigSchema,
|
|
28
30
|
SingleThemeColorConfigSchema: () => SingleThemeColorConfigSchema,
|
|
29
31
|
StormConfigSchema: () => StormConfigSchema,
|
|
30
32
|
defineConfig: () => defineConfig
|
|
@@ -3996,6 +3998,13 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
3996
3998
|
error: ErrorColorSchema,
|
|
3997
3999
|
fatal: FatalColorSchema
|
|
3998
4000
|
});
|
|
4001
|
+
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
4002
|
+
var RegistryConfigSchema = z.object({
|
|
4003
|
+
github: RegistryUrlConfigSchema,
|
|
4004
|
+
npm: RegistryUrlConfigSchema,
|
|
4005
|
+
cargo: RegistryUrlConfigSchema,
|
|
4006
|
+
cyclone: RegistryUrlConfigSchema
|
|
4007
|
+
}).describe("A list of remote registry URLs used by Storm Software");
|
|
3999
4008
|
var ColorConfigSchema = SingleThemeColorConfigSchema.or(
|
|
4000
4009
|
MultiThemeColorConfigSchema
|
|
4001
4010
|
).describe("Colors used for various workspace elements");
|
|
@@ -4051,6 +4060,7 @@ var StormConfigSchema = z.object({
|
|
|
4051
4060
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
4052
4061
|
),
|
|
4053
4062
|
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
4063
|
+
registry: RegistryConfigSchema,
|
|
4054
4064
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
4055
4065
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
4056
4066
|
),
|
package/index.js
CHANGED
|
@@ -3963,6 +3963,13 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
3963
3963
|
error: ErrorColorSchema,
|
|
3964
3964
|
fatal: FatalColorSchema
|
|
3965
3965
|
});
|
|
3966
|
+
var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
3967
|
+
var RegistryConfigSchema = z.object({
|
|
3968
|
+
github: RegistryUrlConfigSchema,
|
|
3969
|
+
npm: RegistryUrlConfigSchema,
|
|
3970
|
+
cargo: RegistryUrlConfigSchema,
|
|
3971
|
+
cyclone: RegistryUrlConfigSchema
|
|
3972
|
+
}).describe("A list of remote registry URLs used by Storm Software");
|
|
3966
3973
|
var ColorConfigSchema = SingleThemeColorConfigSchema.or(
|
|
3967
3974
|
MultiThemeColorConfigSchema
|
|
3968
3975
|
).describe("Colors used for various workspace elements");
|
|
@@ -4018,6 +4025,7 @@ var StormConfigSchema = z.object({
|
|
|
4018
4025
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
4019
4026
|
),
|
|
4020
4027
|
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
4028
|
+
registry: RegistryConfigSchema,
|
|
4021
4029
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
4022
4030
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
4023
4031
|
),
|
|
@@ -4052,6 +4060,8 @@ export {
|
|
|
4052
4060
|
DarkThemeColorConfigSchema,
|
|
4053
4061
|
LightThemeColorConfigSchema,
|
|
4054
4062
|
MultiThemeColorConfigSchema,
|
|
4063
|
+
RegistryConfigSchema,
|
|
4064
|
+
RegistryUrlConfigSchema,
|
|
4055
4065
|
SingleThemeColorConfigSchema,
|
|
4056
4066
|
StormConfigSchema,
|
|
4057
4067
|
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":
|
|
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":9247,"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":7682},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":126491}}}
|
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":
|
|
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":9247,"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":7682},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":125275}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
6
6
|
"repository": {
|
package/presets/base.json
CHANGED
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
"outputDirectory": "node_modules/.storm",
|
|
12
12
|
"packageManager": "pnpm",
|
|
13
13
|
"externalPackagePatterns": ["@storm-software/"],
|
|
14
|
+
"registry": {
|
|
15
|
+
"github": "https://npm.pkg.github.com",
|
|
16
|
+
"npm": "https://registry.npmjs.org",
|
|
17
|
+
"cargo": "https://crates.io",
|
|
18
|
+
"cyclone": "https://registry.cyclone-ui.com/components"
|
|
19
|
+
},
|
|
14
20
|
"colors": {
|
|
15
21
|
"light": {
|
|
16
22
|
"background": "#f4f4f5",
|
|
@@ -155,6 +155,27 @@
|
|
|
155
155
|
"default": null,
|
|
156
156
|
"description": "The default Cloudflare account ID of the workspace"
|
|
157
157
|
},
|
|
158
|
+
"registry": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"github": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"format": "uri",
|
|
164
|
+
"description": "A remote registry URL used to publish distributable packages"
|
|
165
|
+
},
|
|
166
|
+
"npm": {
|
|
167
|
+
"$ref": "#/definitions/StormConfiguration/properties/registry/properties/github"
|
|
168
|
+
},
|
|
169
|
+
"cargo": {
|
|
170
|
+
"$ref": "#/definitions/StormConfiguration/properties/registry/properties/github"
|
|
171
|
+
},
|
|
172
|
+
"cyclone": {
|
|
173
|
+
"$ref": "#/definitions/StormConfiguration/properties/registry/properties/github"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"additionalProperties": false,
|
|
177
|
+
"description": "A list of remote registry URLs used by Storm Software"
|
|
178
|
+
},
|
|
158
179
|
"configFile": {
|
|
159
180
|
"anyOf": [
|
|
160
181
|
{
|
|
@@ -367,7 +388,7 @@
|
|
|
367
388
|
"description": "Configuration of each used extension"
|
|
368
389
|
}
|
|
369
390
|
},
|
|
370
|
-
"required": ["colors"],
|
|
391
|
+
"required": ["registry", "colors"],
|
|
371
392
|
"additionalProperties": false,
|
|
372
393
|
"description": "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
373
394
|
}
|