@storm-software/config-tools 1.47.1 → 1.48.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 +14 -13
- package/README.md +1 -1
- package/index.cjs +7 -0
- package/index.js +7 -0
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/utilities/logger.cjs +1 -0
- package/utilities/logger.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
## 1.
|
|
1
|
+
## 1.48.0 (2024-05-29)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
2
4
|
|
|
5
|
+
- **config:** Added the `cloudflareAccountId` configuration parameter ([db4cbd7d](https://github.com/storm-software/storm-ops/commit/db4cbd7d))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Patrick Sullivan
|
|
10
|
+
|
|
11
|
+
## 1.47.1 (2024-05-27)
|
|
3
12
|
|
|
4
13
|
### 🩹 Fixes
|
|
5
14
|
|
|
6
15
|
- **deps:** update patch prod dependencies ([a8113435](https://github.com/storm-software/storm-ops/commit/a8113435))
|
|
7
16
|
|
|
8
|
-
|
|
9
|
-
### ❤️ Thank You
|
|
17
|
+
### ❤️ Thank You
|
|
10
18
|
|
|
11
19
|
- Patrick Sullivan
|
|
12
20
|
|
|
13
21
|
## 1.47.0 (2024-05-07)
|
|
14
22
|
|
|
15
|
-
|
|
16
23
|
### 🚀 Features
|
|
17
24
|
|
|
18
25
|
- **config:** Added the `accent` color token to configuration ([a7a24ec1](https://github.com/storm-software/storm-ops/commit/a7a24ec1))
|
|
19
26
|
|
|
20
|
-
|
|
21
27
|
### 🩹 Fixes
|
|
22
28
|
|
|
23
29
|
- **config:** Mark the `accent` color as optional ([156921b6](https://github.com/storm-software/storm-ops/commit/156921b6))
|
|
24
30
|
|
|
25
|
-
|
|
26
|
-
### ❤️ Thank You
|
|
31
|
+
### ❤️ Thank You
|
|
27
32
|
|
|
28
33
|
- Patrick Sullivan
|
|
29
34
|
|
|
30
35
|
## 1.46.0 (2024-05-07)
|
|
31
36
|
|
|
32
|
-
|
|
33
37
|
### 🚀 Features
|
|
34
38
|
|
|
35
39
|
- **config:** Add the `help` color token type ([8a466466](https://github.com/storm-software/storm-ops/commit/8a466466))
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
### ❤️ Thank You
|
|
41
|
+
### ❤️ Thank You
|
|
39
42
|
|
|
40
43
|
- Patrick Sullivan
|
|
41
44
|
|
|
42
45
|
## 1.45.1 (2024-05-06)
|
|
43
46
|
|
|
44
|
-
|
|
45
47
|
### 🩹 Fixes
|
|
46
48
|
|
|
47
49
|
- **markdownlint:** Resolved issue with bad config in lint file ([95b3aba7](https://github.com/storm-software/storm-ops/commit/95b3aba7))
|
|
48
50
|
|
|
49
|
-
|
|
50
|
-
### ❤️ Thank You
|
|
51
|
+
### ❤️ Thank You
|
|
51
52
|
|
|
52
53
|
- Patrick Sullivan
|
|
53
54
|
|
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
|
@@ -68257,6 +68257,7 @@ var StormConfigSchema = z2.object({
|
|
|
68257
68257
|
]).default("debug").describe(
|
|
68258
68258
|
"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`)."
|
|
68259
68259
|
),
|
|
68260
|
+
cloudflareAccountId: z2.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
68260
68261
|
configFile: z2.string().trim().nullable().default(null).describe(
|
|
68261
68262
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
68262
68263
|
),
|
|
@@ -68849,6 +68850,7 @@ var getConfigEnv = () => {
|
|
|
68849
68850
|
branch: process.env[`${prefix}BRANCH`],
|
|
68850
68851
|
preid: process.env[`${prefix}PRE_ID`],
|
|
68851
68852
|
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
68853
|
+
cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`],
|
|
68852
68854
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
68853
68855
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
68854
68856
|
) ? getLogLevelLabel(
|
|
@@ -69055,6 +69057,11 @@ var setConfigEnv = (config) => {
|
|
|
69055
69057
|
config.externalPackagePatterns
|
|
69056
69058
|
);
|
|
69057
69059
|
}
|
|
69060
|
+
if (config.cloudflareAccountId) {
|
|
69061
|
+
process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] = String(
|
|
69062
|
+
config.cloudflareAccountId
|
|
69063
|
+
);
|
|
69064
|
+
}
|
|
69058
69065
|
if (config.logLevel) {
|
|
69059
69066
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
69060
69067
|
process.env.LOG_LEVEL = String(config.logLevel);
|
package/index.js
CHANGED
|
@@ -68214,6 +68214,7 @@ var StormConfigSchema = z2.object({
|
|
|
68214
68214
|
]).default("debug").describe(
|
|
68215
68215
|
"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`)."
|
|
68216
68216
|
),
|
|
68217
|
+
cloudflareAccountId: z2.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
|
68217
68218
|
configFile: z2.string().trim().nullable().default(null).describe(
|
|
68218
68219
|
"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
|
|
68219
68220
|
),
|
|
@@ -68806,6 +68807,7 @@ var getConfigEnv = () => {
|
|
|
68806
68807
|
branch: process.env[`${prefix}BRANCH`],
|
|
68807
68808
|
preid: process.env[`${prefix}PRE_ID`],
|
|
68808
68809
|
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
68810
|
+
cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`],
|
|
68809
68811
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
68810
68812
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
68811
68813
|
) ? getLogLevelLabel(
|
|
@@ -69012,6 +69014,11 @@ var setConfigEnv = (config) => {
|
|
|
69012
69014
|
config.externalPackagePatterns
|
|
69013
69015
|
);
|
|
69014
69016
|
}
|
|
69017
|
+
if (config.cloudflareAccountId) {
|
|
69018
|
+
process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] = String(
|
|
69019
|
+
config.cloudflareAccountId
|
|
69020
|
+
);
|
|
69021
|
+
}
|
|
69015
69022
|
if (config.logLevel) {
|
|
69016
69023
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
69017
69024
|
process.env.LOG_LEVEL = String(config.logLevel);
|