@storm-software/workspace-tools 1.78.0 → 1.80.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,3 +1,22 @@
1
+ ## 1.80.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.79.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.78.0 (2024-05-29)
2
21
 
3
22
  ### 🚀 Features
package/config/nx.json CHANGED
@@ -231,10 +231,16 @@
231
231
  "workspaceChangelog": false,
232
232
  "projectChangelogs": {
233
233
  "createRelease": "github",
234
- "entryWhenNoChanges": false
234
+ "entryWhenNoChanges": false,
235
+ "renderOptions": {
236
+ "authors": false,
237
+ "commitReferences": true,
238
+ "versionTitleDate": true
239
+ }
235
240
  }
236
241
  },
237
242
  "version": {
243
+ "preVersionCommand": "pnpm build-all",
238
244
  "generator": "@storm-software/workspace-tools:release-version",
239
245
  "generatorOptions": {
240
246
  "currentVersionResolver": "git-tag",
package/index.js CHANGED
@@ -66706,7 +66706,7 @@ var init_schema = __esm({
66706
66706
  ]).default("debug").describe(
66707
66707
  "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`)."
66708
66708
  ),
66709
- cloudflareAccountId: z2.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
66709
+ cloudflareAccountId: z2.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
66710
66710
  configFile: z2.string().trim().nullable().default(null).describe(
66711
66711
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
66712
66712
  ),
@@ -68962,7 +68962,7 @@ var init_get_env = __esm({
68962
68962
  branch: process.env[`${prefix}BRANCH`],
68963
68963
  preid: process.env[`${prefix}PRE_ID`],
68964
68964
  externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
68965
- cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`],
68965
+ cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] ? process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] : process.env.CLOUDFLARE_ACCOUNT_ID ? process.env.CLOUDFLARE_ACCOUNT_ID : process.env.STORM_BOT_CLOUDFLARE_ACCOUNT,
68966
68966
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
68967
68967
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
68968
68968
  ) ? getLogLevelLabel(
@@ -69178,6 +69178,10 @@ var init_set_env = __esm({
69178
69178
  );
69179
69179
  }
69180
69180
  if (config.cloudflareAccountId) {
69181
+ process.env.STORM_BOT_CLOUDFLARE_ACCOUNT ??= String(
69182
+ config.cloudflareAccountId
69183
+ );
69184
+ process.env.CLOUDFLARE_ACCOUNT_ID ??= String(config.cloudflareAccountId);
69181
69185
  process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] = String(
69182
69186
  config.cloudflareAccountId
69183
69187
  );