@storm-software/cloudflare-tools 0.63.26 → 0.63.27

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-6LXAWJUW.mjs → chunk-3M2F4JUW.mjs} +3 -3
  4. package/dist/{chunk-77YKYAKQ.mjs → chunk-446Z4I2E.mjs} +10 -7
  5. package/dist/{chunk-LVA3TEJC.mjs → chunk-4FMFQGIC.mjs} +1 -1
  6. package/dist/{chunk-5WE4TNLQ.mjs → chunk-6AC4HGUU.mjs} +1 -1
  7. package/dist/{chunk-JFRM3B2T.js → chunk-6SVJXZBV.js} +124 -121
  8. package/dist/{chunk-EDVXAHJB.js → chunk-AVDLSZLA.js} +43 -43
  9. package/dist/{chunk-GLPDUIZ5.js → chunk-CCIXQ6JW.js} +16 -16
  10. package/dist/{chunk-WT7TBR2C.js → chunk-G2NJAIMM.js} +3 -3
  11. package/dist/{chunk-3OAEUWSP.mjs → chunk-MB2PUV2U.mjs} +1 -1
  12. package/dist/{chunk-LR64JTPC.js → chunk-N5LTPQ53.js} +84 -84
  13. package/dist/{chunk-X3P4PVUJ.js → chunk-NK6XHZKN.js} +12 -12
  14. package/dist/{chunk-TSJWYL6Q.js → chunk-NTPBAB34.js} +1 -1
  15. package/dist/{chunk-UUPXZQE4.mjs → chunk-OKD45PFS.mjs} +3 -3
  16. package/dist/{chunk-GGWEYZ6F.mjs → chunk-ZNYU5YAQ.mjs} +2 -2
  17. package/dist/executors.js +5 -5
  18. package/dist/executors.mjs +5 -5
  19. package/dist/generators.js +5 -5
  20. package/dist/generators.mjs +4 -4
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  25. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  27. package/dist/src/executors/serve/executor.js +4 -4
  28. package/dist/src/executors/serve/executor.mjs +3 -3
  29. package/dist/src/generators/init/generator.js +2 -2
  30. package/dist/src/generators/init/generator.mjs +1 -1
  31. package/dist/src/generators/worker/generator.js +5 -5
  32. package/dist/src/generators/worker/generator.mjs +4 -4
  33. package/dist/src/utils/index.js +3 -3
  34. package/dist/src/utils/index.mjs +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  37. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../config-tools/src/utilities/correct-paths.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../config-tools/src/utilities/correct-paths.ts
2
2
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
3
3
  function normalizeWindowsPath(input = "") {
4
4
  if (!input) {
@@ -265,22 +265,22 @@ If this sounds interesting, and you would like to help us in creating the next g
265
265
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
266
266
 
267
267
  // ../config/src/schema.ts
268
- var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
269
- var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
270
- var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
271
- var BrandColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
272
- var AlternateColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
273
- var AccentColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
274
- var LinkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
275
- var HelpColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
276
- var SuccessColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
277
- var InfoColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
278
- var WarningColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
279
- var DangerColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
280
- var FatalColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
281
- var PositiveColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
282
- var NegativeColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
283
- var DarkThemeColorConfigSchema = _zod2.default.object({
268
+ var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
269
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
270
+ var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
271
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
272
+ var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
273
+ var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
274
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
275
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
276
+ var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
277
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
278
+ var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
279
+ var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
280
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
281
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
282
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
283
+ var DarkThemeColorConfigSchema = z.object({
284
284
  foreground: LightColorSchema,
285
285
  background: DarkColorSchema,
286
286
  brand: BrandColorSchema,
@@ -296,7 +296,7 @@ var DarkThemeColorConfigSchema = _zod2.default.object({
296
296
  positive: PositiveColorSchema,
297
297
  negative: NegativeColorSchema
298
298
  });
299
- var LightThemeColorConfigSchema = _zod2.default.object({
299
+ var LightThemeColorConfigSchema = z.object({
300
300
  foreground: DarkColorSchema,
301
301
  background: LightColorSchema,
302
302
  brand: BrandColorSchema,
@@ -312,11 +312,11 @@ var LightThemeColorConfigSchema = _zod2.default.object({
312
312
  positive: PositiveColorSchema,
313
313
  negative: NegativeColorSchema
314
314
  });
315
- var MultiThemeColorConfigSchema = _zod2.default.object({
315
+ var MultiThemeColorConfigSchema = z.object({
316
316
  dark: DarkThemeColorConfigSchema,
317
317
  light: LightThemeColorConfigSchema
318
318
  });
319
- var SingleThemeColorConfigSchema = _zod2.default.object({
319
+ var SingleThemeColorConfigSchema = z.object({
320
320
  dark: DarkColorSchema,
321
321
  light: LightColorSchema,
322
322
  brand: BrandColorSchema,
@@ -332,8 +332,8 @@ var SingleThemeColorConfigSchema = _zod2.default.object({
332
332
  positive: PositiveColorSchema,
333
333
  negative: NegativeColorSchema
334
334
  });
335
- var RegistryUrlConfigSchema = _zod2.default.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
336
- var RegistryConfigSchema = _zod2.default.object({
335
+ var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
336
+ var RegistryConfigSchema = z.object({
337
337
  github: RegistryUrlConfigSchema,
338
338
  npm: RegistryUrlConfigSchema,
339
339
  cargo: RegistryUrlConfigSchema,
@@ -343,122 +343,122 @@ var RegistryConfigSchema = _zod2.default.object({
343
343
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
344
344
  MultiThemeColorConfigSchema
345
345
  ).describe("Colors used for various workspace elements");
346
- var ColorConfigMapSchema = _zod2.default.union([
347
- _zod2.default.object({ base: ColorConfigSchema }),
348
- _zod2.default.record(_zod2.default.string(), ColorConfigSchema)
346
+ var ColorConfigMapSchema = z.union([
347
+ z.object({ base: ColorConfigSchema }),
348
+ z.record(z.string(), ColorConfigSchema)
349
349
  ]);
350
- var ExtendsItemSchema = _zod2.default.string().trim().describe(
350
+ var ExtendsItemSchema = z.string().trim().describe(
351
351
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
352
352
  );
353
353
  var ExtendsSchema = ExtendsItemSchema.or(
354
- _zod2.default.array(ExtendsItemSchema)
354
+ z.array(ExtendsItemSchema)
355
355
  ).describe(
356
356
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
357
357
  );
358
- var WorkspaceBotConfigSchema = _zod2.default.object({
359
- name: _zod2.default.string().trim().default("stormie-bot").describe(
358
+ var WorkspaceBotConfigSchema = z.object({
359
+ name: z.string().trim().default("stormie-bot").describe(
360
360
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
361
361
  ),
362
- email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
362
+ email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
363
363
  }).describe(
364
364
  "The workspace's bot user's config used to automated various operations tasks"
365
365
  );
366
- var WorkspaceReleaseConfigSchema = _zod2.default.object({
367
- banner: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
366
+ var WorkspaceReleaseConfigSchema = z.object({
367
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
368
368
  "A URL to a banner image used to display the workspace's release"
369
369
  ),
370
- header: _zod2.default.string().trim().optional().describe(
370
+ header: z.string().trim().optional().describe(
371
371
  "A header message appended to the start of the workspace's release notes"
372
372
  ),
373
- footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
373
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
374
374
  "A footer message appended to the end of the workspace's release notes"
375
375
  )
376
376
  }).describe("The workspace's release config used during the release process");
377
- var WorkspaceAccountConfigSchema = _zod2.default.object({
378
- twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
379
- discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
380
- telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
381
- slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
382
- medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
383
- github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
377
+ var WorkspaceAccountConfigSchema = z.object({
378
+ twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
379
+ discord: z.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
380
+ telegram: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
381
+ slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
382
+ medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
383
+ github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
384
384
  }).describe(
385
385
  "The workspace's account config used to store various social media links"
386
386
  );
387
- var WorkspaceDirectoryConfigSchema = _zod2.default.object({
388
- cache: _zod2.default.string().trim().optional().describe(
387
+ var WorkspaceDirectoryConfigSchema = z.object({
388
+ cache: z.string().trim().optional().describe(
389
389
  "The directory used to store the environment's cached file data"
390
390
  ),
391
- data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
392
- config: _zod2.default.string().trim().optional().describe(
391
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
392
+ config: z.string().trim().optional().describe(
393
393
  "The directory used to store the environment's configuration files"
394
394
  ),
395
- temp: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
396
- log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
397
- build: _zod2.default.string().trim().default("dist").describe(
395
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
396
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
397
+ build: z.string().trim().default("dist").describe(
398
398
  "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
399
399
  )
400
400
  }).describe(
401
401
  "Various directories used by the workspace to store data, cache, and configuration files"
402
402
  );
403
- var errorConfigSchema = _zod2.default.object({
404
- codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
405
- url: _zod2.default.string().trim().url().optional().describe(
403
+ var errorConfigSchema = z.object({
404
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
405
+ url: z.string().trim().url().optional().describe(
406
406
  "A URL to a page that looks up the workspace's error messages given a specific error code"
407
407
  )
408
408
  }).describe("The workspace's error config used during the error process");
409
- var organizationConfigSchema = _zod2.default.object({
410
- name: _zod2.default.string().trim().describe("The name of the organization"),
411
- description: _zod2.default.string().trim().optional().describe("A description of the organization"),
412
- logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
413
- icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
414
- url: _zod2.default.string().trim().url().optional().describe(
409
+ var organizationConfigSchema = z.object({
410
+ name: z.string().trim().describe("The name of the organization"),
411
+ description: z.string().trim().optional().describe("A description of the organization"),
412
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
413
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
414
+ url: z.string().trim().url().optional().describe(
415
415
  "A URL to a page that provides more information about the organization"
416
416
  )
417
417
  }).describe("The workspace's organization details");
418
- var stormWorkspaceConfigSchema = _zod2.default.object({
419
- $schema: _zod2.default.string().trim().default(
418
+ var stormWorkspaceConfigSchema = z.object({
419
+ $schema: z.string().trim().default(
420
420
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
421
421
  ).optional().nullish().describe(
422
422
  "The URL to the JSON schema file that describes the Storm configuration file"
423
423
  ),
424
424
  extends: ExtendsSchema.optional(),
425
- name: _zod2.default.string().trim().toLowerCase().optional().describe(
425
+ name: z.string().trim().toLowerCase().optional().describe(
426
426
  "The name of the service/package/scope using this configuration"
427
427
  ),
428
- namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
429
- organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).optional().describe(
428
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
429
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
430
430
  "The organization of the workspace. This can be a string or an object containing the organization's details"
431
431
  ),
432
- repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
433
- license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
434
- homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
435
- docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
436
- portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
437
- licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
438
- contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
439
- support: _zod2.default.string().trim().url().optional().describe(
432
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
433
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
434
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
435
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
436
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
437
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
438
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
439
+ support: z.string().trim().url().optional().describe(
440
440
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
441
441
  ),
442
- branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
443
- preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
444
- owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
442
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
443
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
444
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
445
445
  bot: WorkspaceBotConfigSchema,
446
446
  release: WorkspaceReleaseConfigSchema,
447
447
  account: WorkspaceAccountConfigSchema,
448
448
  error: errorConfigSchema,
449
- mode: _zod2.default.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
450
- workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
451
- externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe(
449
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
450
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
451
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
452
452
  "The build will use these package patterns to determine if they should be external to the bundle"
453
453
  ),
454
- skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
454
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
455
455
  directories: WorkspaceDirectoryConfigSchema,
456
- packageManager: _zod2.default.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
456
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
457
457
  "The JavaScript/TypeScript package manager used by the repository"
458
458
  ),
459
- timezone: _zod2.default.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
460
- locale: _zod2.default.string().trim().default("en-US").describe("The default locale of the workspace"),
461
- logLevel: _zod2.default.enum([
459
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
460
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
461
+ logLevel: z.enum([
462
462
  "silent",
463
463
  "fatal",
464
464
  "error",
@@ -471,17 +471,17 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
471
471
  ]).default("info").describe(
472
472
  "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`)."
473
473
  ),
474
- skipConfigLogging: _zod2.default.boolean().optional().describe(
474
+ skipConfigLogging: z.boolean().optional().describe(
475
475
  "Should the logging of the current Storm Workspace configuration be skipped?"
476
476
  ),
477
477
  registry: RegistryConfigSchema,
478
- configFile: _zod2.default.string().trim().nullable().default(null).describe(
478
+ configFile: z.string().trim().nullable().default(null).describe(
479
479
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
480
480
  ),
481
481
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
482
482
  "Storm theme config values used for styling various package elements"
483
483
  ),
484
- extensions: _zod2.default.record(_zod2.default.any()).optional().default({}).describe("Configuration of each used extension")
484
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
485
485
  }).describe(
486
486
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
487
487
  );
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkTSJWYL6Qjs = require('./chunk-TSJWYL6Q.js');
3
+ var _chunkNTPBAB34js = require('./chunk-NTPBAB34.js');
4
4
 
5
5
 
6
- var _chunkEDVXAHJBjs = require('./chunk-EDVXAHJB.js');
6
+ var _chunkAVDLSZLAjs = require('./chunk-AVDLSZLA.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkEDVXAHJBjs = require('./chunk-EDVXAHJB.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkLR64JTPCjs = require('./chunk-LR64JTPC.js');
15
+ var _chunkN5LTPQ53js = require('./chunk-N5LTPQ53.js');
16
16
 
17
17
  // src/generators/worker/generator.ts
18
18
 
@@ -45,20 +45,20 @@ var vitestScript = `"test": "vitest run"`;
45
45
 
46
46
  // src/generators/worker/generator.ts
47
47
  async function applicationGenerator(tree, schema) {
48
- const stopwatch = _chunkLR64JTPCjs.getStopwatch.call(void 0, "Storm Worker generator");
48
+ const stopwatch = _chunkN5LTPQ53js.getStopwatch.call(void 0, "Storm Worker generator");
49
49
  let config;
50
50
  try {
51
- _chunkLR64JTPCjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
51
+ _chunkN5LTPQ53js.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, );
55
- _chunkLR64JTPCjs.writeDebug.call(void 0,
54
+ const workspaceRoot = _chunkN5LTPQ53js.findWorkspaceRoot.call(void 0, );
55
+ _chunkN5LTPQ53js.writeDebug.call(void 0,
56
56
  `Loading the Storm Config from environment variables and storm.json file...
57
57
  - workspaceRoot: ${workspaceRoot}`,
58
58
  config
59
59
  );
60
- config = await _chunkEDVXAHJBjs.getConfig.call(void 0, workspaceRoot);
61
- _chunkLR64JTPCjs.writeTrace.call(void 0,
60
+ config = await _chunkAVDLSZLAjs.getConfig.call(void 0, workspaceRoot);
61
+ _chunkN5LTPQ53js.writeTrace.call(void 0,
62
62
  `Loaded Storm config into env:
63
63
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
64
64
  config
@@ -66,7 +66,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
66
66
  const options = await normalizeOptions(tree, schema, config);
67
67
  const tasks = [];
68
68
  tasks.push(
69
- await _chunkTSJWYL6Qjs.generator_default.call(void 0, tree, {
69
+ await _chunkNTPBAB34js.generator_default.call(void 0, tree, {
70
70
  ...options,
71
71
  skipFormat: true
72
72
  })
@@ -134,11 +134,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
134
134
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
135
135
  } catch (error) {
136
136
  return () => {
137
- _chunkLR64JTPCjs.writeFatal.call(void 0,
137
+ _chunkN5LTPQ53js.writeFatal.call(void 0,
138
138
  "A fatal error occurred while running the generator - the process was forced to terminate",
139
139
  config
140
140
  );
141
- _chunkLR64JTPCjs.writeError.call(void 0,
141
+ _chunkN5LTPQ53js.writeError.call(void 0,
142
142
  `An exception was thrown in the generator's process
143
143
  - Details: ${error.message}
144
144
  - Stacktrace: ${error.stack}`,
@@ -7,7 +7,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.63.25",
10
+ version: "0.63.26",
11
11
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
12
12
  repository: {
13
13
  type: "github",
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  getInternalDependencies,
3
3
  r2UploadFile
4
- } from "./chunk-3OAEUWSP.mjs";
4
+ } from "./chunk-MB2PUV2U.mjs";
5
5
  import {
6
6
  createCliOptions,
7
7
  getPackageInfo
8
8
  } from "./chunk-RH2IXKSC.mjs";
9
9
  import {
10
10
  getConfig
11
- } from "./chunk-5WE4TNLQ.mjs";
11
+ } from "./chunk-6AC4HGUU.mjs";
12
12
  import {
13
13
  findWorkspaceRoot,
14
14
  writeDebug,
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeWarning
18
- } from "./chunk-GGWEYZ6F.mjs";
18
+ } from "./chunk-ZNYU5YAQ.mjs";
19
19
 
20
20
  // src/executors/r2-upload-publish/executor.ts
21
21
  import { S3 } from "@aws-sdk/client-s3";
@@ -265,7 +265,7 @@ If this sounds interesting, and you would like to help us in creating the next g
265
265
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
266
266
 
267
267
  // ../config/src/schema.ts
268
- import z from "zod";
268
+ import * as z from "zod/v4";
269
269
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
270
270
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
271
271
  var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
@@ -481,7 +481,7 @@ var stormWorkspaceConfigSchema = z.object({
481
481
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
482
482
  "Storm theme config values used for styling various package elements"
483
483
  ),
484
- extensions: z.record(z.any()).optional().default({}).describe("Configuration of each used extension")
484
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
485
485
  }).describe(
486
486
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
487
487
  );
package/dist/executors.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-T2OGA6MB.js');
3
- require('./chunk-JFRM3B2T.js');
4
- require('./chunk-GLPDUIZ5.js');
5
- require('./chunk-WT7TBR2C.js');
3
+ require('./chunk-6SVJXZBV.js');
4
+ require('./chunk-CCIXQ6JW.js');
5
+ require('./chunk-G2NJAIMM.js');
6
6
  require('./chunk-KTFMIXUN.js');
7
- require('./chunk-EDVXAHJB.js');
8
- require('./chunk-LR64JTPC.js');
7
+ require('./chunk-AVDLSZLA.js');
8
+ require('./chunk-N5LTPQ53.js');
9
9
  require('./chunk-MCKGQKYU.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import "./chunk-YKB65IP2.mjs";
3
- import "./chunk-77YKYAKQ.mjs";
4
- import "./chunk-UUPXZQE4.mjs";
5
- import "./chunk-3OAEUWSP.mjs";
3
+ import "./chunk-446Z4I2E.mjs";
4
+ import "./chunk-OKD45PFS.mjs";
5
+ import "./chunk-MB2PUV2U.mjs";
6
6
  import "./chunk-RH2IXKSC.mjs";
7
- import "./chunk-5WE4TNLQ.mjs";
8
- import "./chunk-GGWEYZ6F.mjs";
7
+ import "./chunk-6AC4HGUU.mjs";
8
+ import "./chunk-ZNYU5YAQ.mjs";
9
9
  import "./chunk-B7N6WOYD.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkX3P4PVUJjs = require('./chunk-X3P4PVUJ.js');
5
+ var _chunkNK6XHZKNjs = require('./chunk-NK6XHZKN.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkTSJWYL6Qjs = require('./chunk-TSJWYL6Q.js');
10
- require('./chunk-EDVXAHJB.js');
11
- require('./chunk-LR64JTPC.js');
9
+ var _chunkNTPBAB34js = require('./chunk-NTPBAB34.js');
10
+ require('./chunk-AVDLSZLA.js');
11
+ require('./chunk-N5LTPQ53.js');
12
12
  require('./chunk-MCKGQKYU.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkX3P4PVUJjs.applicationGenerator; exports.applicationSchematic = _chunkX3P4PVUJjs.applicationSchematic; exports.initGenerator = _chunkTSJWYL6Qjs.initGenerator; exports.initSchematic = _chunkTSJWYL6Qjs.initSchematic;
18
+ exports.applicationGenerator = _chunkNK6XHZKNjs.applicationGenerator; exports.applicationSchematic = _chunkNK6XHZKNjs.applicationSchematic; exports.initGenerator = _chunkNTPBAB34js.initGenerator; exports.initSchematic = _chunkNTPBAB34js.initSchematic;
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-6LXAWJUW.mjs";
5
+ } from "./chunk-3M2F4JUW.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-LVA3TEJC.mjs";
10
- import "./chunk-5WE4TNLQ.mjs";
11
- import "./chunk-GGWEYZ6F.mjs";
9
+ } from "./chunk-4FMFQGIC.mjs";
10
+ import "./chunk-6AC4HGUU.mjs";
11
+ import "./chunk-ZNYU5YAQ.mjs";
12
12
  import "./chunk-B7N6WOYD.mjs";
13
13
  export {
14
14
  applicationGenerator,
package/dist/index.js CHANGED
@@ -3,25 +3,25 @@ require('./chunk-DHBG5ASJ.js');
3
3
 
4
4
 
5
5
 
6
- var _chunkX3P4PVUJjs = require('./chunk-X3P4PVUJ.js');
6
+ var _chunkNK6XHZKNjs = require('./chunk-NK6XHZKN.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkTSJWYL6Qjs = require('./chunk-TSJWYL6Q.js');
10
+ var _chunkNTPBAB34js = require('./chunk-NTPBAB34.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-T2OGA6MB.js');
13
- require('./chunk-JFRM3B2T.js');
14
- require('./chunk-GLPDUIZ5.js');
13
+ require('./chunk-6SVJXZBV.js');
14
+ require('./chunk-CCIXQ6JW.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkWT7TBR2Cjs = require('./chunk-WT7TBR2C.js');
18
+ var _chunkG2NJAIMMjs = require('./chunk-G2NJAIMM.js');
19
19
 
20
20
 
21
21
 
22
22
  var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
23
- require('./chunk-EDVXAHJB.js');
24
- require('./chunk-LR64JTPC.js');
23
+ require('./chunk-AVDLSZLA.js');
24
+ require('./chunk-N5LTPQ53.js');
25
25
  require('./chunk-MCKGQKYU.js');
26
26
 
27
27
  // src/plugins/index.ts
@@ -162,4 +162,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
162
162
 
163
163
 
164
164
 
165
- exports.applicationGenerator = _chunkX3P4PVUJjs.applicationGenerator; exports.applicationSchematic = _chunkX3P4PVUJjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkWT7TBR2Cjs.getInternalDependencies; exports.initGenerator = _chunkTSJWYL6Qjs.initGenerator; exports.initSchematic = _chunkTSJWYL6Qjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkWT7TBR2Cjs.r2UploadFile;
165
+ exports.applicationGenerator = _chunkNK6XHZKNjs.applicationGenerator; exports.applicationSchematic = _chunkNK6XHZKNjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkG2NJAIMMjs.getInternalDependencies; exports.initGenerator = _chunkNTPBAB34js.initGenerator; exports.initSchematic = _chunkNTPBAB34js.initSchematic; exports.name = name; exports.r2UploadFile = _chunkG2NJAIMMjs.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -3,25 +3,25 @@ import "./chunk-3J7KBHMJ.mjs";
3
3
  import {
4
4
  applicationGenerator,
5
5
  applicationSchematic
6
- } from "./chunk-6LXAWJUW.mjs";
6
+ } from "./chunk-3M2F4JUW.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-LVA3TEJC.mjs";
10
+ } from "./chunk-4FMFQGIC.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
12
  import "./chunk-YKB65IP2.mjs";
13
- import "./chunk-77YKYAKQ.mjs";
14
- import "./chunk-UUPXZQE4.mjs";
13
+ import "./chunk-446Z4I2E.mjs";
14
+ import "./chunk-OKD45PFS.mjs";
15
15
  import {
16
16
  getInternalDependencies,
17
17
  r2UploadFile
18
- } from "./chunk-3OAEUWSP.mjs";
18
+ } from "./chunk-MB2PUV2U.mjs";
19
19
  import {
20
20
  ProjectTagConstants,
21
21
  addProjectTag
22
22
  } from "./chunk-RH2IXKSC.mjs";
23
- import "./chunk-5WE4TNLQ.mjs";
24
- import "./chunk-GGWEYZ6F.mjs";
23
+ import "./chunk-6AC4HGUU.mjs";
24
+ import "./chunk-ZNYU5YAQ.mjs";
25
25
  import "./chunk-B7N6WOYD.mjs";
26
26
 
27
27
  // src/plugins/index.ts
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkT2OGA6MBjs = require('../../../chunk-T2OGA6MB.js');
4
- require('../../../chunk-JFRM3B2T.js');
4
+ require('../../../chunk-6SVJXZBV.js');
5
5
  require('../../../chunk-KTFMIXUN.js');
6
- require('../../../chunk-EDVXAHJB.js');
7
- require('../../../chunk-LR64JTPC.js');
6
+ require('../../../chunk-AVDLSZLA.js');
7
+ require('../../../chunk-N5LTPQ53.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-YKB65IP2.mjs";
4
- import "../../../chunk-77YKYAKQ.mjs";
4
+ import "../../../chunk-446Z4I2E.mjs";
5
5
  import "../../../chunk-RH2IXKSC.mjs";
6
- import "../../../chunk-5WE4TNLQ.mjs";
7
- import "../../../chunk-GGWEYZ6F.mjs";
6
+ import "../../../chunk-6AC4HGUU.mjs";
7
+ import "../../../chunk-ZNYU5YAQ.mjs";
8
8
  import "../../../chunk-B7N6WOYD.mjs";
9
9
  export {
10
10
  runExecutor as default
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGLPDUIZ5js = require('../../../chunk-GLPDUIZ5.js');
4
- require('../../../chunk-WT7TBR2C.js');
3
+ var _chunkCCIXQ6JWjs = require('../../../chunk-CCIXQ6JW.js');
4
+ require('../../../chunk-G2NJAIMM.js');
5
5
  require('../../../chunk-KTFMIXUN.js');
6
- require('../../../chunk-EDVXAHJB.js');
7
- require('../../../chunk-LR64JTPC.js');
6
+ require('../../../chunk-AVDLSZLA.js');
7
+ require('../../../chunk-N5LTPQ53.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
11
- exports.default = _chunkGLPDUIZ5js.runExecutor;
11
+ exports.default = _chunkCCIXQ6JWjs.runExecutor;