@storm-software/config 1.19.0 β 1.21.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 +19 -0
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/schemas/storm.schema.json +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## 1.21.0 (2024-06-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### π Features
|
|
5
|
+
|
|
6
|
+
- **config-tools:** Enhance the validations for the `cloudflareAccountId` configuration ([9fbc1954](https://github.com/storm-software/storm-ops/commit/9fbc1954))
|
|
7
|
+
|
|
8
|
+
## 1.20.0 (2024-05-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### π Features
|
|
12
|
+
|
|
13
|
+
- **cloudflare-tools:** Update worker generator to add hono depenendency ([946a9e59](https://github.com/storm-software/storm-ops/commit/946a9e59))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### β€οΈ Thank You
|
|
17
|
+
|
|
18
|
+
- Patrick Sullivan
|
|
19
|
+
|
|
1
20
|
## 1.19.0 (2024-05-29)
|
|
2
21
|
|
|
3
22
|
### π Features
|
package/index.cjs
CHANGED
|
@@ -4050,7 +4050,7 @@ var StormConfigSchema = z.object({
|
|
|
4050
4050
|
]).default("debug").describe(
|
|
4051
4051
|
"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
4052
|
),
|
|
4053
|
-
cloudflareAccountId: z.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
4053
|
+
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"),
|
|
4054
4054
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
4055
4055
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
4056
4056
|
),
|
package/index.js
CHANGED
|
@@ -4017,7 +4017,7 @@ var StormConfigSchema = z.object({
|
|
|
4017
4017
|
]).default("debug").describe(
|
|
4018
4018
|
"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
4019
|
),
|
|
4020
|
-
cloudflareAccountId: z.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
4020
|
+
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"),
|
|
4021
4021
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
4022
4022
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
4023
4023
|
),
|
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":8760,"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":569},"node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs":{"bytesInOutput":116969},"packages/config/src/schema.ts":{"bytesInOutput":7251},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":125950}}}
|
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":8760,"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","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":7251},"packages/config/src/index.ts":{"bytesInOutput":0},"packages/config/src/types.ts":{"bytesInOutput":133},"packages/config/src/define-config.ts":{"bytesInOutput":37}},"bytes":124793}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.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": {
|
|
@@ -140,6 +140,21 @@
|
|
|
140
140
|
"default": "debug",
|
|
141
141
|
"description": "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`)."
|
|
142
142
|
},
|
|
143
|
+
"cloudflareAccountId": {
|
|
144
|
+
"anyOf": [
|
|
145
|
+
{
|
|
146
|
+
"type": "string",
|
|
147
|
+
"minLength": 32,
|
|
148
|
+
"maxLength": 32,
|
|
149
|
+
"pattern": "^([0-9a-fA-F]{32})$"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "null"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"default": null,
|
|
156
|
+
"description": "The default Cloudflare account ID of the workspace"
|
|
157
|
+
},
|
|
143
158
|
"configFile": {
|
|
144
159
|
"anyOf": [
|
|
145
160
|
{
|