@storm-software/cloudflare-tools 0.63.26 → 0.63.28

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 +16 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-TSJWYL6Q.js → chunk-6TGFIMO5.js} +1 -1
  4. package/dist/{chunk-6LXAWJUW.mjs → chunk-AOLWFHH5.mjs} +3 -3
  5. package/dist/{chunk-UUPXZQE4.mjs → chunk-D5YG7CU5.mjs} +3 -3
  6. package/dist/{chunk-X3P4PVUJ.js → chunk-DMJM3W36.js} +12 -12
  7. package/dist/{chunk-3OAEUWSP.mjs → chunk-DW5K6TQT.mjs} +1 -1
  8. package/dist/{chunk-GLPDUIZ5.js → chunk-GL7JLG36.js} +16 -16
  9. package/dist/{chunk-5WE4TNLQ.mjs → chunk-I5P7M77J.mjs} +1 -1
  10. package/dist/{chunk-LR64JTPC.js → chunk-IATTWS2I.js} +87 -87
  11. package/dist/{chunk-WT7TBR2C.js → chunk-J6WBZNBT.js} +3 -3
  12. package/dist/{chunk-GGWEYZ6F.mjs → chunk-LVQQJNPK.mjs} +5 -5
  13. package/dist/{chunk-JFRM3B2T.js → chunk-PJGFLSPV.js} +128 -120
  14. package/dist/{chunk-LVA3TEJC.mjs → chunk-QTMO3CXB.mjs} +1 -1
  15. package/dist/{chunk-EDVXAHJB.js → chunk-YMATJZEA.js} +43 -43
  16. package/dist/{chunk-77YKYAKQ.mjs → chunk-ZHQVMJQB.mjs} +14 -6
  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,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkLR64JTPCjs = require('./chunk-LR64JTPC.js');
4
+ var _chunkIATTWS2Ijs = require('./chunk-IATTWS2I.js');
5
5
 
6
6
  // src/utils/r2-bucket-helpers.ts
7
7
  var _crypto = require('crypto');
8
8
  var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fileContent, contentType = "text/plain", isDryRun = false) => {
9
9
  const checksum = _crypto.createHash.call(void 0, "sha256").update(fileContent).digest("base64");
10
10
  const fileKey = `${projectPath}/${fileName.startsWith("/") ? fileName.substring(1) : fileName}`;
11
- _chunkLR64JTPCjs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
11
+ _chunkIATTWS2Ijs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
12
12
  if (!isDryRun) {
13
13
  await client.putObject({
14
14
  Bucket: bucketName,
@@ -21,7 +21,7 @@ var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fi
21
21
  }
22
22
  });
23
23
  } else {
24
- _chunkLR64JTPCjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
24
+ _chunkIATTWS2Ijs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
25
25
  }
26
26
  };
27
27
  var getInternalDependencies = (projectName, graph) => {
@@ -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");
@@ -417,9 +417,9 @@ var organizationConfigSchema = z.object({
417
417
  }).describe("The workspace's organization details");
418
418
  var stormWorkspaceConfigSchema = z.object({
419
419
  $schema: z.string().trim().default(
420
- "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
421
- ).optional().nullish().describe(
422
- "The URL to the JSON schema file that describes the Storm configuration file"
420
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
421
+ ).describe(
422
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
423
423
  ),
424
424
  extends: ExtendsSchema.optional(),
425
425
  name: z.string().trim().toLowerCase().optional().describe(
@@ -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
  );