@storm-software/cloudflare-tools 0.71.153 → 0.71.155

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 +16 -0
  2. package/dist/{chunk-K4D2NWTO.mjs → chunk-4F6THJ6M.mjs} +1 -1
  3. package/dist/{chunk-KL5C3VV5.mjs → chunk-5JUN4HP7.mjs} +3 -3
  4. package/dist/{chunk-XHI7ILYM.js → chunk-7TJ3BB3E.js} +13 -13
  5. package/dist/{chunk-GBAQZXOC.mjs → chunk-BCWVCXNF.mjs} +5 -5
  6. package/dist/{chunk-56OP4OFW.mjs → chunk-H76OW7DW.mjs} +4 -4
  7. package/dist/{chunk-Y32M5VSJ.mjs → chunk-HUK6LVIA.mjs} +3 -3
  8. package/dist/{chunk-2KWLPZPX.js → chunk-JGIGFUYD.js} +18 -18
  9. package/dist/{chunk-TT6DDULS.js → chunk-JGJLU4ON.js} +5 -5
  10. package/dist/{chunk-A5I4SIQC.mjs → chunk-JOBVIJOH.mjs} +1 -1
  11. package/dist/{chunk-LB7EYNM5.js → chunk-O2I3LZZ2.js} +4 -4
  12. package/dist/{chunk-D6LBIKKD.mjs → chunk-OBUVLRI3.mjs} +9 -3
  13. package/dist/{chunk-KWEPWMPW.js → chunk-OZPXCCZB.js} +9 -3
  14. package/dist/{chunk-ACZXAB5V.mjs → chunk-VJL36SFQ.mjs} +1 -1
  15. package/dist/{chunk-UDNMVPNN.mjs → chunk-W6EAOXRO.mjs} +1 -1
  16. package/dist/{chunk-4XJ24NCI.js → chunk-WROOA5AX.js} +34 -34
  17. package/dist/{chunk-T2PQY64N.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,22 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.71.154](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.154) (05/16/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **workspace-tools** to **v1.295.80**
10
+ - Updated **config-tools** to **v1.190.20**
11
+ - Updated **config** to **v1.137.52**
12
+
13
+ ## [0.71.153](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.153) (05/16/2026)
14
+
15
+ ### Updated Dependencies
16
+
17
+ - Updated **workspace-tools** to **v1.295.79**
18
+ - Updated **config-tools** to **v1.190.19**
19
+ - Updated **config** to **v1.137.51**
20
+
5
21
  ## [0.71.152](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.152) (05/15/2026)
6
22
 
7
23
  ### Updated Dependencies
@@ -3,7 +3,7 @@ import {
3
3
  writeDebug,
4
4
  writeError,
5
5
  writeWarning
6
- } from "./chunk-D6LBIKKD.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-A5I4SIQC.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-D6LBIKKD.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,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 _chunkLB7EYNM5js = require('./chunk-LB7EYNM5.js');
3
+ var _chunkO2I3LZZ2js = require('./chunk-O2I3LZZ2.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk4XJ24NCIjs = require('./chunk-4XJ24NCI.js');
7
+ var _chunkWROOA5AXjs = require('./chunk-WROOA5AX.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunk4XJ24NCIjs = require('./chunk-4XJ24NCI.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkKWEPWMPWjs = require('./chunk-KWEPWMPW.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 = _chunkKWEPWMPWjs.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 = _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, );
53
- config = await _chunk4XJ24NCIjs.getConfig.call(void 0, workspaceRoot);
54
- _chunkKWEPWMPWjs.writeInfo.call(void 0,
55
- `${_chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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 _chunkLB7EYNM5js.generator_default.call(void 0, tree, {
73
+ await _chunkO2I3LZZ2js.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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}`,
@@ -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.152",
10
+ version: "0.71.154",
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-GBAQZXOC.mjs";
3
+ } from "./chunk-BCWVCXNF.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
7
- } from "./chunk-A5I4SIQC.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-D6LBIKKD.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 {
@@ -5,7 +5,7 @@ import {
5
5
  getEncoding,
6
6
  getInternalDependencies,
7
7
  uploadFile
8
- } from "./chunk-K4D2NWTO.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-A5I4SIQC.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-D6LBIKKD.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 _chunkTT6DDULSjs = require('./chunk-TT6DDULS.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 _chunk4XJ24NCIjs = require('./chunk-4XJ24NCI.js');
16
+ var _chunkWROOA5AXjs = require('./chunk-WROOA5AX.js');
17
17
 
18
18
 
19
19
 
@@ -21,7 +21,7 @@ var _chunk4XJ24NCIjs = require('./chunk-4XJ24NCI.js');
21
21
 
22
22
 
23
23
 
24
- var _chunkKWEPWMPWjs = require('./chunk-KWEPWMPW.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 = _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, );
57
- const config = await _chunk4XJ24NCIjs.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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, _chunkKWEPWMPWjs.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 _chunkTT6DDULSjs.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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 _chunkTT6DDULSjs.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 = _chunkKWEPWMPWjs.correctPaths.call(void 0, file).replace(_chunkKWEPWMPWjs.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 _chunkTT6DDULSjs.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, _chunkTT6DDULSjs.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
- _chunkKWEPWMPWjs.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 _chunkKWEPWMPWjs = require('./chunk-KWEPWMPW.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 : _chunkKWEPWMPWjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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
- _chunkKWEPWMPWjs.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-D6LBIKKD.mjs";
10
+ } from "./chunk-OBUVLRI3.mjs";
11
11
 
12
12
  // ../config-tools/src/utilities/find-up.ts
13
13
  import { existsSync } from "node:fs";
@@ -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.152",
10
+ version: "0.71.154",
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",
@@ -353,16 +353,22 @@ 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 },
360
362
  depth + 1
361
363
  )}`
362
364
  ).join("\n")}` : typeof message === "object" ? `
363
- ${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
365
+ ${Object.keys(message).filter(
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(
364
370
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
365
- (key2) => !skip.includes(key2)
371
+ (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
366
372
  ).length === 0 ? "{}" : formatLogMessage(
367
373
  message[key],
368
374
  { prefix: `${prefix}--`, skip, sort },
@@ -353,16 +353,22 @@ 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 },
360
362
  depth + 1
361
363
  )}`
362
364
  ).join("\n")}` : typeof message === "object" ? `
363
- ${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
365
+ ${Object.keys(message).filter(
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(
364
370
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
365
- (key2) => !skip.includes(key2)
371
+ (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
366
372
  ).length === 0 ? "{}" : formatLogMessage(
367
373
  message[key],
368
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";
@@ -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);