@storm-software/config-tools 1.47.0 → 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 CHANGED
@@ -1,41 +1,54 @@
1
- ## 1.47.0 (2024-05-07)
1
+ ## 1.48.0 (2024-05-29)
2
+
3
+ ### 🚀 Features
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)
12
+
13
+ ### 🩹 Fixes
14
+
15
+ - **deps:** update patch prod dependencies ([a8113435](https://github.com/storm-software/storm-ops/commit/a8113435))
16
+
17
+ ### ❤️ Thank You
18
+
19
+ - Patrick Sullivan
2
20
 
21
+ ## 1.47.0 (2024-05-07)
3
22
 
4
23
  ### 🚀 Features
5
24
 
6
25
  - **config:** Added the `accent` color token to configuration ([a7a24ec1](https://github.com/storm-software/storm-ops/commit/a7a24ec1))
7
26
 
8
-
9
27
  ### 🩹 Fixes
10
28
 
11
29
  - **config:** Mark the `accent` color as optional ([156921b6](https://github.com/storm-software/storm-ops/commit/156921b6))
12
30
 
13
-
14
- ### ❤️ Thank You
31
+ ### ❤️ Thank You
15
32
 
16
33
  - Patrick Sullivan
17
34
 
18
35
  ## 1.46.0 (2024-05-07)
19
36
 
20
-
21
37
  ### 🚀 Features
22
38
 
23
39
  - **config:** Add the `help` color token type ([8a466466](https://github.com/storm-software/storm-ops/commit/8a466466))
24
40
 
25
-
26
- ### ❤️ Thank You
41
+ ### ❤️ Thank You
27
42
 
28
43
  - Patrick Sullivan
29
44
 
30
45
  ## 1.45.1 (2024-05-06)
31
46
 
32
-
33
47
  ### 🩹 Fixes
34
48
 
35
49
  - **markdownlint:** Resolved issue with bad config in lint file ([95b3aba7](https://github.com/storm-software/storm-ops/commit/95b3aba7))
36
50
 
37
-
38
- ### ❤️ Thank You
51
+ ### ❤️ Thank You
39
52
 
40
53
  - Patrick Sullivan
41
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
- [![Version](https://img.shields.io/badge/version-1.45.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
24
+ [![Version](https://img.shields.io/badge/version-1.48.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
25
25
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
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);