@storm-software/workspace-tools 1.77.0 → 1.79.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.77.0",
3
+ "version": "1.79.0",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
package/src/base/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
  );
@@ -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
  );
@@ -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
  );
@@ -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
  );
@@ -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
  );
@@ -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
  );
@@ -68819,7 +68819,7 @@ var init_schema = __esm({
68819
68819
  ]).default("debug").describe(
68820
68820
  "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`)."
68821
68821
  ),
68822
- cloudflareAccountId: z2.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
68822
+ 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"),
68823
68823
  configFile: z2.string().trim().nullable().default(null).describe(
68824
68824
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
68825
68825
  ),
@@ -71075,7 +71075,7 @@ var init_get_env = __esm({
71075
71075
  branch: process.env[`${prefix}BRANCH`],
71076
71076
  preid: process.env[`${prefix}PRE_ID`],
71077
71077
  externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
71078
- cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`],
71078
+ 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,
71079
71079
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
71080
71080
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
71081
71081
  ) ? getLogLevelLabel(
@@ -71291,6 +71291,10 @@ var init_set_env = __esm({
71291
71291
  );
71292
71292
  }
71293
71293
  if (config.cloudflareAccountId) {
71294
+ process.env.STORM_BOT_CLOUDFLARE_ACCOUNT ??= String(
71295
+ config.cloudflareAccountId
71296
+ );
71297
+ process.env.CLOUDFLARE_ACCOUNT_ID ??= String(config.cloudflareAccountId);
71294
71298
  process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] = String(
71295
71299
  config.cloudflareAccountId
71296
71300
  );
@@ -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
  );
@@ -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
  );
@@ -4053,7 +4053,7 @@ var init_schema = __esm({
4053
4053
  ]).default("debug").describe(
4054
4054
  "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`)."
4055
4055
  ),
4056
- cloudflareAccountId: z.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
4056
+ 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"),
4057
4057
  configFile: z.string().trim().nullable().default(null).describe(
4058
4058
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
4059
4059
  ),
@@ -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
  );
@@ -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
  );
@@ -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
  );
@@ -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
  );
@@ -68634,7 +68634,7 @@ var init_schema = __esm({
68634
68634
  ]).default("debug").describe(
68635
68635
  "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`)."
68636
68636
  ),
68637
- cloudflareAccountId: z2.string().trim().nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
68637
+ 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"),
68638
68638
  configFile: z2.string().trim().nullable().default(null).describe(
68639
68639
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
68640
68640
  ),
@@ -70890,7 +70890,7 @@ var init_get_env = __esm({
70890
70890
  branch: process.env[`${prefix}BRANCH`],
70891
70891
  preid: process.env[`${prefix}PRE_ID`],
70892
70892
  externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
70893
- cloudflareAccountId: process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`],
70893
+ 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,
70894
70894
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
70895
70895
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
70896
70896
  ) ? getLogLevelLabel(
@@ -71106,6 +71106,10 @@ var init_set_env = __esm({
71106
71106
  );
71107
71107
  }
71108
71108
  if (config.cloudflareAccountId) {
71109
+ process.env.STORM_BOT_CLOUDFLARE_ACCOUNT ??= String(
71110
+ config.cloudflareAccountId
71111
+ );
71112
+ process.env.CLOUDFLARE_ACCOUNT_ID ??= String(config.cloudflareAccountId);
71109
71113
  process.env[`${prefix}CLOUDFLARE_ACCOUNT_ID`] = String(
71110
71114
  config.cloudflareAccountId
71111
71115
  );
@@ -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
  );