@storm-software/cloudflare-tools 0.71.154 → 0.71.156

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 (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{chunk-QWAXSLJI.mjs → chunk-4F6THJ6M.mjs} +1 -1
  3. package/dist/{chunk-SQQBILQ3.mjs → chunk-5JUN4HP7.mjs} +3 -3
  4. package/dist/{chunk-K6IEROUB.mjs → chunk-AHKOHSCM.mjs} +5 -5
  5. package/dist/{chunk-ZP6JULQA.mjs → chunk-EOVQX7T3.mjs} +4 -4
  6. package/dist/{chunk-L4NNEWE4.js → chunk-HKEG4F2Y.js} +13 -13
  7. package/dist/{chunk-DGFU3E7L.mjs → chunk-HUK6LVIA.mjs} +3 -3
  8. package/dist/{chunk-7RHI2IKU.js → chunk-JGIGFUYD.js} +18 -18
  9. package/dist/{chunk-GALZRR4X.js → chunk-JGJLU4ON.js} +5 -5
  10. package/dist/{chunk-KY57RNWM.mjs → chunk-JOBVIJOH.mjs} +1 -1
  11. package/dist/{chunk-VFIJRSLB.mjs → chunk-OBUVLRI3.mjs} +8 -6
  12. package/dist/{chunk-TG6CQVYH.js → chunk-OZPXCCZB.js} +8 -6
  13. package/dist/{chunk-ACZXAB5V.mjs → chunk-VJL36SFQ.mjs} +1 -1
  14. package/dist/{chunk-TDU3BHMK.js → chunk-VR5YTYQV.js} +4 -4
  15. package/dist/{chunk-UDNMVPNN.mjs → chunk-W6EAOXRO.mjs} +1 -1
  16. package/dist/{chunk-EZJRN37V.js → chunk-WROOA5AX.js} +34 -34
  17. package/dist/{chunk-NGKYL4KC.js → chunk-ZR6CB4U2.js} +168 -168
  18. package/dist/executors.js +5 -5
  19. package/dist/executors.mjs +7 -7
  20. package/dist/generators.js +5 -5
  21. package/dist/generators.mjs +5 -5
  22. package/dist/index.js +8 -8
  23. package/dist/index.mjs +9 -9
  24. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  25. package/dist/src/executors/cloudflare-publish/executor.mjs +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  27. package/dist/src/executors/r2-upload-publish/executor.mjs +5 -5
  28. package/dist/src/executors/serve/executor.js +4 -4
  29. package/dist/src/executors/serve/executor.mjs +4 -4
  30. package/dist/src/generators/init/generator.js +2 -2
  31. package/dist/src/generators/init/generator.mjs +2 -2
  32. package/dist/src/generators/worker/generator.js +5 -5
  33. package/dist/src/generators/worker/generator.mjs +5 -5
  34. package/dist/src/utils/http-handler.mjs +1 -1
  35. package/dist/src/utils/index.js +3 -3
  36. package/dist/src/utils/index.mjs +3 -3
  37. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  38. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  39. package/dist/tsup.config.mjs +1 -1
  40. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.71.155](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.155) (05/19/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **git-tools:** Added git tag logging and updated release defaults ([9cc43a242](https://github.com/storm-software/storm-ops/commit/9cc43a242))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **config** to **v1.137.53**
14
+ - Updated **config-tools** to **v1.190.21**
15
+ - Updated **workspace-tools** to **v1.295.81**
16
+
17
+ ## [0.71.154](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.154) (05/16/2026)
18
+
19
+ ### Updated Dependencies
20
+
21
+ - Updated **workspace-tools** to **v1.295.80**
22
+ - Updated **config-tools** to **v1.190.20**
23
+ - Updated **config** to **v1.137.52**
24
+
5
25
  ## [0.71.153](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.153) (05/16/2026)
6
26
 
7
27
  ### Updated Dependencies
@@ -3,7 +3,7 @@ import {
3
3
  writeDebug,
4
4
  writeError,
5
5
  writeWarning
6
- } from "./chunk-VFIJRSLB.mjs";
6
+ } from "./chunk-OBUVLRI3.mjs";
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  import { Upload } from "@aws-sdk/lib-storage";
@@ -8,7 +8,7 @@ import {
8
8
  getWorkspaceConfig,
9
9
  schemaRegistry,
10
10
  workspaceConfigSchema
11
- } from "./chunk-KY57RNWM.mjs";
11
+ } from "./chunk-JOBVIJOH.mjs";
12
12
  import {
13
13
  brandIcon,
14
14
  correctPaths,
@@ -24,10 +24,10 @@ import {
24
24
  writeSuccess,
25
25
  writeTrace,
26
26
  writeWarning
27
- } from "./chunk-VFIJRSLB.mjs";
27
+ } from "./chunk-OBUVLRI3.mjs";
28
28
  import {
29
29
  __dirname
30
- } from "./chunk-UDNMVPNN.mjs";
30
+ } from "./chunk-W6EAOXRO.mjs";
31
31
 
32
32
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
33
33
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./chunk-UDNMVPNN.mjs";
3
+ } from "./chunk-W6EAOXRO.mjs";
4
4
 
5
5
  // package.json
6
6
  var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.71.153",
10
+ version: "0.71.155",
11
11
  private: false,
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  keywords: [
@@ -132,8 +132,8 @@ var require_package = __commonJS({
132
132
  module: "dist/index.mjs",
133
133
  typings: "dist/index.d.ts",
134
134
  dependencies: {
135
- "@aws-sdk/client-s3": "^3.1048.0",
136
- "@aws-sdk/lib-storage": "^3.1048.0",
135
+ "@aws-sdk/client-s3": "^3.1050.0",
136
+ "@aws-sdk/lib-storage": "^3.1050.0",
137
137
  "@smithy/node-http-handler": "^4.7.3",
138
138
  "@storm-software/config": "workspace:*",
139
139
  "@storm-software/config-tools": "workspace:*",
@@ -152,7 +152,7 @@ var require_package = __commonJS({
152
152
  nx: "catalog:",
153
153
  tsup: "catalog:",
154
154
  untyped: "catalog:",
155
- wrangler: "^4.92.0"
155
+ wrangler: "^4.93.0"
156
156
  },
157
157
  peerDependencies: {
158
158
  nx: ">=22.7.1",
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-K6IEROUB.mjs";
3
+ } from "./chunk-AHKOHSCM.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
7
- } from "./chunk-KY57RNWM.mjs";
7
+ } from "./chunk-JOBVIJOH.mjs";
8
8
  import {
9
9
  brandIcon,
10
10
  getStopwatch,
@@ -13,10 +13,10 @@ import {
13
13
  writeFatal,
14
14
  writeInfo,
15
15
  writeTrace
16
- } from "./chunk-VFIJRSLB.mjs";
16
+ } from "./chunk-OBUVLRI3.mjs";
17
17
  import {
18
18
  __dirname
19
- } from "./chunk-UDNMVPNN.mjs";
19
+ } from "./chunk-W6EAOXRO.mjs";
20
20
 
21
21
  // src/generators/worker/generator.ts
22
22
  import {
@@ -1,10 +1,10 @@
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 _chunkTDU3BHMKjs = require('./chunk-TDU3BHMK.js');
3
+ var _chunkVR5YTYQVjs = require('./chunk-VR5YTYQV.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkEZJRN37Vjs = require('./chunk-EZJRN37V.js');
7
+ var _chunkWROOA5AXjs = require('./chunk-WROOA5AX.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunkEZJRN37Vjs = require('./chunk-EZJRN37V.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkTG6CQVYHjs = require('./chunk-TG6CQVYH.js');
16
+ var _chunkOZPXCCZBjs = require('./chunk-OZPXCCZB.js');
17
17
 
18
18
  // src/generators/worker/generator.ts
19
19
 
@@ -46,23 +46,23 @@ var vitestScript = `"test": "vitest run"`;
46
46
 
47
47
  // src/generators/worker/generator.ts
48
48
  async function applicationGenerator(tree, schema) {
49
- const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "Storm Worker generator");
49
+ const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "Storm Worker generator");
50
50
  let config;
51
51
  try {
52
- const workspaceRoot = _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, );
53
- config = await _chunkEZJRN37Vjs.getConfig.call(void 0, workspaceRoot);
54
- _chunkTG6CQVYHjs.writeInfo.call(void 0,
55
- `${_chunkTG6CQVYHjs.brandIcon.call(void 0, config)} Running the Storm Worker generator...
52
+ const workspaceRoot = _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, );
53
+ config = await _chunkWROOA5AXjs.getConfig.call(void 0, workspaceRoot);
54
+ _chunkOZPXCCZBjs.writeInfo.call(void 0,
55
+ `${_chunkOZPXCCZBjs.brandIcon.call(void 0, config)} Running the Storm Worker generator...
56
56
 
57
57
  `,
58
58
  config
59
59
  );
60
- _chunkTG6CQVYHjs.writeDebug.call(void 0,
60
+ _chunkOZPXCCZBjs.writeDebug.call(void 0,
61
61
  `Loading the Storm Config from environment variables and storm.json file...
62
62
  - workspaceRoot: ${workspaceRoot}`,
63
63
  config
64
64
  );
65
- _chunkTG6CQVYHjs.writeTrace.call(void 0,
65
+ _chunkOZPXCCZBjs.writeTrace.call(void 0,
66
66
  `Loaded Storm config into env:
67
67
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
68
68
  config
@@ -70,7 +70,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
70
70
  const options = await normalizeOptions(tree, schema, config);
71
71
  const tasks = [];
72
72
  tasks.push(
73
- await _chunkTDU3BHMKjs.generator_default.call(void 0, tree, {
73
+ await _chunkVR5YTYQVjs.generator_default.call(void 0, tree, {
74
74
  ...options,
75
75
  skipFormat: true
76
76
  })
@@ -138,11 +138,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
138
138
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
139
139
  } catch (error) {
140
140
  return () => {
141
- _chunkTG6CQVYHjs.writeFatal.call(void 0,
141
+ _chunkOZPXCCZBjs.writeFatal.call(void 0,
142
142
  "A fatal error occurred while running the generator - the process was forced to terminate",
143
143
  config
144
144
  );
145
- _chunkTG6CQVYHjs.writeError.call(void 0,
145
+ _chunkOZPXCCZBjs.writeError.call(void 0,
146
146
  `An exception was thrown in the generator's process
147
147
  - Details: ${error.message}
148
148
  - Stacktrace: ${error.stack}`,
@@ -5,7 +5,7 @@ import {
5
5
  getEncoding,
6
6
  getInternalDependencies,
7
7
  uploadFile
8
- } from "./chunk-QWAXSLJI.mjs";
8
+ } from "./chunk-4F6THJ6M.mjs";
9
9
  import {
10
10
  createCliOptions,
11
11
  getPackageInfo
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  findWorkspaceRoot,
15
15
  getConfig
16
- } from "./chunk-KY57RNWM.mjs";
16
+ } from "./chunk-JOBVIJOH.mjs";
17
17
  import {
18
18
  correctPaths,
19
19
  joinPaths,
@@ -21,7 +21,7 @@ import {
21
21
  writeSuccess,
22
22
  writeTrace,
23
23
  writeWarning
24
- } from "./chunk-VFIJRSLB.mjs";
24
+ } from "./chunk-OBUVLRI3.mjs";
25
25
 
26
26
  // src/executors/r2-upload-publish/executor.ts
27
27
  import {
@@ -5,7 +5,7 @@ var _chunkKUGEZPUOjs = require('./chunk-KUGEZPUO.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkGALZRR4Xjs = require('./chunk-GALZRR4X.js');
8
+ var _chunkJGJLU4ONjs = require('./chunk-JGJLU4ON.js');
9
9
 
10
10
 
11
11
 
@@ -13,7 +13,7 @@ var _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkEZJRN37Vjs = require('./chunk-EZJRN37V.js');
16
+ var _chunkWROOA5AXjs = require('./chunk-WROOA5AX.js');
17
17
 
18
18
 
19
19
 
@@ -21,7 +21,7 @@ var _chunkEZJRN37Vjs = require('./chunk-EZJRN37V.js');
21
21
 
22
22
 
23
23
 
24
- var _chunkTG6CQVYHjs = require('./chunk-TG6CQVYH.js');
24
+ var _chunkOZPXCCZBjs = require('./chunk-OZPXCCZB.js');
25
25
 
26
26
  // src/executors/r2-upload-publish/executor.ts
27
27
 
@@ -53,8 +53,8 @@ async function runExecutor(options, context) {
53
53
  throw new Error("The executor requires projectsConfigurations.");
54
54
  }
55
55
  try {
56
- const workspaceRoot = _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, );
57
- const config = await _chunkEZJRN37Vjs.getConfig.call(void 0, workspaceRoot);
56
+ const workspaceRoot = _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, );
57
+ const config = await _chunkWROOA5AXjs.getConfig.call(void 0, workspaceRoot);
58
58
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.name]), () => ( context.projectName));
59
59
  const projectDetails = _chunkXKQ3HGETjs.getPackageInfo.call(void 0,
60
60
  context.projectsConfigurations.projects[context.projectName]
@@ -92,7 +92,7 @@ async function runExecutor(options, context) {
92
92
  "The executor failed because the project graph is not available. Please run the build command again."
93
93
  );
94
94
  }
95
- _chunkTG6CQVYHjs.writeDebug.call(void 0,
95
+ _chunkOZPXCCZBjs.writeDebug.call(void 0,
96
96
  `Publishing ${context.projectName} to the ${bucketId} R2 Bucket (at ${registry})`
97
97
  );
98
98
  const client = new (0, _clients3.S3Client)({
@@ -108,13 +108,13 @@ async function runExecutor(options, context) {
108
108
  });
109
109
  const version = _optionalChain([projectDetails, 'optionalAccess', _13 => _13.content, 'optionalAccess', _14 => _14.version]);
110
110
  if (version) {
111
- _chunkTG6CQVYHjs.writeDebug.call(void 0, `Starting upload version ${version}`);
111
+ _chunkOZPXCCZBjs.writeDebug.call(void 0, `Starting upload version ${version}`);
112
112
  }
113
113
  const basePath = options.path;
114
- const files = await _glob.glob.call(void 0, _chunkTG6CQVYHjs.joinPaths.call(void 0, basePath, "**/*"), {
114
+ const files = await _glob.glob.call(void 0, _chunkOZPXCCZBjs.joinPaths.call(void 0, basePath, "**/*"), {
115
115
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
116
116
  });
117
- const internalDependencies = await _chunkGALZRR4Xjs.getInternalDependencies.call(void 0,
117
+ const internalDependencies = await _chunkJGJLU4ONjs.getInternalDependencies.call(void 0,
118
118
  context.projectName,
119
119
  projectGraph
120
120
  );
@@ -128,7 +128,7 @@ async function runExecutor(options, context) {
128
128
  }, _nullishCoalesce(_optionalChain([projectDetails, 'optionalAccess', _15 => _15.content, 'access', _16 => _16.dependencies]), () => ( {})));
129
129
  const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
130
130
  if (options.clean === true) {
131
- _chunkTG6CQVYHjs.writeDebug.call(void 0, `Clearing out existing items in ${bucketPath}`);
131
+ _chunkOZPXCCZBjs.writeDebug.call(void 0, `Clearing out existing items in ${bucketPath}`);
132
132
  if (!isDryRun) {
133
133
  const response = await client.send(
134
134
  new (0, _clients3.ListObjectsCommand)({
@@ -137,7 +137,7 @@ async function runExecutor(options, context) {
137
137
  })
138
138
  );
139
139
  if (_optionalChain([response, 'optionalAccess', _17 => _17.Contents]) && response.Contents.length > 0) {
140
- _chunkTG6CQVYHjs.writeTrace.call(void 0,
140
+ _chunkOZPXCCZBjs.writeTrace.call(void 0,
141
141
  `Deleting the following existing items from the R2 bucket path ${bucketPath}: ${response.Contents.map((item) => item.Key).join(", ")}`
142
142
  );
143
143
  await client.send(
@@ -152,12 +152,12 @@ async function runExecutor(options, context) {
152
152
  })
153
153
  );
154
154
  } else {
155
- _chunkTG6CQVYHjs.writeDebug.call(void 0,
155
+ _chunkOZPXCCZBjs.writeDebug.call(void 0,
156
156
  `No existing items to delete in the R2 bucket path ${bucketPath}`
157
157
  );
158
158
  }
159
159
  } else {
160
- _chunkTG6CQVYHjs.writeWarning.call(void 0, "[Dry run]: Skipping R2 bucket clean.");
160
+ _chunkOZPXCCZBjs.writeWarning.call(void 0, "[Dry run]: Skipping R2 bucket clean.");
161
161
  }
162
162
  }
163
163
  if (options.writeMetaJson === true) {
@@ -178,7 +178,7 @@ async function runExecutor(options, context) {
178
178
  if (_optionalChain([projectDetails, 'optionalAccess', _22 => _22.type]) === "package.json") {
179
179
  meta.devDependencies = _optionalChain([projectDetails, 'optionalAccess', _23 => _23.content, 'optionalAccess', _24 => _24.devDependencies]);
180
180
  }
181
- await _chunkGALZRR4Xjs.uploadFile.call(void 0,
181
+ await _chunkJGJLU4ONjs.uploadFile.call(void 0,
182
182
  client,
183
183
  bucketId,
184
184
  bucketPath,
@@ -194,22 +194,22 @@ async function runExecutor(options, context) {
194
194
  if (_optionalChain([_fs.statSync.call(void 0, file, {
195
195
  throwIfNoEntry: false
196
196
  }), 'optionalAccess', _25 => _25.isFile, 'call', _26 => _26()])) {
197
- const name = _chunkTG6CQVYHjs.correctPaths.call(void 0, file).replace(_chunkTG6CQVYHjs.correctPaths.call(void 0, basePath), "");
197
+ const name = _chunkOZPXCCZBjs.correctPaths.call(void 0, file).replace(_chunkOZPXCCZBjs.correctPaths.call(void 0, basePath), "");
198
198
  const type = _mimetypes2.default.lookup(name) || "application/octet-stream";
199
- await _chunkGALZRR4Xjs.uploadFile.call(void 0,
199
+ await _chunkJGJLU4ONjs.uploadFile.call(void 0,
200
200
  client,
201
201
  bucketId,
202
202
  bucketPath,
203
203
  name,
204
204
  version,
205
- await _promises.readFile.call(void 0, file, _chunkGALZRR4Xjs.getEncoding.call(void 0, type)),
205
+ await _promises.readFile.call(void 0, file, _chunkJGJLU4ONjs.getEncoding.call(void 0, type)),
206
206
  type,
207
207
  isDryRun
208
208
  );
209
209
  }
210
210
  })
211
211
  );
212
- _chunkTG6CQVYHjs.writeSuccess.call(void 0,
212
+ _chunkOZPXCCZBjs.writeSuccess.call(void 0,
213
213
  `Successfully uploaded the ${projectName} project to the Cloudflare R2 bucket.`,
214
214
  config
215
215
  );
@@ -3,15 +3,15 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkTG6CQVYHjs = require('./chunk-TG6CQVYH.js');
6
+ var _chunkOZPXCCZBjs = require('./chunk-OZPXCCZB.js');
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  var _libstorage = require('@aws-sdk/lib-storage');
10
10
  var _crypto = require('crypto');
11
11
  var _prettybytes = require('pretty-bytes'); var _prettybytes2 = _interopRequireDefault(_prettybytes);
12
12
  async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
13
- const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunkTG6CQVYHjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
- _chunkTG6CQVYHjs.writeDebug.call(void 0,
13
+ const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunkOZPXCCZBjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
+ _chunkOZPXCCZBjs.writeDebug.call(void 0,
15
15
  `Uploading ${key} (content-type: ${contentType}, size: ${_prettybytes2.default.call(void 0,
16
16
  Buffer.byteLength(fileContent, getEncoding(contentType))
17
17
  )}) to the ${bucketName} R2 bucket`
@@ -33,10 +33,10 @@ async function uploadFile(client, bucketName, bucketPath, fileName, version, fil
33
33
  });
34
34
  await upload.done();
35
35
  } else {
36
- _chunkTG6CQVYHjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
36
+ _chunkOZPXCCZBjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
37
37
  }
38
38
  } catch (error) {
39
- _chunkTG6CQVYHjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
39
+ _chunkOZPXCCZBjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
40
40
  throw error;
41
41
  }
42
42
  }
@@ -7,7 +7,7 @@ import {
7
7
  joinPaths,
8
8
  writeTrace,
9
9
  writeWarning
10
- } from "./chunk-VFIJRSLB.mjs";
10
+ } from "./chunk-OBUVLRI3.mjs";
11
11
 
12
12
  // ../config-tools/src/utilities/find-up.ts
13
13
  import { existsSync } from "node:fs";
@@ -353,7 +353,9 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
353
353
  const skip = options.skip ?? [];
354
354
  const sort = options.sort ?? true;
355
355
  return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
356
- ${message.map(
356
+ ${message.sort(
357
+ sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
358
+ ).map(
357
359
  (item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
358
360
  item,
359
361
  { prefix: `${prefix}--`, skip, sort },
@@ -361,12 +363,12 @@ ${message.map(
361
363
  )}`
362
364
  ).join("\n")}` : typeof message === "object" ? `
363
365
  ${Object.keys(message).filter(
364
- (key) => !skip.map((k) => k.toLowerCase()).includes(typeof key === "string" ? key.toLowerCase() : key)
365
- ).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
366
+ (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
367
+ ).sort(
368
+ sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
369
+ ).map(
366
370
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
367
- (key2) => !skip.map((k) => k.toLowerCase()).includes(
368
- typeof key2 === "string" ? key2.toLowerCase() : key2
369
- )
371
+ (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
370
372
  ).length === 0 ? "{}" : formatLogMessage(
371
373
  message[key],
372
374
  { prefix: `${prefix}--`, skip, sort },
@@ -353,7 +353,9 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
353
353
  const skip = _nullishCoalesce(options.skip, () => ( []));
354
354
  const sort = _nullishCoalesce(options.sort, () => ( true));
355
355
  return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
356
- ${message.map(
356
+ ${message.sort(
357
+ sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
358
+ ).map(
357
359
  (item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
358
360
  item,
359
361
  { prefix: `${prefix}--`, skip, sort },
@@ -361,12 +363,12 @@ ${message.map(
361
363
  )}`
362
364
  ).join("\n")}` : typeof message === "object" ? `
363
365
  ${Object.keys(message).filter(
364
- (key) => !skip.map((k) => k.toLowerCase()).includes(typeof key === "string" ? key.toLowerCase() : key)
365
- ).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
366
+ (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
367
+ ).sort(
368
+ sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
369
+ ).map(
366
370
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
367
- (key2) => !skip.map((k) => k.toLowerCase()).includes(
368
- typeof key2 === "string" ? key2.toLowerCase() : key2
369
- )
371
+ (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
370
372
  ).length === 0 ? "{}" : formatLogMessage(
371
373
  message[key],
372
374
  { prefix: `${prefix}--`, skip, sort },
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F5RW4AZL.mjs";
4
4
  import {
5
5
  __require
6
- } from "./chunk-UDNMVPNN.mjs";
6
+ } from "./chunk-W6EAOXRO.mjs";
7
7
 
8
8
  // src/executors/cloudflare-publish/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -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.71.153",
10
+ version: "0.71.155",
11
11
  private: false,
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  keywords: [
@@ -132,8 +132,8 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
132
132
  module: "dist/index.mjs",
133
133
  typings: "dist/index.d.ts",
134
134
  dependencies: {
135
- "@aws-sdk/client-s3": "^3.1048.0",
136
- "@aws-sdk/lib-storage": "^3.1048.0",
135
+ "@aws-sdk/client-s3": "^3.1050.0",
136
+ "@aws-sdk/lib-storage": "^3.1050.0",
137
137
  "@smithy/node-http-handler": "^4.7.3",
138
138
  "@storm-software/config": "workspace:*",
139
139
  "@storm-software/config-tools": "workspace:*",
@@ -152,7 +152,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
152
152
  nx: "catalog:",
153
153
  tsup: "catalog:",
154
154
  untyped: "catalog:",
155
- wrangler: "^4.92.0"
155
+ wrangler: "^4.93.0"
156
156
  },
157
157
  peerDependencies: {
158
158
  nx: ">=22.7.1",
@@ -9,7 +9,7 @@ var __commonJS = (cb, mod) => function __require2() {
9
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
10
  };
11
11
 
12
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__17f35255c9b2c5d65e514e3b165d24e6/node_modules/tsup/assets/esm_shims.js
12
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b287391bfb89dd26f0e4843187079e1f/node_modules/tsup/assets/esm_shims.js
13
13
  import { fileURLToPath } from "url";
14
14
  import path from "path";
15
15
  var getFilename = () => fileURLToPath(import.meta.url);